Regression

LLVM.ThinLTO/X86.module_asm2.ll (from LLVM)

Failing for the past 1 build (Since Failed#7066 )
Took 1.3 sec.

Stacktrace

Script:
--
: 'RUN: at line 4';   /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/opt -module-summary /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/ThinLTO/X86/module_asm2.ll -o /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/test/ThinLTO/X86/Output/module_asm2.ll.tmp1.bc
: 'RUN: at line 5';   /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/opt -module-summary /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/ThinLTO/X86/Inputs/module_asm2.ll -o /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/test/ThinLTO/X86/Output/module_asm2.ll.tmp2.bc
: 'RUN: at line 7';   /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/llvm-lto -thinlto-action=run -exported-symbol=main -exported-symbol=func1 -exported-symbol=func2 -exported-symbol=func3 -exported-symbol=callglobalfunc -exported-symbol=callweakfunc /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/test/ThinLTO/X86/Output/module_asm2.ll.tmp1.bc /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/test/ThinLTO/X86/Output/module_asm2.ll.tmp2.bc
: 'RUN: at line 8';    /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/llvm-nm /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/test/ThinLTO/X86/Output/module_asm2.ll.tmp1.bc.thinlto.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/ThinLTO/X86/module_asm2.ll --check-prefix=NM0
: 'RUN: at line 9';    /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/llvm-nm /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/test/ThinLTO/X86/Output/module_asm2.ll.tmp2.bc.thinlto.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/ThinLTO/X86/module_asm2.ll --check-prefix=NM1
: 'RUN: at line 11';   /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/llvm-lto2 run /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/test/ThinLTO/X86/Output/module_asm2.ll.tmp1.bc /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/test/ThinLTO/X86/Output/module_asm2.ll.tmp2.bc -o /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/test/ThinLTO/X86/Output/module_asm2.ll.tmp.o -save-temps      -r=/Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/test/ThinLTO/X86/Output/module_asm2.ll.tmp1.bc,foo,plx      -r=/Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/test/ThinLTO/X86/Output/module_asm2.ll.tmp1.bc,globalfunc,plx      -r=/Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/test/ThinLTO/X86/Output/module_asm2.ll.tmp1.bc,globalfunc,lx      -r=/Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/test/ThinLTO/X86/Output/module_asm2.ll.tmp1.bc,weakfunc,plx      -r=/Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/test/ThinLTO/X86/Output/module_asm2.ll.tmp1.bc,weakfunc,lx      -r=/Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/test/ThinLTO/X86/Output/module_asm2.ll.tmp1.bc,b,pl      -r=/Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/test/ThinLTO/X86/Output/module_asm2.ll.tmp1.bc,x,pl      -r=/Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/test/ThinLTO/X86/Output/module_asm2.ll.tmp1.bc,func1,pl      -r=/Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/test/ThinLTO/X86/Output/module_asm2.ll.tmp1.bc,func2,pl      -r=/Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/test/ThinLTO/X86/Output/module_asm2.ll.tmp1.bc,func3,pl      -r=/Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/test/ThinLTO/X86/Output/module_asm2.ll.tmp1.bc,callglobalfunc,plx      -r=/Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/test/ThinLTO/X86/Output/module_asm2.ll.tmp1.bc,callweakfunc,plx      -r=/Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/test/ThinLTO/X86/Output/module_asm2.ll.tmp2.bc,main,plx      -r=/Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/test/ThinLTO/X86/Output/module_asm2.ll.tmp2.bc,func1,l      -r=/Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/test/ThinLTO/X86/Output/module_asm2.ll.tmp2.bc,func2,l      -r=/Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/test/ThinLTO/X86/Output/module_asm2.ll.tmp2.bc,func3,l      -r=/Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/test/ThinLTO/X86/Output/module_asm2.ll.tmp2.bc,callglobalfunc,l      -r=/Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/test/ThinLTO/X86/Output/module_asm2.ll.tmp2.bc,callweakfunc,l
: 'RUN: at line 30';   /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/llvm-nm /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/test/ThinLTO/X86/Output/module_asm2.ll.tmp.o.1 | /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/FileCheck  /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/ThinLTO/X86/module_asm2.ll --check-prefix=NM0
: 'RUN: at line 31';   /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/llvm-nm /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/test/ThinLTO/X86/Output/module_asm2.ll.tmp.o.2 | /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/FileCheck  /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/ThinLTO/X86/module_asm2.ll --check-prefix=NM1
--
Exit Code: 134

Command Output (stderr):
--
/Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/include/llvm/CodeGen/ReachingDefAnalysis.h:47:43: runtime error: left shift of negative value -1
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/include/llvm/CodeGen/ReachingDefAnalysis.h:47:43 in 
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace.
Stack dump:
0.	Running pass 'Function Pass Manager' on module '/Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/test/ThinLTO/X86/Output/module_asm2.ll.tmp2.bc'.
1.	Running pass 'ReachingDefAnalysis' on function '@main'
/Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/test/ThinLTO/X86/Output/module_asm2.ll.script: line 8:  7118 Abort trap: 6           /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/llvm-lto -thinlto-action=run -exported-symbol=main -exported-symbol=func1 -exported-symbol=func2 -exported-symbol=func3 -exported-symbol=callglobalfunc -exported-symbol=callweakfunc /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/test/ThinLTO/X86/Output/module_asm2.ll.tmp1.bc /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/test/ThinLTO/X86/Output/module_asm2.ll.tmp2.bc

--