[llvm] [RISCV] Directly use pack* in build_vector lowering (PR #98084)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 8 17:19:23 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `sanitizer-x86_64-linux-fast` running on `sanitizer-buildbot4` while building `llvm` at step 2 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/169/builds/804
Here is the relevant piece of the build log for the reference:
```
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
llvm-lit: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using lld-link: /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/lld-link
llvm-lit: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using ld64.lld: /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld64.lld
llvm-lit: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using wasm-ld: /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/wasm-ld
llvm-lit: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using ld.lld: /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld.lld
llvm-lit: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using lld-link: /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/lld-link
llvm-lit: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using ld64.lld: /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld64.lld
llvm-lit: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using wasm-ld: /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/wasm-ld
llvm-lit: /b/sanitizer-x86_64-linux-fast/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: 83824 of 83825 tests, 80 workers --
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
FAIL: LLVM :: tools/llvm-dwarfutil/ELF/X86/warning-skipped-types.test (79976 of 83824)
******************** TEST 'LLVM :: tools/llvm-dwarfutil/ELF/X86/warning-skipped-types.test' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 4: /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/llvm-dwarfutil --garbage-collection --tombstone=maxpc /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/tools/llvm-dwarfutil/ELF/X86/Inputs/type-units.o /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/test/tools/llvm-dwarfutil/ELF/X86/Output/warning-skipped-types.test.tmp1 2>&1 | /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/tools/llvm-dwarfutil/ELF/X86/warning-skipped-types.test -DFILE=/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/tools/llvm-dwarfutil/ELF/X86/Inputs/type-units.o
+ /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/llvm-dwarfutil --garbage-collection --tombstone=maxpc /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/tools/llvm-dwarfutil/ELF/X86/Inputs/type-units.o /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/test/tools/llvm-dwarfutil/ELF/X86/Output/warning-skipped-types.test.tmp1
+ /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/tools/llvm-dwarfutil/ELF/X86/warning-skipped-types.test -DFILE=/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/tools/llvm-dwarfutil/ELF/X86/Inputs/type-units.o
--
********************
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
FAIL: LLVM :: tools/llvm-objcopy/ELF/remove-section-in-group.test (82523 of 83824)
******************** TEST 'LLVM :: tools/llvm-objcopy/ELF/remove-section-in-group.test' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 3: /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/yaml2obj --docnum=1 /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/tools/llvm-objcopy/ELF/remove-section-in-group.test -o - | /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/llvm-objcopy -R .foo - - | /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/obj2yaml - | /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/tools/llvm-objcopy/ELF/remove-section-in-group.test
+ /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/tools/llvm-objcopy/ELF/remove-section-in-group.test
+ /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/yaml2obj --docnum=1 /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/tools/llvm-objcopy/ELF/remove-section-in-group.test -o -
+ /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/obj2yaml -
+ /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/llvm-objcopy -R .foo - -
RUN: at line 39: /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/yaml2obj --docnum=2 /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/tools/llvm-objcopy/ELF/remove-section-in-group.test -o /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/test/tools/llvm-objcopy/ELF/Output/remove-section-in-group.test.tmp
+ /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/yaml2obj --docnum=2 /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/tools/llvm-objcopy/ELF/remove-section-in-group.test -o /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/test/tools/llvm-objcopy/ELF/Output/remove-section-in-group.test.tmp
RUN: at line 40: /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/llvm-objcopy --remove-section=.debug_macro /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/test/tools/llvm-objcopy/ELF/Output/remove-section-in-group.test.tmp
+ /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/llvm-objcopy --remove-section=.debug_macro /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/test/tools/llvm-objcopy/ELF/Output/remove-section-in-group.test.tmp
=================================================================
==2586793==ERROR: AddressSanitizer: heap-use-after-free on address 0x512000000370 at pc 0x555faae8172e bp 0x7ffc748d5dd0 sp 0x7ffc748d5dc8
READ of size 4 at 0x512000000370 thread T0
#0 0x555faae8172d in llvm::objcopy::elf::Symbol::getShndx() const /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/lib/ObjCopy/ELF/ELFObject.cpp:689:20
#1 0x555faae817a8 in llvm::objcopy::elf::Symbol::isCommon() const /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/lib/ObjCopy/ELF/ELFObject.cpp:706:40
#2 0x555faae70c38 in operator() /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/lib/ObjCopy/ELF/ELFObjcopy.cpp:317:14
#3 0x555faae70c38 in void llvm::function_ref<void (llvm::objcopy::elf::Symbol&)>::callback_fn<updateAndRemoveSymbols(llvm::objcopy::CommonConfig const&, llvm::objcopy::ELFConfig const&, llvm::objcopy::elf::Object&)::$_0>(long, llvm::objcopy::elf::Symbol&) /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:45:12
#4 0x555faae82810 in operator() /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:68:12
#5 0x555faae82810 in llvm::objcopy::elf::SymbolTableSection::updateSymbols(llvm::function_ref<void (llvm::objcopy::elf::Symbol&)>) /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/lib/ObjCopy/ELF/ELFObject.cpp:761:5
#6 0x555faae642f8 in updateAndRemoveSymbols /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/lib/ObjCopy/ELF/ELFObjcopy.cpp:311:20
Step 9 (stage2/asan_ubsan check) failure: stage2/asan_ubsan check (failure)
...
llvm-lit: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using lld-link: /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/lld-link
llvm-lit: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using ld64.lld: /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld64.lld
llvm-lit: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using wasm-ld: /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/wasm-ld
llvm-lit: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using ld.lld: /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld.lld
llvm-lit: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using lld-link: /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/lld-link
llvm-lit: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using ld64.lld: /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld64.lld
llvm-lit: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using wasm-ld: /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/wasm-ld
llvm-lit: /b/sanitizer-x86_64-linux-fast/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: 83824 of 83825 tests, 80 workers --
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
FAIL: LLVM :: tools/llvm-dwarfutil/ELF/X86/warning-skipped-types.test (79976 of 83824)
******************** TEST 'LLVM :: tools/llvm-dwarfutil/ELF/X86/warning-skipped-types.test' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 4: /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/llvm-dwarfutil --garbage-collection --tombstone=maxpc /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/tools/llvm-dwarfutil/ELF/X86/Inputs/type-units.o /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/test/tools/llvm-dwarfutil/ELF/X86/Output/warning-skipped-types.test.tmp1 2>&1 | /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/tools/llvm-dwarfutil/ELF/X86/warning-skipped-types.test -DFILE=/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/tools/llvm-dwarfutil/ELF/X86/Inputs/type-units.o
+ /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/llvm-dwarfutil --garbage-collection --tombstone=maxpc /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/tools/llvm-dwarfutil/ELF/X86/Inputs/type-units.o /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/test/tools/llvm-dwarfutil/ELF/X86/Output/warning-skipped-types.test.tmp1
+ /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/tools/llvm-dwarfutil/ELF/X86/warning-skipped-types.test -DFILE=/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/tools/llvm-dwarfutil/ELF/X86/Inputs/type-units.o
--
********************
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
FAIL: LLVM :: tools/llvm-objcopy/ELF/remove-section-in-group.test (82523 of 83824)
******************** TEST 'LLVM :: tools/llvm-objcopy/ELF/remove-section-in-group.test' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 3: /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/yaml2obj --docnum=1 /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/tools/llvm-objcopy/ELF/remove-section-in-group.test -o - | /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/llvm-objcopy -R .foo - - | /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/obj2yaml - | /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/tools/llvm-objcopy/ELF/remove-section-in-group.test
+ /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/tools/llvm-objcopy/ELF/remove-section-in-group.test
+ /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/yaml2obj --docnum=1 /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/tools/llvm-objcopy/ELF/remove-section-in-group.test -o -
+ /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/obj2yaml -
+ /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/llvm-objcopy -R .foo - -
RUN: at line 39: /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/yaml2obj --docnum=2 /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/tools/llvm-objcopy/ELF/remove-section-in-group.test -o /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/test/tools/llvm-objcopy/ELF/Output/remove-section-in-group.test.tmp
+ /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/yaml2obj --docnum=2 /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/tools/llvm-objcopy/ELF/remove-section-in-group.test -o /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/test/tools/llvm-objcopy/ELF/Output/remove-section-in-group.test.tmp
RUN: at line 40: /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/llvm-objcopy --remove-section=.debug_macro /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/test/tools/llvm-objcopy/ELF/Output/remove-section-in-group.test.tmp
+ /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/llvm-objcopy --remove-section=.debug_macro /b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/test/tools/llvm-objcopy/ELF/Output/remove-section-in-group.test.tmp
=================================================================
==2586793==ERROR: AddressSanitizer: heap-use-after-free on address 0x512000000370 at pc 0x555faae8172e bp 0x7ffc748d5dd0 sp 0x7ffc748d5dc8
READ of size 4 at 0x512000000370 thread T0
#0 0x555faae8172d in llvm::objcopy::elf::Symbol::getShndx() const /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/lib/ObjCopy/ELF/ELFObject.cpp:689:20
#1 0x555faae817a8 in llvm::objcopy::elf::Symbol::isCommon() const /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/lib/ObjCopy/ELF/ELFObject.cpp:706:40
#2 0x555faae70c38 in operator() /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/lib/ObjCopy/ELF/ELFObjcopy.cpp:317:14
#3 0x555faae70c38 in void llvm::function_ref<void (llvm::objcopy::elf::Symbol&)>::callback_fn<updateAndRemoveSymbols(llvm::objcopy::CommonConfig const&, llvm::objcopy::ELFConfig const&, llvm::objcopy::elf::Object&)::$_0>(long, llvm::objcopy::elf::Symbol&) /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:45:12
#4 0x555faae82810 in operator() /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:68:12
#5 0x555faae82810 in llvm::objcopy::elf::SymbolTableSection::updateSymbols(llvm::function_ref<void (llvm::objcopy::elf::Symbol&)>) /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/lib/ObjCopy/ELF/ELFObject.cpp:761:5
#6 0x555faae642f8 in updateAndRemoveSymbols /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/lib/ObjCopy/ELF/ELFObjcopy.cpp:311:20
Step 12 (stage2/msan check) failure: stage2/msan check (failure)
...
llvm-lit: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using lld-link: /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/lld-link
llvm-lit: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using ld64.lld: /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/ld64.lld
llvm-lit: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using wasm-ld: /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/wasm-ld
llvm-lit: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using ld.lld: /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/ld.lld
llvm-lit: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using lld-link: /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/lld-link
llvm-lit: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using ld64.lld: /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/ld64.lld
llvm-lit: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using wasm-ld: /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/wasm-ld
llvm-lit: /b/sanitizer-x86_64-linux-fast/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: 83823 tests, 80 workers --
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
FAIL: LLVM :: tools/llvm-dwarfutil/ELF/X86/warning-skipped-types.test (58102 of 83823)
******************** TEST 'LLVM :: tools/llvm-dwarfutil/ELF/X86/warning-skipped-types.test' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 4: /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/llvm-dwarfutil --garbage-collection --tombstone=maxpc /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/tools/llvm-dwarfutil/ELF/X86/Inputs/type-units.o /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/test/tools/llvm-dwarfutil/ELF/X86/Output/warning-skipped-types.test.tmp1 2>&1 | /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/FileCheck /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/tools/llvm-dwarfutil/ELF/X86/warning-skipped-types.test -DFILE=/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/tools/llvm-dwarfutil/ELF/X86/Inputs/type-units.o
+ /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/FileCheck /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/tools/llvm-dwarfutil/ELF/X86/warning-skipped-types.test -DFILE=/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/tools/llvm-dwarfutil/ELF/X86/Inputs/type-units.o
+ /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/llvm-dwarfutil --garbage-collection --tombstone=maxpc /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/tools/llvm-dwarfutil/ELF/X86/Inputs/type-units.o /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/test/tools/llvm-dwarfutil/ELF/X86/Output/warning-skipped-types.test.tmp1
--
********************
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
FAIL: LLVM :: tools/llvm-objcopy/ELF/remove-section-in-group.test (72549 of 83823)
******************** TEST 'LLVM :: tools/llvm-objcopy/ELF/remove-section-in-group.test' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 3: /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/yaml2obj --docnum=1 /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/tools/llvm-objcopy/ELF/remove-section-in-group.test -o - | /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/llvm-objcopy -R .foo - - | /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/obj2yaml - | /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/FileCheck /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/tools/llvm-objcopy/ELF/remove-section-in-group.test
+ /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/obj2yaml -
+ /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/llvm-objcopy -R .foo - -
+ /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/yaml2obj --docnum=1 /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/tools/llvm-objcopy/ELF/remove-section-in-group.test -o -
+ /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/FileCheck /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/tools/llvm-objcopy/ELF/remove-section-in-group.test
RUN: at line 39: /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/yaml2obj --docnum=2 /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/tools/llvm-objcopy/ELF/remove-section-in-group.test -o /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/test/tools/llvm-objcopy/ELF/Output/remove-section-in-group.test.tmp
+ /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/yaml2obj --docnum=2 /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/tools/llvm-objcopy/ELF/remove-section-in-group.test -o /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/test/tools/llvm-objcopy/ELF/Output/remove-section-in-group.test.tmp
RUN: at line 40: /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/llvm-objcopy --remove-section=.debug_macro /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/test/tools/llvm-objcopy/ELF/Output/remove-section-in-group.test.tmp
+ /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/llvm-objcopy --remove-section=.debug_macro /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/test/tools/llvm-objcopy/ELF/Output/remove-section-in-group.test.tmp
==724056==WARNING: MemorySanitizer: use-of-uninitialized-value
#0 0x564c0142f4d5 in llvm::objcopy::elf::Symbol::getShndx() const /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/lib/ObjCopy/ELF/ELFObject.cpp:704:1
#1 0x564c0142f53e in llvm::objcopy::elf::Symbol::isCommon() const /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/lib/ObjCopy/ELF/ELFObject.cpp:706:40
#2 0x564c01424908 in operator() /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/lib/ObjCopy/ELF/ELFObjcopy.cpp:317:14
#3 0x564c01424908 in void llvm::function_ref<void (llvm::objcopy::elf::Symbol&)>::callback_fn<updateAndRemoveSymbols(llvm::objcopy::CommonConfig const&, llvm::objcopy::ELFConfig const&, llvm::objcopy::elf::Object&)::$_0>(long, llvm::objcopy::elf::Symbol&) /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:45:12
#4 0x564c0142feb8 in operator() /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:68:12
#5 0x564c0142feb8 in llvm::objcopy::elf::SymbolTableSection::updateSymbols(llvm::function_ref<void (llvm::objcopy::elf::Symbol&)>) /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/lib/ObjCopy/ELF/ELFObject.cpp:761:5
#6 0x564c0141e049 in updateAndRemoveSymbols /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/lib/ObjCopy/ELF/ELFObjcopy.cpp:311:20
#7 0x564c0141e049 in handleArgs(llvm::objcopy::CommonConfig const&, llvm::objcopy::ELFConfig const&, llvm::objcopy::elf::Object&) /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/lib/ObjCopy/ELF/ELFObjcopy.cpp:662:17
#8 0x564c014210c6 in llvm::objcopy::elf::executeObjcopyOnBinary(llvm::objcopy::CommonConfig const&, llvm::objcopy::ELFConfig const&, llvm::object::ELFObjectFileBase&, llvm::raw_ostream&) /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/lib/ObjCopy/ELF/ELFObjcopy.cpp:880:17
```
https://github.com/llvm/llvm-project/pull/98084
More information about the llvm-commits
mailing list