Skip to content

Commit b72e160

Browse files
committed
Revert "[builtins] Refactor cpu_model support to reduce #if nesting. NFCI"
This reverts commit 025d048. It broke one of the sanitizer bots: https://lab.llvm.org/buildbot/#/builders/240/builds/20666
1 parent b8b40e2 commit b72e160

File tree

14 files changed

+618
-745
lines changed

14 files changed

+618
-745
lines changed

compiler-rt/lib/builtins/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ endif()
271271

272272
# These files are used on 32-bit and 64-bit x86.
273273
set(x86_ARCH_SOURCES
274-
cpu_model/x86.c
274+
cpu_model.c
275275
)
276276

277277
if (NOT MSVC)
@@ -556,7 +556,7 @@ endif()
556556
set(aarch64_SOURCES
557557
${GENERIC_TF_SOURCES}
558558
${GENERIC_SOURCES}
559-
cpu_model/aarch64.c
559+
cpu_model.c
560560
aarch64/fp_mode.c
561561
)
562562

0 commit comments

Comments
 (0)