This is a first step to support GCC. This patch adds support for builtin and feature detection.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D139712
[libc] Add compiler, builtin and feature detection ClosedPublic Authored by gchatelet on Dec 9 2022, 6:31 AM.
Details Summary This is a first step to support GCC. This patch adds support for builtin and feature detection.
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptDec 9 2022, 6:31 AM
sivachandra added inline comments.
This revision is now accepted and ready to land.Dec 12 2022, 9:09 AM This revision was landed with ongoing or failed builds.Dec 13 2022, 5:01 AM Closed by commit rGf52ca0926cf9: [libc] Add compiler, builtin and feature detection (authored by gchatelet). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 482430 libc/src/__support/CMakeLists.txt
libc/src/__support/CPP/CMakeLists.txt
libc/src/__support/CPP/bit.h
libc/src/__support/FPUtil/CMakeLists.txt
libc/src/__support/builtin_wrappers.h
libc/src/__support/compiler_features.h
libc/src/__support/sanitizer.h
libc/src/string/memory_utils/CMakeLists.txt
libc/src/string/memory_utils/utils.h
libc/src/string/stpcpy.cpp
libc/test/src/string/memory_utils/CMakeLists.txt
libc/test/src/string/memory_utils/memory_check_utils.h
utils/bazel/llvm-project-overlay/libc/BUILD.bazel
|
We may want to put this into its own header_library.