[lld] [llvm] [NFCI][LTO][lld] Optimize away symbol copies within LTO global resolution in ELF (PR #106193)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 8 18:33:38 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `sanitizer-aarch64-linux-bootstrap-asan` running on `sanitizer-buildbot7` while building `lld,llvm` at step 2 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/24/builds/1358
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/main.py:72: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 82135 of 82136 tests, 48 workers --
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
FAIL: lld :: ELF/lto/asmundef.ll (80773 of 82135)
******************** TEST 'lld :: ELF/lto/asmundef.ll' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 2: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/llvm-as /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/lld/test/ELF/lto/asmundef.ll -o /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/tools/lld/test/ELF/lto/Output/asmundef.ll.tmp.o
+ /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/llvm-as /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/lld/test/ELF/lto/asmundef.ll -o /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/tools/lld/test/ELF/lto/Output/asmundef.ll.tmp.o
RUN: at line 3: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/llvm-as /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/lld/test/ELF/lto/Inputs/asmundef.ll -o /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/tools/lld/test/ELF/lto/Output/asmundef.ll.tmp2.o
+ /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/llvm-as /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/lld/test/ELF/lto/Inputs/asmundef.ll -o /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/tools/lld/test/ELF/lto/Output/asmundef.ll.tmp2.o
RUN: at line 4: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/ld.lld /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/tools/lld/test/ELF/lto/Output/asmundef.ll.tmp.o /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/tools/lld/test/ELF/lto/Output/asmundef.ll.tmp2.o -o /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/tools/lld/test/ELF/lto/Output/asmundef.ll.tmp -save-temps
+ /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/ld.lld /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/tools/lld/test/ELF/lto/Output/asmundef.ll.tmp.o /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/tools/lld/test/ELF/lto/Output/asmundef.ll.tmp2.o -o /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/tools/lld/test/ELF/lto/Output/asmundef.ll.tmp -save-temps
=================================================================
==3271689==ERROR: AddressSanitizer: heap-use-after-free on address 0xe89152a2483f at pc 0xb5003e625644 bp 0xffffe05aaa20 sp 0xffffe05aa208
READ of size 8 at 0xe89152a2483f thread T0
#0 0xb5003e625640 in MemcmpInterceptorCommon(void*, int (*)(void const*, void const*, unsigned long), void const*, void const*, unsigned long) /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_interceptors.inc:814:7
#1 0xb5003e6259dc in bcmp /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_interceptors.inc:859:10
#2 0xb5004338ab70 in operator== /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/include/llvm/ADT/StringRef.h:883:12
#3 0xb5004338ab70 in isEqual /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/include/llvm/ADT/StringRef.h:932:18
#4 0xb5004338ab70 in bool llvm::DenseMapBase<llvm::DenseMap<llvm::StringRef, llvm::lto::LTO::GlobalResolution, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, llvm::lto::LTO::GlobalResolution>>, llvm::StringRef, llvm::lto::LTO::GlobalResolution, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, llvm::lto::LTO::GlobalResolution>>::LookupBucketFor<llvm::StringRef>(llvm::StringRef const&, llvm::detail::DenseMapPair<llvm::StringRef, llvm::lto::LTO::GlobalResolution>*&) /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/include/llvm/ADT/DenseMap.h:704:11
#5 0xb5004336fe60 in operator[] /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/include/llvm/ADT/DenseMap.h:368:9
#6 0xb5004336fe60 in llvm::lto::LTO::addModuleToGlobalRes(llvm::ArrayRef<llvm::lto::InputFile::Symbol>, llvm::ArrayRef<llvm::lto::SymbolResolution>, unsigned int, bool) /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/lib/LTO/LTO.cpp:624:23
#7 0xb50043371818 in llvm::lto::LTO::addModule(llvm::lto::InputFile&, unsigned int, llvm::lto::SymbolResolution const*&, llvm::lto::SymbolResolution const*) /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/lib/LTO/LTO.cpp:763:3
#8 0xb5004337104c in llvm::lto::LTO::add(std::__1::unique_ptr<llvm::lto::InputFile, std::__1::default_delete<llvm::lto::InputFile>>, llvm::ArrayRef<llvm::lto::SymbolResolution>) /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/lib/LTO/LTO.cpp:725:21
#9 0xb5003ecce938 in lld::elf::BitcodeCompiler::add(lld::elf::BitcodeFile&) /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/lld/ELF/LTO.cpp:277:22
#10 0xb5003eb0a2f4 in void lld::elf::LinkerDriver::compileBitcodeFiles<llvm::object::ELFType<(llvm::endianness)1, true>>(bool) /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/lld/ELF/Driver.cpp:2521:10
#11 0xb5003eac3ac0 in void lld::elf::LinkerDriver::link<llvm::object::ELFType<(llvm::endianness)1, true>>(llvm::opt::InputArgList&) /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/lld/ELF/Driver.cpp:2995:3
#12 0xb5003ea9c444 in lld::elf::LinkerDriver::linkerMain(llvm::ArrayRef<char const*>) /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/lld/ELF/Driver.cpp:697:5
#13 0xb5003ea9907c in lld::elf::link(llvm::ArrayRef<char const*>, llvm::raw_ostream&, llvm::raw_ostream&, bool, bool) /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/lld/ELF/Driver.cpp:175:19
#14 0xb5003e86dbac in lld::unsafeLldMain(llvm::ArrayRef<char const*>, llvm::raw_ostream&, llvm::raw_ostream&, llvm::ArrayRef<lld::DriverDef>, bool) /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/lld/Common/DriverDispatcher.cpp:164:12
#15 0xb5003e86e95c in operator() /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/lld/Common/DriverDispatcher.cpp:189:15
#16 0xb5003e86e95c in void llvm::function_ref<void ()>::callback_fn<lld::lldMain(llvm::ArrayRef<char const*>, llvm::raw_ostream&, llvm::raw_ostream&, llvm::ArrayRef<lld::DriverDef>)::$_0>(long) /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:45:12
#17 0xb5003e725fc4 in operator() /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:68:12
#18 0xb5003e725fc4 in llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:426:3
#19 0xb5003e86e350 in lld::lldMain(llvm::ArrayRef<char const*>, llvm::raw_ostream&, llvm::raw_ostream&, llvm::ArrayRef<lld::DriverDef>) /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/lld/Common/DriverDispatcher.cpp:188:14
#20 0xb5003e6e9a98 in lld_main(int, char**, llvm::ToolContext const&) /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/lld/tools/lld/lld.cpp:103:14
#21 0xb5003e6eaca4 in main /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/tools/lld/tools/lld/lld-driver.cpp:17:10
#22 0xebc1560684c0 (/lib/aarch64-linux-gnu/libc.so.6+0x284c0) (BuildId: 32fa4d6f3a8d5f430bdb7af2eb779470cd5ec7c2)
#23 0xebc156068594 in __libc_start_main (/lib/aarch64-linux-gnu/libc.so.6+0x28594) (BuildId: 32fa4d6f3a8d5f430bdb7af2eb779470cd5ec7c2)
Step 10 (stage2/asan check) failure: stage2/asan check (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/main.py:72: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 82135 of 82136 tests, 48 workers --
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
FAIL: lld :: ELF/lto/asmundef.ll (80773 of 82135)
******************** TEST 'lld :: ELF/lto/asmundef.ll' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 2: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/llvm-as /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/lld/test/ELF/lto/asmundef.ll -o /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/tools/lld/test/ELF/lto/Output/asmundef.ll.tmp.o
+ /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/llvm-as /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/lld/test/ELF/lto/asmundef.ll -o /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/tools/lld/test/ELF/lto/Output/asmundef.ll.tmp.o
RUN: at line 3: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/llvm-as /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/lld/test/ELF/lto/Inputs/asmundef.ll -o /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/tools/lld/test/ELF/lto/Output/asmundef.ll.tmp2.o
+ /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/llvm-as /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/lld/test/ELF/lto/Inputs/asmundef.ll -o /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/tools/lld/test/ELF/lto/Output/asmundef.ll.tmp2.o
RUN: at line 4: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/ld.lld /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/tools/lld/test/ELF/lto/Output/asmundef.ll.tmp.o /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/tools/lld/test/ELF/lto/Output/asmundef.ll.tmp2.o -o /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/tools/lld/test/ELF/lto/Output/asmundef.ll.tmp -save-temps
+ /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/ld.lld /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/tools/lld/test/ELF/lto/Output/asmundef.ll.tmp.o /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/tools/lld/test/ELF/lto/Output/asmundef.ll.tmp2.o -o /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/tools/lld/test/ELF/lto/Output/asmundef.ll.tmp -save-temps
=================================================================
==3271689==ERROR: AddressSanitizer: heap-use-after-free on address 0xe89152a2483f at pc 0xb5003e625644 bp 0xffffe05aaa20 sp 0xffffe05aa208
READ of size 8 at 0xe89152a2483f thread T0
#0 0xb5003e625640 in MemcmpInterceptorCommon(void*, int (*)(void const*, void const*, unsigned long), void const*, void const*, unsigned long) /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_interceptors.inc:814:7
#1 0xb5003e6259dc in bcmp /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_interceptors.inc:859:10
#2 0xb5004338ab70 in operator== /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/include/llvm/ADT/StringRef.h:883:12
#3 0xb5004338ab70 in isEqual /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/include/llvm/ADT/StringRef.h:932:18
#4 0xb5004338ab70 in bool llvm::DenseMapBase<llvm::DenseMap<llvm::StringRef, llvm::lto::LTO::GlobalResolution, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, llvm::lto::LTO::GlobalResolution>>, llvm::StringRef, llvm::lto::LTO::GlobalResolution, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, llvm::lto::LTO::GlobalResolution>>::LookupBucketFor<llvm::StringRef>(llvm::StringRef const&, llvm::detail::DenseMapPair<llvm::StringRef, llvm::lto::LTO::GlobalResolution>*&) /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/include/llvm/ADT/DenseMap.h:704:11
#5 0xb5004336fe60 in operator[] /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/include/llvm/ADT/DenseMap.h:368:9
#6 0xb5004336fe60 in llvm::lto::LTO::addModuleToGlobalRes(llvm::ArrayRef<llvm::lto::InputFile::Symbol>, llvm::ArrayRef<llvm::lto::SymbolResolution>, unsigned int, bool) /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/lib/LTO/LTO.cpp:624:23
#7 0xb50043371818 in llvm::lto::LTO::addModule(llvm::lto::InputFile&, unsigned int, llvm::lto::SymbolResolution const*&, llvm::lto::SymbolResolution const*) /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/lib/LTO/LTO.cpp:763:3
#8 0xb5004337104c in llvm::lto::LTO::add(std::__1::unique_ptr<llvm::lto::InputFile, std::__1::default_delete<llvm::lto::InputFile>>, llvm::ArrayRef<llvm::lto::SymbolResolution>) /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/lib/LTO/LTO.cpp:725:21
#9 0xb5003ecce938 in lld::elf::BitcodeCompiler::add(lld::elf::BitcodeFile&) /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/lld/ELF/LTO.cpp:277:22
#10 0xb5003eb0a2f4 in void lld::elf::LinkerDriver::compileBitcodeFiles<llvm::object::ELFType<(llvm::endianness)1, true>>(bool) /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/lld/ELF/Driver.cpp:2521:10
#11 0xb5003eac3ac0 in void lld::elf::LinkerDriver::link<llvm::object::ELFType<(llvm::endianness)1, true>>(llvm::opt::InputArgList&) /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/lld/ELF/Driver.cpp:2995:3
#12 0xb5003ea9c444 in lld::elf::LinkerDriver::linkerMain(llvm::ArrayRef<char const*>) /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/lld/ELF/Driver.cpp:697:5
#13 0xb5003ea9907c in lld::elf::link(llvm::ArrayRef<char const*>, llvm::raw_ostream&, llvm::raw_ostream&, bool, bool) /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/lld/ELF/Driver.cpp:175:19
#14 0xb5003e86dbac in lld::unsafeLldMain(llvm::ArrayRef<char const*>, llvm::raw_ostream&, llvm::raw_ostream&, llvm::ArrayRef<lld::DriverDef>, bool) /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/lld/Common/DriverDispatcher.cpp:164:12
#15 0xb5003e86e95c in operator() /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/lld/Common/DriverDispatcher.cpp:189:15
#16 0xb5003e86e95c in void llvm::function_ref<void ()>::callback_fn<lld::lldMain(llvm::ArrayRef<char const*>, llvm::raw_ostream&, llvm::raw_ostream&, llvm::ArrayRef<lld::DriverDef>)::$_0>(long) /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:45:12
#17 0xb5003e725fc4 in operator() /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:68:12
#18 0xb5003e725fc4 in llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:426:3
#19 0xb5003e86e350 in lld::lldMain(llvm::ArrayRef<char const*>, llvm::raw_ostream&, llvm::raw_ostream&, llvm::ArrayRef<lld::DriverDef>) /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/lld/Common/DriverDispatcher.cpp:188:14
#20 0xb5003e6e9a98 in lld_main(int, char**, llvm::ToolContext const&) /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/lld/tools/lld/lld.cpp:103:14
#21 0xb5003e6eaca4 in main /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/tools/lld/tools/lld/lld-driver.cpp:17:10
#22 0xebc1560684c0 (/lib/aarch64-linux-gnu/libc.so.6+0x284c0) (BuildId: 32fa4d6f3a8d5f430bdb7af2eb779470cd5ec7c2)
#23 0xebc156068594 in __libc_start_main (/lib/aarch64-linux-gnu/libc.so.6+0x28594) (BuildId: 32fa4d6f3a8d5f430bdb7af2eb779470cd5ec7c2)
```
</details>
https://github.com/llvm/llvm-project/pull/106193
More information about the llvm-commits
mailing list