llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder 
`sanitizer-aarch64-linux-bootstrap-asan` running on `sanitizer-buildbot7` while 
building `clang-tools-extra` at step 2 "annotate".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/24/builds/4104

<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: 85831 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 
FAIL: LLVM :: ExecutionEngine/JITLink/x86-64/MachO_weak_references.s (52397 of 
85831)
******************** TEST 'LLVM :: 
ExecutionEngine/JITLink/x86-64/MachO_weak_references.s' FAILED 
********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: rm -rf 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/test/ExecutionEngine/JITLink/x86-64/Output/MachO_weak_references.s.tmp
 && mkdir -p 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/test/ExecutionEngine/JITLink/x86-64/Output/MachO_weak_references.s.tmp
+ rm -rf 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/test/ExecutionEngine/JITLink/x86-64/Output/MachO_weak_references.s.tmp
+ mkdir -p 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/test/ExecutionEngine/JITLink/x86-64/Output/MachO_weak_references.s.tmp
RUN: at line 2: 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/llvm-mc
 -triple=x86_64-apple-macosx10.9 -filetype=obj -o 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/test/ExecutionEngine/JITLink/x86-64/Output/MachO_weak_references.s.tmp/macho_weak_refs.o
 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/ExecutionEngine/JITLink/x86-64/MachO_weak_references.s
+ 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/llvm-mc
 -triple=x86_64-apple-macosx10.9 -filetype=obj -o 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/test/ExecutionEngine/JITLink/x86-64/Output/MachO_weak_references.s.tmp/macho_weak_refs.o
 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/ExecutionEngine/JITLink/x86-64/MachO_weak_references.s
RUN: at line 3: 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/llvm-jitlink
 -noexec -check-name=jitlink-check-bar-present -abs bar=0x1 
-check=/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/ExecutionEngine/JITLink/x86-64/MachO_weak_references.s
 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/test/ExecutionEngine/JITLink/x86-64/Output/MachO_weak_references.s.tmp/macho_weak_refs.o
+ 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/llvm-jitlink
 -noexec -check-name=jitlink-check-bar-present -abs bar=0x1 
-check=/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/ExecutionEngine/JITLink/x86-64/MachO_weak_references.s
 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/test/ExecutionEngine/JITLink/x86-64/Output/MachO_weak_references.s.tmp/macho_weak_refs.o
RUN: at line 4: 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/llvm-jitlink
 -noexec -check-name=jitlink-check-bar-absent 
-check=/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/ExecutionEngine/JITLink/x86-64/MachO_weak_references.s
 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/test/ExecutionEngine/JITLink/x86-64/Output/MachO_weak_references.s.tmp/macho_weak_refs.o
+ 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/llvm-jitlink
 -noexec -check-name=jitlink-check-bar-absent 
-check=/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/ExecutionEngine/JITLink/x86-64/MachO_weak_references.s
 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/test/ExecutionEngine/JITLink/x86-64/Output/MachO_weak_references.s.tmp/macho_weak_refs.o

=================================================================
==1026913==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 24 byte(s) in 1 object(s) allocated from:
    #0 0xc0c77cad92cc in malloc 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/compiler-rt/lib/asan/asan_malloc_linux.cpp:67:3
    #1 0xeba482bc1034  (/lib/aarch64-linux-gnu/libc.so.6+0x81034) (BuildId: 
32fa4d6f3a8d5f430bdb7af2eb779470cd5ec7c2)
    #2 0xeba482bc177c in dlsym (/lib/aarch64-linux-gnu/libc.so.6+0x8177c) 
(BuildId: 32fa4d6f3a8d5f430bdb7af2eb779470cd5ec7c2)
    #3 0xc0c77d97dbac in 
llvm::orc::SelfExecutorProcessControl::lookupSymbolsAsync(llvm::ArrayRef<llvm::orc::DylibManager::LookupRequest>,
 llvm::unique_function<void 
(llvm::Expected<std::__1::vector<std::__1::vector<llvm::orc::ExecutorSymbolDef, 
std::__1::allocator<llvm::orc::ExecutorSymbolDef>>, 
std::__1::allocator<std::__1::vector<llvm::orc::ExecutorSymbolDef, 
std::__1::allocator<llvm::orc::ExecutorSymbolDef>>>>>)>) 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/lib/ExecutionEngine/Orc/ExecutorProcessControl.cpp:101:26
    #4 0xc0c77d80b6f0 in 
