aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ExecutionEngine/SectionMemoryManager.cpp
diff options
context:
space:
mode:
authorLeonard Chan <leonardchan@google.com>2021-09-16 17:03:32 -0700
committerLeonard Chan <leonardchan@google.com>2021-09-16 17:04:55 -0700
commit47373f94a431d7fcc78c760ca6ca321f3742b746 (patch)
tree81aa1f6960c086b068014eb0453b6c8baf001696 /llvm/lib/ExecutionEngine/SectionMemoryManager.cpp
parenta9a6cdc1bdc0beeb55129e2b502b7c73101e139a (diff)
downloadllvm-47373f94a431d7fcc78c760ca6ca321f3742b746.zip
llvm-47373f94a431d7fcc78c760ca6ca321f3742b746.tar.gz
llvm-47373f94a431d7fcc78c760ca6ca321f3742b746.tar.bz2
[compiler-rt][test] Add int128 requirement to TestCases/Misc/Linux/static-link.cpp
We hit some undefined symbol errors to 128-bit floating point functions when linking this test. ld.lld: error: undefined symbol: __multf3 >>> referenced by strtof128_l.o:(round_and_return) in archive /usr/lib/x86_64-linux-gnu/libc.a >>> referenced by strtof128_l.o:(round_and_return) in archive /usr/lib/x86_64-linux-gnu/libc.a >>> referenced by strtof128_l.o:(round_and_return) in archive /usr/lib/x86_64-linux-gnu/libc.a >>> referenced 4 more times >>> did you mean: __muldf3 >>> defined in: /usr/local/google/home/leonardchan/llvm-monorepo/llvm-build-1-master-fuchsia-toolchain/lib/clang/14.0.0/lib/x86_64-unknown-linux-gnu/libclang_rt.builtins.a Host libc expects these to be defined, and compiler-rt will only define these for certain platforms (see definition for CRT_LDBL_128BIT). Since we likely can't do anything about the host libc, we can at least restrict the test to check that these functions are supported. Differential Revision: https://reviews.llvm.org/D109709
Diffstat (limited to 'llvm/lib/ExecutionEngine/SectionMemoryManager.cpp')
0 files changed, 0 insertions, 0 deletions