Failed

LLVM.CodeGen/AArch64.machine-outliner-retaddr-sign-thunk.ll (from LLVM)

Failing for the past 1 build (Since Failed#6783 )
Took 22 sec.

Stacktrace

Script:
--
: 'RUN: at line 1';   /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/llc -mtriple aarch64-arm-linux-gnu --enable-machine-outliner  -verify-machineinstrs /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-thunk.ll -o - | /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/FileCheck /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-thunk.ll
--
Exit Code: 2

Command Output (stderr):
--
=================================================================
==4654==ERROR: AddressSanitizer: container-overflow on address 0x611000028b90 at pc 0x000103adf782 bp 0x7ffeec6ca510 sp 0x7ffeec6ca508
READ of size 8 at 0x611000028b90 thread T0
    #0 0x103adf781 in llvm::AArch64InstrInfo::getOutliningCandidateInfo(std::__1::vector<llvm::outliner::Candidate, std::__1::allocator<llvm::outliner::Candidate> >&) const ilist_iterator.h:140
    #1 0x106b36b87 in (anonymous namespace)::MachineOutliner::doOutline(llvm::Module&, unsigned int&) MachineOutliner.cpp:1073
    #2 0x106b342bb in (anonymous namespace)::MachineOutliner::runOnModule(llvm::Module&) MachineOutliner.cpp:1428
    #3 0x107420d6c in llvm::legacy::PassManagerImpl::run(llvm::Module&) LegacyPassManager.cpp:1582
    #4 0x10353b7b8 in compileModule(char**, llvm::LLVMContext&) llc.cpp:603
    #5 0x103534acc in main llc.cpp:356
    #6 0x7fff7dcae084 in start+0x0 (libdyld.dylib:x86_64+0x17084)

0x611000028b90 is located 16 bytes inside of 256-byte region [0x611000028b80,0x611000028c80)
allocated by thread T0 here:
    #0 0x11303091d in wrap__Znwm+0x7d (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5291d)
    #1 0x106b44e34 in std::__1::__split_buffer<llvm::outliner::Candidate, std::__1::allocator<llvm::outliner::Candidate>&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<llvm::outliner::Candidate>&) new:253
    #2 0x106b43d1c in void std::__1::vector<llvm::outliner::Candidate, std::__1::allocator<llvm::outliner::Candidate> >::__emplace_back_slow_path<unsigned int const&, unsigned int&, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>&, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>&, llvm::MachineBasicBlock*&, unsigned long, unsigned int&>(unsigned int const&&&, unsigned int&&&, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>&&&, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>&&&, llvm::MachineBasicBlock*&&&, unsigned long&&, unsigned int&&&) __split_buffer:317
    #3 0x106b3699f in (anonymous namespace)::MachineOutliner::doOutline(llvm::Module&, unsigned int&) MachineOutliner.cpp:1055
    #4 0x106b342bb in (anonymous namespace)::MachineOutliner::runOnModule(llvm::Module&) MachineOutliner.cpp:1428
    #5 0x107420d6c in llvm::legacy::PassManagerImpl::run(llvm::Module&) LegacyPassManager.cpp:1582
    #6 0x10353b7b8 in compileModule(char**, llvm::LLVMContext&) llc.cpp:603
    #7 0x103534acc in main llc.cpp:356
    #8 0x7fff7dcae084 in start+0x0 (libdyld.dylib:x86_64+0x17084)

HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0.
If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow.
SUMMARY: AddressSanitizer: container-overflow ilist_iterator.h:140 in llvm::AArch64InstrInfo::getOutliningCandidateInfo(std::__1::vector<llvm::outliner::Candidate, std::__1::allocator<llvm::outliner::Candidate> >&) const
Shadow bytes around the buggy address:
  0x1c2200005120: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x1c2200005130: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x1c2200005140: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd
  0x1c2200005150: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x1c2200005160: fd fd fd fd fd fd fd fd fa fa fa fa fa fa fa fa
=>0x1c2200005170: fc fc[fc]fc fc fc fc fc fc fc fc fc fc fc fc fc
  0x1c2200005180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
  0x1c2200005190: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x1c22000051a0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x1c22000051b0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x1c22000051c0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07 
  Heap left redzone:       fa
  Freed heap region:       fd
  Stack left redzone:      f1
  Stack mid redzone:       f2
  Stack right redzone:     f3
  Stack after return:      f5
  Stack use after scope:   f8
  Global redzone:          f9
  Global init order:       f6
  Poisoned by user:        f7
  Container overflow:      fc
  Array cookie:            ac
  Intra object redzone:    bb
  ASan internal:           fe
  Left alloca redzone:     ca
  Right alloca redzone:    cb
  Shadow gap:              cc
==4654==ABORTING
Stack dump:
0.	Program arguments: /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/llc -mtriple aarch64-arm-linux-gnu --enable-machine-outliner -verify-machineinstrs /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-thunk.ll -o - 
1.	Running pass 'Machine Outliner' on module '/Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-thunk.ll'.
FileCheck error: '-' is empty.
FileCheck command line:  /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/FileCheck /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-thunk.ll

--