llvm::orc::EPCDynamicLibrarySearchGenerator::tryToGenerate(llvm::orc::LookupState&,
 llvm::orc::LookupKind, llvm::orc::JITDylib&, llvm::orc::JITDylibLookupFlags, 
llvm::orc::SymbolLookupSet const&) 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/lib/ExecutionEngine/Orc/EPCDynamicLibrarySearchGenerator.cpp:56:21
    #5 0xc0c77d758c74 in 
llvm::orc::ExecutionSession::OL_applyQueryPhase1(std::__1::unique_ptr<llvm::orc::InProgressLookupState,
 std::__1::default_delete<llvm::orc::InProgressLookupState>>, llvm::Error) 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/lib/ExecutionEngine/Orc/Core.cpp:2469:19
    #6 0xc0c77d74cac0 in 
llvm::orc::ExecutionSession::lookup(llvm::orc::LookupKind, 
std::__1::vector<std::__1::pair<llvm::orc::JITDylib*, 
llvm::orc::JITDylibLookupFlags>, 
std::__1::allocator<std::__1::pair<llvm::orc::JITDylib*, 
llvm::orc::JITDylibLookupFlags>>> const&, llvm::orc::SymbolLookupSet, 
llvm::orc::SymbolState, llvm::unique_function<void 
(llvm::Expected<llvm::DenseMap<llvm::orc::SymbolStringPtr, 
llvm::orc::ExecutorSymbolDef, llvm::DenseMapInfo<llvm::orc::SymbolStringPtr, 
void>, llvm::detail::DenseMapPair<llvm::orc::SymbolStringPtr, 
llvm::orc::ExecutorSymbolDef>>>)>, std::__1::function<void 
(llvm::DenseMap<llvm::orc::JITDylib*, 
llvm::DenseSet<llvm::orc::SymbolStringPtr, 
llvm::DenseMapInfo<llvm::orc::SymbolStringPtr, void>>, 
llvm::DenseMapInfo<llvm::orc::JITDylib*, void>, 
llvm::detail::DenseMapPair<llvm::orc::JITDylib*, 
llvm::DenseSet<llvm::orc::SymbolStringPtr, 
llvm::DenseMapInfo<llvm::orc::SymbolStringPtr, void>>>> const&)>) 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/lib/ExecutionEngine/Orc/Core.cpp:1824:3
    #7 0xc0c77d8a57cc in 
llvm::orc::LinkGraphLinkingLayer::JITLinkCtx::lookup(llvm::DenseMap<llvm::orc::SymbolStringPtr,
 llvm::jitlink::SymbolLookupFlags, 
llvm::DenseMapInfo<llvm::orc::SymbolStringPtr, void>, 
llvm::detail::DenseMapPair<llvm::orc::SymbolStringPtr, 
llvm::jitlink::SymbolLookupFlags>> const&, 
std::__1::unique_ptr<llvm::jitlink::JITLinkAsyncLookupContinuation, 
std::__1::default_delete<llvm::jitlink::JITLinkAsyncLookupContinuation>>) 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/lib/ExecutionEngine/Orc/LinkGraphLinkingLayer.cpp:117:8
    #8 0xc0c77d20ace4 in 
llvm::jitlink::JITLinkerBase::linkPhase2(std::__1::unique_ptr<llvm::jitlink::JITLinkerBase,
 std::__1::default_delete<llvm::jitlink::JITLinkerBase>>, 
llvm::Expected<std::__1::unique_ptr<llvm::jitlink::JITLinkMemoryManager::InFlightAlloc,
 
std::__1::default_delete<llvm::jitlink::JITLinkMemoryManager::InFlightAlloc>>>) 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/lib/ExecutionEngine/JITLink/JITLinkGeneric.cpp:122:8
    #9 0xc0c77d20fc20 in operator() 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/lib/ExecutionEngine/JITLink/JITLinkGeneric.cpp:63:18
    #10 0xc0c77d20fc20 in void llvm::detail::UniqueFunctionBase<void, 
