summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2023-07-17 16:42:11 -0700
committerFangrui Song <i@maskray.me>2023-07-17 16:42:11 -0700
commit8f90a5cc45db3267dbc512d512dcb9e4e9193c9c (patch)
treead408bc8d09e94f5ec8cf2d26286e719258c13c9 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentcd69b0cc88bccf80e11c6d95255139b5db62b17c (diff)
[llvm-exegesis] Guard __builtin_thread_pointer use with __has_builtin
While Clang targets have supported __builtin_thread_pointer for a very long time (e.g., 2007 for AArch32, 2015 for AArch64), for some GCC ports, the support is very new (11.0 for x86[1], while we need to support GCC 7), and many ports haven't implemented __builtin_thread_pointer yet (m68k, powerpc, etc). [1]: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96955
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions