File tree 2 files changed +8
-0
lines changed
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ const OPTIONAL_COMPONENTS: &[&str] = &[
23
23
"nvptx" ,
24
24
"hexagon" ,
25
25
"riscv" ,
26
+ "xtensa" ,
26
27
"bpf" ,
27
28
] ;
28
29
Original file line number Diff line number Diff line change @@ -155,6 +155,12 @@ extern "C" void LLVMRustTimeTraceProfilerFinish(const char* FileName) {
155
155
#define SUBTARGET_SPARC
156
156
#endif
157
157
158
+ #ifdef LLVM_COMPONENT_XTENSA
159
+ #define SUBTARGET_XTENSA SUBTARGET (XTENSA)
160
+ #else
161
+ #define SUBTARGET_XTENSA
162
+ #endif
163
+
158
164
#ifdef LLVM_COMPONENT_HEXAGON
159
165
#define SUBTARGET_HEXAGON SUBTARGET (Hexagon)
160
166
#else
@@ -180,6 +186,7 @@ extern "C" void LLVMRustTimeTraceProfilerFinish(const char* FileName) {
180
186
SUBTARGET_MSP430 \
181
187
SUBTARGET_SPARC \
182
188
SUBTARGET_HEXAGON \
189
+ SUBTARGET_XTENSA \
183
190
SUBTARGET_RISCV \
184
191
SUBTARGET_LOONGARCH \
185
192
You can’t perform that action at this time.
0 commit comments