llvm::Expected<std::__1::unique_ptr<llvm::jitlink::JITLinkMemoryManager::InFlightAlloc,
 
std::__1::default_delete<llvm::jitlink::JITLinkMemoryManager::InFlightAlloc>>>>::CallImpl<llvm::jitlink::JITLinkerBase::linkPhase1(std::__1::unique_ptr<llvm::jitlink::JITLinkerBase,
 std::__1::default_delete<llvm::jitlink::JITLinkerBase>>)::$_1>(void*, 
llvm::Expected<std::__1::unique_ptr<llvm::jitlink::JITLinkMemoryManager::InFlightAlloc,
 
std::__1::default_delete<llvm::jitlink::JITLinkMemoryManager::InFlightAlloc>>>&)
 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/include/llvm/ADT/FunctionExtras.h:222:12
    #11 0xc0c77d8f49b4 in operator() 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/include/llvm/ADT/FunctionExtras.h:387:12
    #12 0xc0c77d8f49b4 in 
llvm::orc::MapperJITLinkMemoryManager::allocate(llvm::jitlink::JITLinkDylib 
const*, llvm::jitlink::LinkGraph&, llvm::unique_function<void 
(llvm::Expected<std::__1::unique_ptr<llvm::jitlink::JITLinkMemoryManager::InFlightAlloc,
 
std::__1::default_delete<llvm::jitlink::JITLinkMemoryManager::InFlightAlloc>>>)>)::$_0::operator()(llvm::Expected<llvm::orc::ExecutorAddrRange>)
 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/lib/ExecutionEngine/Orc/MapperJITLinkMemoryManager.cpp:120:5
    #13 0xc0c77d905248 in void llvm::detail::UniqueFunctionBase<void, 
llvm::Expected<llvm::orc::ExecutorAddrRange>>::CallImpl<llvm::orc::MapperJITLinkMemoryManager::allocate(llvm::jitlink::JITLinkDylib
 const*, llvm::jitlink::LinkGraph&, llvm::unique_function<void 
(llvm::Expected<std::__1::unique_ptr<llvm::jitlink::JITLinkMemoryManager::InFlightAlloc,
 
std::__1::default_delete<llvm::jitlink::JITLinkMemoryManager::InFlightAlloc>>>)>)::$_0>(void*,
 llvm::Expected<llvm::orc::ExecutorAddrRange>&) 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/include/llvm/ADT/FunctionExtras.h:222:12
    #14 0xc0c77cb50b68 in operator() 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/include/llvm/ADT/FunctionExtras.h:387:12
    #15 0xc0c77cb50b68 in llvm::InProcessDeltaMapper::reserve(unsigned long, 
llvm::unique_function<void 
(llvm::Expected<llvm::orc::ExecutorAddrRange>)>)::'lambda'(llvm::Expected<llvm::orc::ExecutorAddrRange>)::operator()(llvm::Expected<llvm::orc::ExecutorAddrRange>)
 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/tools/llvm-jitlink/llvm-jitlink.cpp:588:11
    #16 0xc0c77cb5055c in void llvm::detail::UniqueFunctionBase<void, 
llvm::Expected<llvm::orc::ExecutorAddrRange>>::CallImpl<llvm::InProcessDeltaMapper::reserve(unsigned
 long, llvm::unique_function<void 
(llvm::Expected<llvm::orc::ExecutorAddrRange>)>)::'lambda'(llvm::Expected<llvm::orc::ExecutorAddrRange>)>(void*,
 llvm::Expected<llvm::orc::ExecutorAddrRange>&) 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/include/llvm/ADT/FunctionExtras.h:222:12
    #17 0xc0c77d9068b0 in operator() 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/include/llvm/ADT/FunctionExtras.h:387:12
    #18 0xc0c77d9068b0 in llvm::orc::InProcessMemoryMapper::reserve(unsigned 
