aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp
diff options
context:
space:
mode:
authorRaul Tambre <raul@tambre.ee>2024-11-27 00:14:00 +0200
committerGitHub <noreply@github.com>2024-11-27 00:14:00 +0200
commit003b48e0cbbb69a9a1ca9ff1a6d3bda30d0c6121 (patch)
tree5f3a58d74db0d198e6914d31e5a71c7a9fd4a088 /llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp
parent8458bbe5947db75041579c7c1a0f7f79c8e992d9 (diff)
downloadllvm-003b48e0cbbb69a9a1ca9ff1a6d3bda30d0c6121.zip
llvm-003b48e0cbbb69a9a1ca9ff1a6d3bda30d0c6121.tar.gz
llvm-003b48e0cbbb69a9a1ca9ff1a6d3bda30d0c6121.tar.bz2
[BOLT][test] enable GNU extensions, use C++ compiler, remove unnecessary target (#117043)
1. With a Clang that doesn't default to GNU extensions they need to be enabled explicitly. 2. The X86 directory lit config sets it already, there's no reason for this test to do it by itself. 3. The C frontend executable will fail if there's for example a Clang resource file for the C++ mode that sets C++-specific options: ``` + /home/tambre/dev/llvm/build/bin/clang --target=x86_64-unknown-linux-gnu -fPIE -fuse-ld=lld -Wl,--unresolved-symbols=ignore-all -pie -fPIC -shared /home/tambre/dev/llvm/bolt/test/R_ABS.pic.lld.cpp -o /home/tambre/dev/llvm/build/tools/bolt/test/Output/R_ABS.pic.lld.cpp.tmp.so -Wl,-q -fuse-ld=lld clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument] error: invalid argument '-std=c23' not allowed with 'C++' ```
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp')
0 files changed, 0 insertions, 0 deletions