Since Xcode 13, ld64 requires linking libSystem for all the executable.
Fix the tests that needs to run ld64 by linking libSystem from sysroot.
rdar://77332728
Paths
| Differential D104332
[llvm] Fix lto tests that requires ld64 ClosedPublic Authored by steven_wu on Jun 15 2021, 4:18 PM.
Details
Summary Since Xcode 13, ld64 requires linking libSystem for all the executable. rdar://77332728
Diff Detail
Event TimelineHerald added subscribers: ormris, ributzka, hiraditya, inglorion. · View Herald TranscriptJun 15 2021, 4:18 PM This revision is now accepted and ready to land.Jun 16 2021, 10:09 AM Closed by commit rGc747b7d1d9a2: [llvm] Fix lto tests that requires ld64 (authored by steven_wu). · Explain WhyJun 22 2021, 9:22 AM This revision was automatically updated to reflect the committed changes. Comment Actions FYI: This adds an absolute path to the generated lit.site.cfg.py. We made it possible to build on one machine and then run tests on another machine a while ago (…as long as your build dir is below your checkout dir), and this breaks that. I tried to fix this up in dedeb661911188a.
Revision Contents
Diff 353673 llvm/test/lit.cfg.py
llvm/test/lit.site.cfg.py.in
llvm/test/tools/lto/hide-linkonce-odr.ll
llvm/test/tools/lto/no-bitcode.s
llvm/test/tools/lto/opt-level.ll
llvm/test/tools/lto/print-stats.ll
|