long, llvm::unique_function<void 
(llvm::Expected<llvm::orc::ExecutorAddrRange>)>) 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/lib/ExecutionEngine/Orc/MemoryMapper.cpp:57:3
Step 11 (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: 85831 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 
FAIL: LLVM :: ExecutionEngine/JITLink/x86-64/MachO_weak_references.s (52397 of 
85831)
******************** TEST 'LLVM :: 
ExecutionEngine/JITLink/x86-64/MachO_weak_references.s' FAILED 
********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: rm -rf 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/test/ExecutionEngine/JITLink/x86-64/Output/MachO_weak_references.s.tmp
 && mkdir -p 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/test/ExecutionEngine/JITLink/x86-64/Output/MachO_weak_references.s.tmp
+ rm -rf 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/test/ExecutionEngine/JITLink/x86-64/Output/MachO_weak_references.s.tmp
+ mkdir -p 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/test/ExecutionEngine/JITLink/x86-64/Output/MachO_weak_references.s.tmp
RUN: at line 2: 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/llvm-mc
 -triple=x86_64-apple-macosx10.9 -filetype=obj -o 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/test/ExecutionEngine/JITLink/x86-64/Output/MachO_weak_references.s.tmp/macho_weak_refs.o
 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/ExecutionEngine/JITLink/x86-64/MachO_weak_references.s
+ 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/llvm-mc
 -triple=x86_64-apple-macosx10.9 -filetype=obj -o 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/test/ExecutionEngine/JITLink/x86-64/Output/MachO_weak_references.s.tmp/macho_weak_refs.o
 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/ExecutionEngine/JITLink/x86-64/MachO_weak_references.s
RUN: at line 3: 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/llvm-jitlink
 -noexec -check-name=jitlink-check-bar-present -abs bar=0x1 
-check=/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/ExecutionEngine/JITLink/x86-64/MachO_weak_references.s
 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/test/ExecutionEngine/JITLink/x86-64/Output/MachO_weak_references.s.tmp/macho_weak_refs.o
+ 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/llvm-jitlink
 -noexec -check-name=jitlink-check-bar-present -abs bar=0x1 
-check=/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/ExecutionEngine/JITLink/x86-64/MachO_weak_references.s
 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/test/ExecutionEngine/JITLink/x86-64/Output/MachO_weak_references.s.tmp/macho_weak_refs.o
RUN: at line 4: 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/llvm-jitlink
 -noexec -check-name=jitlink-check-bar-absent 
-check=/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/ExecutionEngine/JITLink/x86-64/MachO_weak_references.s
 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/test/ExecutionEngine/JITLink/x86-64/Output/MachO_weak_references.s.tmp/macho_weak_refs.o
+ 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/llvm-jitlink
 -noexec -check-name=jitlink-check-bar-absent 
-check=/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/ExecutionEngine/JITLink/x86-64/MachO_weak_references.s
 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/test/ExecutionEngine/JITLink/x86-64/Output/MachO_weak_references.s.tmp/macho_weak_refs.o

=================================================================
==1026913==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 24 byte(s) in 1 object(s) allocated from:
    #0 0xc0c77cad92cc in malloc 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/compiler-rt/lib/asan/asan_malloc_linux.cpp:67:3
    #1 0xeba482bc1034  (/lib/aarch64-linux-gnu/libc.so.6+0x81034) (BuildId: 
32fa4d6f3a8d5f430bdb7af2eb779470cd5ec7c2)
    #2 0xeba482bc177c in dlsym (/lib/aarch64-linux-gnu/libc.so.6+0x8177c) 
(BuildId: 32fa4d6f3a8d5f430bdb7af2eb779470cd5ec7c2)
    #3 0xc0c77d97dbac in 
llvm::orc::SelfExecutorProcessControl::lookupSymbolsAsync(llvm::ArrayRef<llvm::orc::DylibManager::LookupRequest>,
 llvm::unique_function<void 
(llvm::Expected<std::__1::vector<std::__1::vector<llvm::orc::ExecutorSymbolDef, 
std::__1::allocator<llvm::orc::ExecutorSymbolDef>>, 
std::__1::allocator<std::__1::vector<llvm::orc::ExecutorSymbolDef, 
std::__1::allocator<llvm::orc::ExecutorSymbolDef>>>>>)>) 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/lib/ExecutionEngine/Orc/ExecutorProcessControl.cpp:101:26
    #4 0xc0c77d80b6f0 in 
llvm::orc::EPCDynamicLibrarySearchGenerator::tryToGenerate(llvm::orc::LookupState&,
 llvm::orc::LookupKind, llvm::orc::JITDylib&, llvm::orc::JITDylibLookupFlags, 
llvm::orc::SymbolLookupSet const&) 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/lib/ExecutionEngine/Orc/EPCDynamicLibrarySearchGenerator.cpp:56:21
    #5 0xc0c77d758c74 in 
llvm::orc::ExecutionSession::OL_applyQueryPhase1(std::__1::unique_ptr<llvm::orc::InProgressLookupState,
 std::__1::default_delete<llvm::orc::InProgressLookupState>>, llvm::Error) 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/lib/ExecutionEngine/Orc/Core.cpp:2469:19
    #6 0xc0c77d74cac0 in 
llvm::orc::ExecutionSession::lookup(llvm::orc::LookupKind, 
std::__1::vector<std::__1::pair<llvm::orc::JITDylib*, 
llvm::orc::JITDylibLookupFlags>, 
std::__1::allocator<std::__1::pair<llvm::orc::JITDylib*, 
llvm::orc::JITDylibLookupFlags>>> const&, llvm::orc::SymbolLookupSet, 
llvm::orc::SymbolState, llvm::unique_function<void 
(llvm::Expected<llvm::DenseMap<llvm::orc::SymbolStringPtr, 
llvm::orc::ExecutorSymbolDef, llvm::DenseMapInfo<llvm::orc::SymbolStringPtr, 
void>, llvm::detail::DenseMapPair<llvm::orc::SymbolStringPtr, 
llvm::orc::ExecutorSymbolDef>>>)>, std::__1::function<void 
(llvm::DenseMap<llvm::orc::JITDylib*, 
llvm::DenseSet<llvm::orc::SymbolStringPtr, 
llvm::DenseMapInfo<llvm::orc::SymbolStringPtr, void>>, 
llvm::DenseMapInfo<llvm::orc::JITDylib*, void>, 
llvm::detail::DenseMapPair<llvm::orc::JITDylib*, 
llvm::DenseSet<llvm::orc::SymbolStringPtr, 
llvm::DenseMapInfo<llvm::orc::SymbolStringPtr, void>>>> const&)>) 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/lib/ExecutionEngine/Orc/Core.cpp:1824:3
    #7 0xc0c77d8a57cc in 
llvm::orc::LinkGraphLinkingLayer::JITLinkCtx::lookup(llvm::DenseMap<llvm::orc::SymbolStringPtr,
 llvm::jitlink::SymbolLookupFlags, 
llvm::DenseMapInfo<llvm::orc::SymbolStringPtr, void>, 
llvm::detail::DenseMapPair<llvm::orc::SymbolStringPtr, 
llvm::jitlink::SymbolLookupFlags>> const&, 
std::__1::unique_ptr<llvm::jitlink::JITLinkAsyncLookupContinuation, 
std::__1::default_delete<llvm::jitlink::JITLinkAsyncLookupContinuation>>) 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/lib/ExecutionEngine/Orc/LinkGraphLinkingLayer.cpp:117:8
    #8 0xc0c77d20ace4 in 
llvm::jitlink::JITLinkerBase::linkPhase2(std::__1::unique_ptr<llvm::jitlink::JITLinkerBase,
 std::__1::default_delete<llvm::jitlink::JITLinkerBase>>, 
llvm::Expected<std::__1::unique_ptr<llvm::jitlink::JITLinkMemoryManager::InFlightAlloc,
 
std::__1::default_delete<llvm::jitlink::JITLinkMemoryManager::InFlightAlloc>>>) 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/lib/ExecutionEngine/JITLink/JITLinkGeneric.cpp:122:8
    #9 0xc0c77d20fc20 in operator() 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/lib/ExecutionEngine/JITLink/JITLinkGeneric.cpp:63:18
    #10 0xc0c77d20fc20 in void llvm::detail::UniqueFunctionBase<void, 
llvm::Expected<std::__1::unique_ptr<llvm::jitlink::JITLinkMemoryManager::InFlightAlloc,
 
std::__1::default_delete<llvm::jitlink::JITLinkMemoryManager::InFlightAlloc>>>>::CallImpl<llvm::jitlink::JITLinkerBase::linkPhase1(std::__1::unique_ptr<llvm::jitlink::JITLinkerBase,
 std::__1::default_delete<llvm::jitlink::JITLinkerBase>>)::$_1>(void*, 
llvm::Expected<std::__1::unique_ptr<llvm::jitlink::JITLinkMemoryManager::InFlightAlloc,
 
std::__1::default_delete<llvm::jitlink::JITLinkMemoryManager::InFlightAlloc>>>&)
 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/include/llvm/ADT/FunctionExtras.h:222:12
    #11 0xc0c77d8f49b4 in operator() 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/include/llvm/ADT/FunctionExtras.h:387:12
    #12 0xc0c77d8f49b4 in 
llvm::orc::MapperJITLinkMemoryManager::allocate(llvm::jitlink::JITLinkDylib 
const*, llvm::jitlink::LinkGraph&, llvm::unique_function<void 
(llvm::Expected<std::__1::unique_ptr<llvm::jitlink::JITLinkMemoryManager::InFlightAlloc,
 
std::__1::default_delete<llvm::jitlink::JITLinkMemoryManager::InFlightAlloc>>>)>)::$_0::operator()(llvm::Expected<llvm::orc::ExecutorAddrRange>)
 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/lib/ExecutionEngine/Orc/MapperJITLinkMemoryManager.cpp:120:5
    #13 0xc0c77d905248 in void llvm::detail::UniqueFunctionBase<void, 
llvm::Expected<llvm::orc::ExecutorAddrRange>>::CallImpl<llvm::orc::MapperJITLinkMemoryManager::allocate(llvm::jitlink::JITLinkDylib
 const*, llvm::jitlink::LinkGraph&, llvm::unique_function<void 
(llvm::Expected<std::__1::unique_ptr<llvm::jitlink::JITLinkMemoryManager::InFlightAlloc,
 
std::__1::default_delete<llvm::jitlink::JITLinkMemoryManager::InFlightAlloc>>>)>)::$_0>(void*,
 llvm::Expected<llvm::orc::ExecutorAddrRange>&) 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/include/llvm/ADT/FunctionExtras.h:222:12
    #14 0xc0c77cb50b68 in operator() 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/include/llvm/ADT/FunctionExtras.h:387:12
    #15 0xc0c77cb50b68 in llvm::InProcessDeltaMapper::reserve(unsigned long, 
llvm::unique_function<void 
(llvm::Expected<llvm::orc::ExecutorAddrRange>)>)::'lambda'(llvm::Expected<llvm::orc::ExecutorAddrRange>)::operator()(llvm::Expected<llvm::orc::ExecutorAddrRange>)
 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/tools/llvm-jitlink/llvm-jitlink.cpp:588:11
    #16 0xc0c77cb5055c in void llvm::detail::UniqueFunctionBase<void, 
llvm::Expected<llvm::orc::ExecutorAddrRange>>::CallImpl<llvm::InProcessDeltaMapper::reserve(unsigned
 long, llvm::unique_function<void 
(llvm::Expected<llvm::orc::ExecutorAddrRange>)>)::'lambda'(llvm::Expected<llvm::orc::ExecutorAddrRange>)>(void*,
 llvm::Expected<llvm::orc::ExecutorAddrRange>&) 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/include/llvm/ADT/FunctionExtras.h:222:12
    #17 0xc0c77d9068b0 in operator() 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/include/llvm/ADT/FunctionExtras.h:387:12
    #18 0xc0c77d9068b0 in llvm::orc::InProcessMemoryMapper::reserve(unsigned 
long, llvm::unique_function<void 
(llvm::Expected<llvm::orc::ExecutorAddrRange>)>) 
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/lib/ExecutionEngine/Orc/MemoryMapper.cpp:57:3

```

</details>

https://github.com/llvm/llvm-project/pull/122594
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to