Skip to content

Conversation

@aakanksha555
Copy link
Contributor

#92066 will be dependent on this change

Copy link
Collaborator

@jh7370 jh7370 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need a dedicated yaml2obj test that shows that the new behaviour works as expected, i.e. if the FLAGS variable isn't defined, the e_flags value is 0, otherwise it's the specified value.

When I experimented with this locally, I had to change e_flags to std::optional and modify the mapOptional call that sets the Flags variable, but you may not have to do that. Without the test though, you can't tell!

@chinmaydd chinmaydd self-requested a review June 18, 2025 21:07
Also, do not print Flags value when e_flags is 0
Comment on lines 1 to 3
## Test for FileHeader Flags
## When FLAGS variable isn't defined, the e_flags value is 0,
## otherwise it's the specified value
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## Test for FileHeader Flags
## When FLAGS variable isn't defined, the e_flags value is 0,
## otherwise it's the specified value
## Test for FileHeader Flags.
## When FLAGS variable isn't defined, the e_flags value is 0.
## Otherwise, it's the specified value.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't resolve conversations that I started. I will resolve them when I'm happy you've addressed my request.

Class: ELFCLASS32
Data: ELFDATA2LSB
Type: ET_EXEC
Machine: EM_ARM
Copy link
Contributor Author

@aakanksha555 aakanksha555 Jul 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should I use a different target for this test too?

Comment on lines 1 to 3
## Test for FileHeader Flags
## When FLAGS variable isn't defined, the e_flags value is 0,
## Otherwise it's the specified value
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You missed my other requests.

Suggested change
## Test for FileHeader Flags
## When FLAGS variable isn't defined, the e_flags value is 0,
## Otherwise it's the specified value
## Test for FileHeader Flags.
## When FLAGS variable isn't defined, the e_flags value is 0.
## Otherwise, it's the specified value

Comment on lines 1 to 3
## Test for FileHeader Flags
## When FLAGS variable isn't defined, the e_flags value is 0,
## otherwise it's the specified value
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't resolve conversations that I started. I will resolve them when I'm happy you've addressed my request.

Copy link
Collaborator

@jh7370 jh7370 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks! Do you have commit access?

@aakanksha555
Copy link
Contributor Author

LGTM, thanks! Do you have commit access?

Ya I think so. Let me squash and merge!

@aakanksha555 aakanksha555 merged commit 0b054e2 into llvm:main Jul 21, 2025
7 of 9 checks passed
@llvm-ci
Copy link
Collaborator

llvm-ci commented Jul 21, 2025

LLVM Buildbot has detected a new failure on builder ml-opt-rel-x86-64 running on ml-opt-rel-x86-64-b1 while building llvm at step 6 "test-build-unified-tree-check-all".

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

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: DebugInfo/AMDGPU/dwarfdump-rel.yaml' FAILED ********************
Exit Code: 134

Command Output (stderr):
--
/b/ml-opt-rel-x86-64-b1/build/bin/yaml2obj /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/DebugInfo/AMDGPU/dwarfdump-rel.yaml -o /b/ml-opt-rel-x86-64-b1/build/test/DebugInfo/AMDGPU/Output/dwarfdump-rel.yaml.tmp # RUN: at line 1
+ /b/ml-opt-rel-x86-64-b1/build/bin/yaml2obj /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/DebugInfo/AMDGPU/dwarfdump-rel.yaml -o /b/ml-opt-rel-x86-64-b1/build/test/DebugInfo/AMDGPU/Output/dwarfdump-rel.yaml.tmp
yaml2obj: /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/include/llvm/Support/YAMLTraits.h:1680: void llvm::yaml::IO::processKeyWithDefault(const char*, std::optional<_Tp>&, const std::optional<_Tp>&, bool, Context&) [with T = llvm::ELFYAML::ELF_EF; Context = llvm::yaml::EmptyContext]: Assertion `!DefaultValue && "std::optional<T> shouldn't have a value!"' failed.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0.	Program arguments: /b/ml-opt-rel-x86-64-b1/build/bin/yaml2obj /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/DebugInfo/AMDGPU/dwarfdump-rel.yaml -o /b/ml-opt-rel-x86-64-b1/build/test/DebugInfo/AMDGPU/Output/dwarfdump-rel.yaml.tmp
 #0 0x000055b9b8ffab78 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/ml-opt-rel-x86-64-b1/build/bin/yaml2obj+0x1c5b78)
 #1 0x000055b9b8ff7d05 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
 #2 0x00007f8a0aef5140 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x13140)
 #3 0x00007f8a0a9f6d61 raise (/lib/x86_64-linux-gnu/libc.so.6+0x38d61)
 #4 0x00007f8a0a9e0537 abort (/lib/x86_64-linux-gnu/libc.so.6+0x22537)
 #5 0x00007f8a0a9e040f (/lib/x86_64-linux-gnu/libc.so.6+0x2240f)
 #6 0x00007f8a0a9ef6e2 (/lib/x86_64-linux-gnu/libc.so.6+0x316e2)
 #7 0x000055b9b8ed1ad0 llvm::yaml::MappingTraits<llvm::ELFYAML::FileHeader>::mapping(llvm::yaml::IO&, llvm::ELFYAML::FileHeader&) (/b/ml-opt-rel-x86-64-b1/build/bin/yaml2obj+0x9cad0)
 #8 0x000055b9b8efdc1c llvm::yaml::MappingTraits<llvm::ELFYAML::Object>::mapping(llvm::yaml::IO&, llvm::ELFYAML::Object&) (/b/ml-opt-rel-x86-64-b1/build/bin/yaml2obj+0xc8c1c)
 #9 0x000055b9b8e72447 llvm::yaml::convertYAML(llvm::yaml::Input&, llvm::raw_ostream&, llvm::function_ref<void (llvm::Twine const&)>, unsigned int, unsigned long) (/b/ml-opt-rel-x86-64-b1/build/bin/yaml2obj+0x3d447)
#10 0x000055b9b8e4ec0a main (/b/ml-opt-rel-x86-64-b1/build/bin/yaml2obj+0x19c0a)
#11 0x00007f8a0a9e1d7a __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d7a)
#12 0x000055b9b8e6d87a _start (/b/ml-opt-rel-x86-64-b1/build/bin/yaml2obj+0x3887a)
/b/ml-opt-rel-x86-64-b1/build/test/DebugInfo/AMDGPU/Output/dwarfdump-rel.yaml.script: line 2: 3629863 Aborted                 /b/ml-opt-rel-x86-64-b1/build/bin/yaml2obj /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/DebugInfo/AMDGPU/dwarfdump-rel.yaml -o /b/ml-opt-rel-x86-64-b1/build/test/DebugInfo/AMDGPU/Output/dwarfdump-rel.yaml.tmp

--

********************


@llvm-ci
Copy link
Collaborator

llvm-ci commented Jul 21, 2025

LLVM Buildbot has detected a new failure on builder ml-opt-dev-x86-64 running on ml-opt-dev-x86-64-b2 while building llvm at step 6 "test-build-unified-tree-check-all".

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

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: DebugInfo/AMDGPU/dwarfdump-rel.yaml' FAILED ********************
Exit Code: 134

Command Output (stderr):
--
/b/ml-opt-dev-x86-64-b1/build/bin/yaml2obj /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/DebugInfo/AMDGPU/dwarfdump-rel.yaml -o /b/ml-opt-dev-x86-64-b1/build/test/DebugInfo/AMDGPU/Output/dwarfdump-rel.yaml.tmp # RUN: at line 1
+ /b/ml-opt-dev-x86-64-b1/build/bin/yaml2obj /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/DebugInfo/AMDGPU/dwarfdump-rel.yaml -o /b/ml-opt-dev-x86-64-b1/build/test/DebugInfo/AMDGPU/Output/dwarfdump-rel.yaml.tmp
yaml2obj: /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/include/llvm/Support/YAMLTraits.h:1680: void llvm::yaml::IO::processKeyWithDefault(const char*, std::optional<_Tp>&, const std::optional<_Tp>&, bool, Context&) [with T = llvm::ELFYAML::ELF_EF; Context = llvm::yaml::EmptyContext]: Assertion `!DefaultValue && "std::optional<T> shouldn't have a value!"' failed.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0.	Program arguments: /b/ml-opt-dev-x86-64-b1/build/bin/yaml2obj /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/DebugInfo/AMDGPU/dwarfdump-rel.yaml -o /b/ml-opt-dev-x86-64-b1/build/test/DebugInfo/AMDGPU/Output/dwarfdump-rel.yaml.tmp
 #0 0x000055b10af8db78 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/ml-opt-dev-x86-64-b1/build/bin/yaml2obj+0x1c5b78)
 #1 0x000055b10af8ad05 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
 #2 0x00007ff56f431140 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x13140)
 #3 0x00007ff56ef32d61 raise (/lib/x86_64-linux-gnu/libc.so.6+0x38d61)
 #4 0x00007ff56ef1c537 abort (/lib/x86_64-linux-gnu/libc.so.6+0x22537)
 #5 0x00007ff56ef1c40f (/lib/x86_64-linux-gnu/libc.so.6+0x2240f)
 #6 0x00007ff56ef2b6e2 (/lib/x86_64-linux-gnu/libc.so.6+0x316e2)
 #7 0x000055b10ae64ad0 llvm::yaml::MappingTraits<llvm::ELFYAML::FileHeader>::mapping(llvm::yaml::IO&, llvm::ELFYAML::FileHeader&) (/b/ml-opt-dev-x86-64-b1/build/bin/yaml2obj+0x9cad0)
 #8 0x000055b10ae90c1c llvm::yaml::MappingTraits<llvm::ELFYAML::Object>::mapping(llvm::yaml::IO&, llvm::ELFYAML::Object&) (/b/ml-opt-dev-x86-64-b1/build/bin/yaml2obj+0xc8c1c)
 #9 0x000055b10ae05447 llvm::yaml::convertYAML(llvm::yaml::Input&, llvm::raw_ostream&, llvm::function_ref<void (llvm::Twine const&)>, unsigned int, unsigned long) (/b/ml-opt-dev-x86-64-b1/build/bin/yaml2obj+0x3d447)
#10 0x000055b10ade1c0a main (/b/ml-opt-dev-x86-64-b1/build/bin/yaml2obj+0x19c0a)
#11 0x00007ff56ef1dd7a __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d7a)
#12 0x000055b10ae0087a _start (/b/ml-opt-dev-x86-64-b1/build/bin/yaml2obj+0x3887a)
/b/ml-opt-dev-x86-64-b1/build/test/DebugInfo/AMDGPU/Output/dwarfdump-rel.yaml.script: line 2: 265980 Aborted                 /b/ml-opt-dev-x86-64-b1/build/bin/yaml2obj /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/DebugInfo/AMDGPU/dwarfdump-rel.yaml -o /b/ml-opt-dev-x86-64-b1/build/test/DebugInfo/AMDGPU/Output/dwarfdump-rel.yaml.tmp

--

********************


@llvm-ci
Copy link
Collaborator

llvm-ci commented Jul 21, 2025

LLVM Buildbot has detected a new failure on builder llvm-clang-x86_64-sie-ubuntu-fast running on sie-linux-worker while building llvm at step 6 "test-build-unified-tree-check-all".

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

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: tools/llvm-readobj/ELF/file-header-machine-types.test' FAILED ********************
Exit Code: 134

Command Output (stderr):
--
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/yaml2obj /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/tools/llvm-readobj/ELF/file-header-machine-types.test -o /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/tools/llvm-readobj/ELF/Output/file-header-machine-types.test.tmp.none.o -D MACHINE=EM_NONE # RUN: at line 3
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/yaml2obj /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/tools/llvm-readobj/ELF/file-header-machine-types.test -o /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/tools/llvm-readobj/ELF/Output/file-header-machine-types.test.tmp.none.o -D MACHINE=EM_NONE
yaml2obj: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/include/llvm/Support/YAMLTraits.h:1680: void llvm::yaml::IO::processKeyWithDefault(const char*, std::optional<_Tp>&, const std::optional<_Tp>&, bool, Context&) [with T = llvm::ELFYAML::ELF_EF; Context = llvm::yaml::EmptyContext]: Assertion `!DefaultValue && "std::optional<T> shouldn't have a value!"' failed.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0.	Program arguments: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/yaml2obj /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/tools/llvm-readobj/ELF/file-header-machine-types.test -o /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/tools/llvm-readobj/ELF/Output/file-header-machine-types.test.tmp.none.o -D MACHINE=EM_NONE
 #0 0x0000632355338d90 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/yaml2obj+0x1c8d90)
 #1 0x0000632355335c0f llvm::sys::RunSignalHandlers() (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/yaml2obj+0x1c5c0f)
 #2 0x0000632355335d62 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
 #3 0x00007b6ef6c0f520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
 #4 0x00007b6ef6c639fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
 #5 0x00007b6ef6c639fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
 #6 0x00007b6ef6c639fc pthread_kill ./nptl/pthread_kill.c:89:10
 #7 0x00007b6ef6c0f476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
 #8 0x00007b6ef6bf57f3 abort ./stdlib/abort.c:81:7
 #9 0x00007b6ef6bf571b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007b6ef6c06e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x000063235520bba0 llvm::yaml::MappingTraits<llvm::ELFYAML::FileHeader>::mapping(llvm::yaml::IO&, llvm::ELFYAML::FileHeader&) (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/yaml2obj+0x9bba0)
#12 0x0000632355234704 llvm::yaml::MappingTraits<llvm::ELFYAML::Object>::mapping(llvm::yaml::IO&, llvm::ELFYAML::Object&) (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/yaml2obj+0xc4704)
#13 0x00006323551ad899 llvm::yaml::convertYAML(llvm::yaml::Input&, llvm::raw_ostream&, llvm::function_ref<void (llvm::Twine const&)>, unsigned int, unsigned long) (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/yaml2obj+0x3d899)
#14 0x000063235518a2e9 main (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/yaml2obj+0x1a2e9)
#15 0x00007b6ef6bf6d90 __libc_start_call_main ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
#16 0x00007b6ef6bf6e40 call_init ./csu/../csu/libc-start.c:128:20
#17 0x00007b6ef6bf6e40 __libc_start_main ./csu/../csu/libc-start.c:379:5
#18 0x00006323551a8a95 _start (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/yaml2obj+0x38a95)
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/tools/llvm-readobj/ELF/Output/file-header-machine-types.test.script: line 320: 487394 Aborted                 (core dumped) /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/yaml2obj /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/tools/llvm-readobj/ELF/file-header-machine-types.test -o /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/tools/llvm-readobj/ELF/Output/file-header-machine-types.test.tmp.none.o -D MACHINE=EM_NONE

--

********************


@llvm-ci
Copy link
Collaborator

llvm-ci commented Jul 21, 2025

LLVM Buildbot has detected a new failure on builder ml-opt-devrel-x86-64 running on ml-opt-devrel-x86-64-b2 while building llvm at step 6 "test-build-unified-tree-check-all".

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

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: DebugInfo/ARM/dwarfdump-rela.yaml' FAILED ********************
Exit Code: 134

Command Output (stderr):
--
/b/ml-opt-devrel-x86-64-b1/build/bin/yaml2obj /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/DebugInfo/ARM/dwarfdump-rela.yaml -o /b/ml-opt-devrel-x86-64-b1/build/test/DebugInfo/ARM/Output/dwarfdump-rela.yaml.tmp # RUN: at line 3
+ /b/ml-opt-devrel-x86-64-b1/build/bin/yaml2obj /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/DebugInfo/ARM/dwarfdump-rela.yaml -o /b/ml-opt-devrel-x86-64-b1/build/test/DebugInfo/ARM/Output/dwarfdump-rela.yaml.tmp
yaml2obj: /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/include/llvm/Support/YAMLTraits.h:1680: void llvm::yaml::IO::processKeyWithDefault(const char*, std::optional<_Tp>&, const std::optional<_Tp>&, bool, Context&) [with T = llvm::ELFYAML::ELF_EF; Context = llvm::yaml::EmptyContext]: Assertion `!DefaultValue && "std::optional<T> shouldn't have a value!"' failed.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0.	Program arguments: /b/ml-opt-devrel-x86-64-b1/build/bin/yaml2obj /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/DebugInfo/ARM/dwarfdump-rela.yaml -o /b/ml-opt-devrel-x86-64-b1/build/test/DebugInfo/ARM/Output/dwarfdump-rela.yaml.tmp
 #0 0x000056039b5beb78 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/ml-opt-devrel-x86-64-b1/build/bin/yaml2obj+0x1c5b78)
 #1 0x000056039b5bbd05 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
 #2 0x00007fa57dce0140 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x13140)
 #3 0x00007fa57d7e1d61 raise (/lib/x86_64-linux-gnu/libc.so.6+0x38d61)
 #4 0x00007fa57d7cb537 abort (/lib/x86_64-linux-gnu/libc.so.6+0x22537)
 #5 0x00007fa57d7cb40f (/lib/x86_64-linux-gnu/libc.so.6+0x2240f)
 #6 0x00007fa57d7da6e2 (/lib/x86_64-linux-gnu/libc.so.6+0x316e2)
 #7 0x000056039b495ad0 llvm::yaml::MappingTraits<llvm::ELFYAML::FileHeader>::mapping(llvm::yaml::IO&, llvm::ELFYAML::FileHeader&) (/b/ml-opt-devrel-x86-64-b1/build/bin/yaml2obj+0x9cad0)
 #8 0x000056039b4c1c1c llvm::yaml::MappingTraits<llvm::ELFYAML::Object>::mapping(llvm::yaml::IO&, llvm::ELFYAML::Object&) (/b/ml-opt-devrel-x86-64-b1/build/bin/yaml2obj+0xc8c1c)
 #9 0x000056039b436447 llvm::yaml::convertYAML(llvm::yaml::Input&, llvm::raw_ostream&, llvm::function_ref<void (llvm::Twine const&)>, unsigned int, unsigned long) (/b/ml-opt-devrel-x86-64-b1/build/bin/yaml2obj+0x3d447)
#10 0x000056039b412c0a main (/b/ml-opt-devrel-x86-64-b1/build/bin/yaml2obj+0x19c0a)
#11 0x00007fa57d7ccd7a __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d7a)
#12 0x000056039b43187a _start (/b/ml-opt-devrel-x86-64-b1/build/bin/yaml2obj+0x3887a)
/b/ml-opt-devrel-x86-64-b1/build/test/DebugInfo/ARM/Output/dwarfdump-rela.yaml.script: line 2: 3500191 Aborted                 /b/ml-opt-devrel-x86-64-b1/build/bin/yaml2obj /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/DebugInfo/ARM/dwarfdump-rela.yaml -o /b/ml-opt-devrel-x86-64-b1/build/test/DebugInfo/ARM/Output/dwarfdump-rela.yaml.tmp

--

********************


@llvm-ci
Copy link
Collaborator

llvm-ci commented Jul 21, 2025

LLVM Buildbot has detected a new failure on builder lld-x86_64-ubuntu-fast running on as-builder-4 while building llvm at step 6 "test-build-unified-tree-check-all".

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

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: DebugInfo/AMDGPU/dwarfdump-rel.yaml' FAILED ********************
Exit Code: 134

Command Output (stderr):
--
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/yaml2obj /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/DebugInfo/AMDGPU/dwarfdump-rel.yaml -o /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/DebugInfo/AMDGPU/Output/dwarfdump-rel.yaml.tmp # RUN: at line 1
+ /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/yaml2obj /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/DebugInfo/AMDGPU/dwarfdump-rel.yaml -o /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/DebugInfo/AMDGPU/Output/dwarfdump-rel.yaml.tmp
yaml2obj: /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/include/llvm/Support/YAMLTraits.h:1680: void llvm::yaml::IO::processKeyWithDefault(const char*, std::optional<_Tp>&, const std::optional<_Tp>&, bool, Context&) [with T = llvm::ELFYAML::ELF_EF; Context = llvm::yaml::EmptyContext]: Assertion `!DefaultValue && "std::optional<T> shouldn't have a value!"' failed.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0.	Program arguments: /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/yaml2obj /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/DebugInfo/AMDGPU/dwarfdump-rel.yaml -o /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/DebugInfo/AMDGPU/Output/dwarfdump-rel.yaml.tmp
 #0 0x000055f4a299f5c0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/yaml2obj+0x1c85c0)
 #1 0x000055f4a299c43f llvm::sys::RunSignalHandlers() (/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/yaml2obj+0x1c543f)
 #2 0x000055f4a299c592 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
 #3 0x00007fd1309c2520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
 #4 0x00007fd130a169fc pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x969fc)
 #5 0x00007fd1309c2476 gsignal (/lib/x86_64-linux-gnu/libc.so.6+0x42476)
 #6 0x00007fd1309a87f3 abort (/lib/x86_64-linux-gnu/libc.so.6+0x287f3)
 #7 0x00007fd1309a871b (/lib/x86_64-linux-gnu/libc.so.6+0x2871b)
 #8 0x00007fd1309b9e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
 #9 0x000055f4a2872410 llvm::yaml::MappingTraits<llvm::ELFYAML::FileHeader>::mapping(llvm::yaml::IO&, llvm::ELFYAML::FileHeader&) (/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/yaml2obj+0x9b410)
#10 0x000055f4a289af74 llvm::yaml::MappingTraits<llvm::ELFYAML::Object>::mapping(llvm::yaml::IO&, llvm::ELFYAML::Object&) (/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/yaml2obj+0xc3f74)
#11 0x000055f4a2814109 llvm::yaml::convertYAML(llvm::yaml::Input&, llvm::raw_ostream&, llvm::function_ref<void (llvm::Twine const&)>, unsigned int, unsigned long) (/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/yaml2obj+0x3d109)
#12 0x000055f4a27f0b69 main (/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/yaml2obj+0x19b69)
#13 0x00007fd1309a9d90 (/lib/x86_64-linux-gnu/libc.so.6+0x29d90)
#14 0x00007fd1309a9e40 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e40)
#15 0x000055f4a280f315 _start (/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/yaml2obj+0x38315)
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/DebugInfo/AMDGPU/Output/dwarfdump-rel.yaml.script: line 2: 3479850 Aborted                 (core dumped) /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/yaml2obj /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/DebugInfo/AMDGPU/dwarfdump-rel.yaml -o /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/DebugInfo/AMDGPU/Output/dwarfdump-rel.yaml.tmp

--

********************


@Kewen12
Copy link
Contributor

Kewen12 commented Jul 21, 2025

Hi there, it seems this PR caused several tests failed that breaks our bots. Could you please take a look? Thanks!

bot: https://lab.llvm.org/buildbot/#/builders/140/builds/27368

nico added a commit that referenced this pull request Jul 21, 2025
…eld (#143845)"

This reverts commit 0b054e2.
Breaks many tests, see comments on #143845.
@nico
Copy link
Contributor

nico commented Jul 21, 2025

Reverted in b80ce05 for now.

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jul 21, 2025

LLVM Buildbot has detected a new failure on builder premerge-monolithic-linux running on premerge-linux-1 while building llvm at step 7 "test-build-unified-tree-check-all".

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

Here is the relevant piece of the build log for the reference
Step 7 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: tools/llvm-readobj/ELF/AMDGPU/elf-headers.test' FAILED ********************
Exit Code: 134

Command Output (stderr):
--
/build/buildbot/premerge-monolithic-linux/build/bin/yaml2obj /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-readobj/ELF/AMDGPU/elf-headers.test -o /build/buildbot/premerge-monolithic-linux/build/test/tools/llvm-readobj/ELF/AMDGPU/Output/elf-headers.test.tmp -DABI_VERSION=0 -DFLAG_NAME=EF_AMDGPU_MACH_AMDGCN_GFX600 # RUN: at line 1
+ /build/buildbot/premerge-monolithic-linux/build/bin/yaml2obj /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-readobj/ELF/AMDGPU/elf-headers.test -o /build/buildbot/premerge-monolithic-linux/build/test/tools/llvm-readobj/ELF/AMDGPU/Output/elf-headers.test.tmp -DABI_VERSION=0 -DFLAG_NAME=EF_AMDGPU_MACH_AMDGCN_GFX600
yaml2obj: /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/include/llvm/Support/YAMLTraits.h:1680: void llvm::yaml::IO::processKeyWithDefault(const char *, std::optional<T> &, const std::optional<T> &, bool, Context &) [T = llvm::ELFYAML::ELF_EF, Context = llvm::yaml::EmptyContext]: Assertion `!DefaultValue && "std::optional<T> shouldn't have a value!"' failed.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0.	Program arguments: /build/buildbot/premerge-monolithic-linux/build/bin/yaml2obj /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-readobj/ELF/AMDGPU/elf-headers.test -o /build/buildbot/premerge-monolithic-linux/build/test/tools/llvm-readobj/ELF/AMDGPU/Output/elf-headers.test.tmp -DABI_VERSION=0 -DFLAG_NAME=EF_AMDGPU_MACH_AMDGCN_GFX600
 #0 0x00005c02c8ec7fb8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/lib/Support/Unix/Signals.inc:834:13
 #1 0x00005c02c8ec57d5 llvm::sys::RunSignalHandlers() /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/lib/Support/Signals.cpp:105:18
 #2 0x00005c02c8ec8d41 SignalHandler(int, siginfo_t*, void*) /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/lib/Support/Unix/Signals.inc:426:38
 #3 0x000079484db77520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
 #4 0x000079484dbcb9fc pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x969fc)
 #5 0x000079484db77476 gsignal (/lib/x86_64-linux-gnu/libc.so.6+0x42476)
 #6 0x000079484db5d7f3 abort (/lib/x86_64-linux-gnu/libc.so.6+0x287f3)
 #7 0x000079484db5d71b (/lib/x86_64-linux-gnu/libc.so.6+0x2871b)
 #8 0x000079484db6ee96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
 #9 0x00005c02c8d7ed59 dyn_cast<llvm::yaml::ScalarNode, const llvm::yaml::Node> /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/include/llvm/Support/Casting.h:662:3
#10 0x00005c02c8d7ed59 void llvm::yaml::IO::processKeyWithDefault<llvm::ELFYAML::ELF_EF, llvm::yaml::EmptyContext>(char const*, std::optional<llvm::ELFYAML::ELF_EF>&, std::optional<llvm::ELFYAML::ELF_EF> const&, bool, llvm::yaml::EmptyContext&) /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/include/llvm/Support/YAMLTraits.h:1696:15
#11 0x00005c02c8d69bda llvm::yaml::MappingTraits<llvm::ELFYAML::FileHeader>::mapping(llvm::yaml::IO&, llvm::ELFYAML::FileHeader&) /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/lib/ObjectYAML/ELFYAML.cpp:1164:35
#12 0x00005c02c8d7007c yamlize<llvm::ELFYAML::FileHeader, llvm::yaml::EmptyContext> /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/include/llvm/Support/YAMLTraits.h:1130:8
#13 0x00005c02c8d7007c processKey<llvm::ELFYAML::FileHeader, llvm::yaml::EmptyContext> /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/include/llvm/Support/YAMLTraits.h:958:7
#14 0x00005c02c8d7007c mapRequired<llvm::ELFYAML::FileHeader> /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/include/llvm/Support/YAMLTraits.h:885:11
#15 0x00005c02c8d7007c llvm::yaml::MappingTraits<llvm::ELFYAML::Object>::mapping(llvm::yaml::IO&, llvm::ELFYAML::Object&) /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/lib/ObjectYAML/ELFYAML.cpp:2008:6
#16 0x00005c02c8d456bf yamlize<llvm::yaml::YamlObjectFile, llvm::yaml::EmptyContext> /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/include/llvm/Support/YAMLTraits.h:1130:8
#17 0x00005c02c8d456bf operator>><llvm::yaml::YamlObjectFile> /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/include/llvm/Support/YAMLTraits.h:1801:3
#18 0x00005c02c8d456bf llvm::yaml::convertYAML(llvm::yaml::Input&, llvm::raw_ostream&, llvm::function_ref<void (llvm::Twine const&)>, unsigned int, unsigned long) /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/lib/ObjectYAML/yaml2obj.cpp:28:9
#19 0x00005c02c8d43856 main /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/tools/yaml2obj/yaml2obj.cpp:150:10
#20 0x000079484db5ed90 (/lib/x86_64-linux-gnu/libc.so.6+0x29d90)
#21 0x000079484db5ee40 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e40)
#22 0x00005c02c8d41865 _start (/build/buildbot/premerge-monolithic-linux/build/bin/yaml2obj+0x1a6865)
/build/buildbot/premerge-monolithic-linux/build/test/tools/llvm-readobj/ELF/AMDGPU/Output/elf-headers.test.script: line 310: 3550317 Aborted                 /build/buildbot/premerge-monolithic-linux/build/bin/yaml2obj /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-readobj/ELF/AMDGPU/elf-headers.test -o /build/buildbot/premerge-monolithic-linux/build/test/tools/llvm-readobj/ELF/AMDGPU/Output/elf-headers.test.tmp -DABI_VERSION=0 -DFLAG_NAME=EF_AMDGPU_MACH_AMDGCN_GFX600

--

********************


@aakanksha555
Copy link
Contributor Author

Hi there, it seems this PR caused several tests failed that breaks our bots. Could you please take a look? Thanks!

bot: https://lab.llvm.org/buildbot/#/builders/140/builds/27368

Thanks, looking!

@zeroomega
Copy link
Contributor

We are also see clang and lld test failures after this patch was landed. Looks like an assertion failure in yaml2obj:


Exit Code: 134

Command Output (stderr):
--
/b/s/w/ir/x/w/llvm_build/bin/clang -O0 -target x86_64-unknown-linux-gnu /b/s/w/ir/x/w/llvm-llvm-project/clang/test/Driver/clang-offload-bundler.c -E -o /b/s/w/ir/x/w/llvm_build/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.i # RUN: at line 7
+ /b/s/w/ir/x/w/llvm_build/bin/clang -O0 -target x86_64-unknown-linux-gnu /b/s/w/ir/x/w/llvm-llvm-project/clang/test/Driver/clang-offload-bundler.c -E -o /b/s/w/ir/x/w/llvm_build/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.i
/b/s/w/ir/x/w/llvm_build/bin/clang --driver-mode=g++ -O0 -target x86_64-unknown-linux-gnu -x c++ /b/s/w/ir/x/w/llvm-llvm-project/clang/test/Driver/clang-offload-bundler.c -E -o /b/s/w/ir/x/w/llvm_build/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.ii # RUN: at line 8
+ /b/s/w/ir/x/w/llvm_build/bin/clang --driver-mode=g++ -O0 -target x86_64-unknown-linux-gnu -x c++ /b/s/w/ir/x/w/llvm-llvm-project/clang/test/Driver/clang-offload-bundler.c -E -o /b/s/w/ir/x/w/llvm_build/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.ii
/b/s/w/ir/x/w/llvm_build/bin/clang -O0 -target x86_64-unknown-linux-gnu /b/s/w/ir/x/w/llvm-llvm-project/clang/test/Driver/clang-offload-bundler.c -S -emit-llvm -o /b/s/w/ir/x/w/llvm_build/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.ll # RUN: at line 9
+ /b/s/w/ir/x/w/llvm_build/bin/clang -O0 -target x86_64-unknown-linux-gnu /b/s/w/ir/x/w/llvm-llvm-project/clang/test/Driver/clang-offload-bundler.c -S -emit-llvm -o /b/s/w/ir/x/w/llvm_build/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.ll
/b/s/w/ir/x/w/llvm_build/bin/clang -O0 -target x86_64-unknown-linux-gnu /b/s/w/ir/x/w/llvm-llvm-project/clang/test/Driver/clang-offload-bundler.c -c -emit-llvm -o /b/s/w/ir/x/w/llvm_build/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.bc # RUN: at line 10
+ /b/s/w/ir/x/w/llvm_build/bin/clang -O0 -target x86_64-unknown-linux-gnu /b/s/w/ir/x/w/llvm-llvm-project/clang/test/Driver/clang-offload-bundler.c -c -emit-llvm -o /b/s/w/ir/x/w/llvm_build/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.bc
/b/s/w/ir/x/w/llvm_build/bin/clang -O0 -target x86_64-unknown-linux-gnu /b/s/w/ir/x/w/llvm-llvm-project/clang/test/Driver/clang-offload-bundler.c -S -o /b/s/w/ir/x/w/llvm_build/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.s # RUN: at line 11
+ /b/s/w/ir/x/w/llvm_build/bin/clang -O0 -target x86_64-unknown-linux-gnu /b/s/w/ir/x/w/llvm-llvm-project/clang/test/Driver/clang-offload-bundler.c -S -o /b/s/w/ir/x/w/llvm_build/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.s
/b/s/w/ir/x/w/llvm_build/bin/clang -O0 -target x86_64-unknown-linux-gnu /b/s/w/ir/x/w/llvm-llvm-project/clang/test/Driver/clang-offload-bundler.c -c -o /b/s/w/ir/x/w/llvm_build/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.o # RUN: at line 12
+ /b/s/w/ir/x/w/llvm_build/bin/clang -O0 -target x86_64-unknown-linux-gnu /b/s/w/ir/x/w/llvm-llvm-project/clang/test/Driver/clang-offload-bundler.c -c -o /b/s/w/ir/x/w/llvm_build/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.o
obj2yaml /b/s/w/ir/x/w/llvm_build/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.o > /b/s/w/ir/x/w/llvm_build/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.o.yaml # RUN: at line 13
+ obj2yaml /b/s/w/ir/x/w/llvm_build/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.o
obj2yaml: llvm/include/llvm/Support/YAMLTraits.h:1680: void llvm::yaml::IO::processKeyWithDefault(const char *, std::optional<T> &, const std::optional<T> &, bool, Context &) [T = llvm::ELFYAML::ELF_EF, Context = llvm::yaml::EmptyContext]: Assertion `!DefaultValue && "std::optional<T> shouldn't have a value!"' failed.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0.	Program arguments: obj2yaml /b/s/w/ir/x/w/llvm_build/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.o
#0 0x000055ad1de55d48 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/s/w/ir/x/w/llvm_build/bin/obj2yaml+0x52bd48)
/b/s/w/ir/x/w/llvm_build/tools/clang/test/Driver/Output/clang-offload-bundler.c.script: line 248: 680576 Aborted                 obj2yaml /b/s/w/ir/x/w/llvm_build/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.o > /b/s/w/ir/x/w/llvm_build/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.o.yaml

--

link to the build task: https://ci.chromium.org/ui/p/fuchsia/builders/toolchain.ci/clang-linux-x64/b8708718394953370705/overview

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jul 22, 2025

LLVM Buildbot has detected a new failure on builder clang-x86_64-debian-fast running on gribozavr4 while building llvm at step 6 "test-build-unified-tree-check-all".

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

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'Clang :: Driver/clang-offload-bundler.c' FAILED ********************
Exit Code: 134

Command Output (stderr):
--
/b/1/clang-x86_64-debian-fast/llvm.obj/bin/clang -O0 -target x86_64-unknown-linux-gnu /b/1/clang-x86_64-debian-fast/llvm.src/clang/test/Driver/clang-offload-bundler.c -E -o /b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.i # RUN: at line 7
+ /b/1/clang-x86_64-debian-fast/llvm.obj/bin/clang -O0 -target x86_64-unknown-linux-gnu /b/1/clang-x86_64-debian-fast/llvm.src/clang/test/Driver/clang-offload-bundler.c -E -o /b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.i
/b/1/clang-x86_64-debian-fast/llvm.obj/bin/clang --driver-mode=g++ -O0 -target x86_64-unknown-linux-gnu -x c++ /b/1/clang-x86_64-debian-fast/llvm.src/clang/test/Driver/clang-offload-bundler.c -E -o /b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.ii # RUN: at line 8
+ /b/1/clang-x86_64-debian-fast/llvm.obj/bin/clang --driver-mode=g++ -O0 -target x86_64-unknown-linux-gnu -x c++ /b/1/clang-x86_64-debian-fast/llvm.src/clang/test/Driver/clang-offload-bundler.c -E -o /b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.ii
/b/1/clang-x86_64-debian-fast/llvm.obj/bin/clang -O0 -target x86_64-unknown-linux-gnu /b/1/clang-x86_64-debian-fast/llvm.src/clang/test/Driver/clang-offload-bundler.c -S -emit-llvm -o /b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.ll # RUN: at line 9
+ /b/1/clang-x86_64-debian-fast/llvm.obj/bin/clang -O0 -target x86_64-unknown-linux-gnu /b/1/clang-x86_64-debian-fast/llvm.src/clang/test/Driver/clang-offload-bundler.c -S -emit-llvm -o /b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.ll
/b/1/clang-x86_64-debian-fast/llvm.obj/bin/clang -O0 -target x86_64-unknown-linux-gnu /b/1/clang-x86_64-debian-fast/llvm.src/clang/test/Driver/clang-offload-bundler.c -c -emit-llvm -o /b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.bc # RUN: at line 10
+ /b/1/clang-x86_64-debian-fast/llvm.obj/bin/clang -O0 -target x86_64-unknown-linux-gnu /b/1/clang-x86_64-debian-fast/llvm.src/clang/test/Driver/clang-offload-bundler.c -c -emit-llvm -o /b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.bc
/b/1/clang-x86_64-debian-fast/llvm.obj/bin/clang -O0 -target x86_64-unknown-linux-gnu /b/1/clang-x86_64-debian-fast/llvm.src/clang/test/Driver/clang-offload-bundler.c -S -o /b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.s # RUN: at line 11
+ /b/1/clang-x86_64-debian-fast/llvm.obj/bin/clang -O0 -target x86_64-unknown-linux-gnu /b/1/clang-x86_64-debian-fast/llvm.src/clang/test/Driver/clang-offload-bundler.c -S -o /b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.s
/b/1/clang-x86_64-debian-fast/llvm.obj/bin/clang -O0 -target x86_64-unknown-linux-gnu /b/1/clang-x86_64-debian-fast/llvm.src/clang/test/Driver/clang-offload-bundler.c -c -o /b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.o # RUN: at line 12
+ /b/1/clang-x86_64-debian-fast/llvm.obj/bin/clang -O0 -target x86_64-unknown-linux-gnu /b/1/clang-x86_64-debian-fast/llvm.src/clang/test/Driver/clang-offload-bundler.c -c -o /b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.o
obj2yaml /b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.o > /b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.o.yaml # RUN: at line 13
+ obj2yaml /b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.o
obj2yaml: /b/1/clang-x86_64-debian-fast/llvm.src/llvm/include/llvm/Support/YAMLTraits.h:1680: void llvm::yaml::IO::processKeyWithDefault(const char *, std::optional<T> &, const std::optional<T> &, bool, Context &) [T = llvm::ELFYAML::ELF_EF, Context = llvm::yaml::EmptyContext]: Assertion `!DefaultValue && "std::optional<T> shouldn't have a value!"' failed.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0.	Program arguments: obj2yaml /b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.o
 #0 0x00000000006ec707 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/1/clang-x86_64-debian-fast/llvm.obj/bin/obj2yaml+0x6ec707)
 #1 0x00000000006e9e85 llvm::sys::RunSignalHandlers() (/b/1/clang-x86_64-debian-fast/llvm.obj/bin/obj2yaml+0x6e9e85)
 #2 0x00000000006ed42a SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
 #3 0x00007ff338ffc140 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x13140)
 #4 0x00007ff338b10d61 raise (/lib/x86_64-linux-gnu/libc.so.6+0x38d61)
 #5 0x00007ff338afa537 abort (/lib/x86_64-linux-gnu/libc.so.6+0x22537)
 #6 0x00007ff338afa40f (/lib/x86_64-linux-gnu/libc.so.6+0x2240f)
 #7 0x00007ff338b096e2 (/lib/x86_64-linux-gnu/libc.so.6+0x316e2)
 #8 0x00000000006544a4 void llvm::yaml::IO::processKeyWithDefault<llvm::ELFYAML::ELF_EF, llvm::yaml::EmptyContext>(char const*, std::optional<llvm::ELFYAML::ELF_EF>&, std::optional<llvm::ELFYAML::ELF_EF> const&, bool, llvm::yaml::EmptyContext&) (/b/1/clang-x86_64-debian-fast/llvm.obj/bin/obj2yaml+0x6544a4)
 #9 0x000000000064307f llvm::yaml::MappingTraits<llvm::ELFYAML::FileHeader>::mapping(llvm::yaml::IO&, llvm::ELFYAML::FileHeader&) (/b/1/clang-x86_64-debian-fast/llvm.obj/bin/obj2yaml+0x64307f)
#10 0x0000000000648f26 llvm::yaml::MappingTraits<llvm::ELFYAML::Object>::mapping(llvm::yaml::IO&, llvm::ELFYAML::Object&) (/b/1/clang-x86_64-debian-fast/llvm.obj/bin/obj2yaml+0x648f26)
#11 0x000000000042432b elf2yaml(llvm::raw_ostream&, llvm::object::ObjectFile const&) (/b/1/clang-x86_64-debian-fast/llvm.obj/bin/obj2yaml+0x42432b)
#12 0x000000000040e867 main (/b/1/clang-x86_64-debian-fast/llvm.obj/bin/obj2yaml+0x40e867)
#13 0x00007ff338afbd7a __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d7a)
#14 0x000000000040b3ea _start (/b/1/clang-x86_64-debian-fast/llvm.obj/bin/obj2yaml+0x40b3ea)
/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/test/Driver/Output/clang-offload-bundler.c.script: line 248: 2102783 Aborted                 obj2yaml /b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.o > /b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.o.yaml

--

********************


@llvm-ci
Copy link
Collaborator

llvm-ci commented Jul 22, 2025

LLVM Buildbot has detected a new failure on builder llvm-x86_64-debian-dylib running on gribozavr4 while building llvm at step 6 "test-build-unified-tree-check-clang".

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

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-clang) failure: test (failure)
******************** TEST 'Clang :: Driver/clang-offload-bundler.c' FAILED ********************
Exit Code: 134

Command Output (stderr):
--
/b/1/llvm-x86_64-debian-dylib/build/bin/clang -O0 -target x86_64-unknown-linux-gnu /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/Driver/clang-offload-bundler.c -E -o /b/1/llvm-x86_64-debian-dylib/build/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.i # RUN: at line 7
+ /b/1/llvm-x86_64-debian-dylib/build/bin/clang -O0 -target x86_64-unknown-linux-gnu /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/Driver/clang-offload-bundler.c -E -o /b/1/llvm-x86_64-debian-dylib/build/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.i
/b/1/llvm-x86_64-debian-dylib/build/bin/clang --driver-mode=g++ -O0 -target x86_64-unknown-linux-gnu -x c++ /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/Driver/clang-offload-bundler.c -E -o /b/1/llvm-x86_64-debian-dylib/build/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.ii # RUN: at line 8
+ /b/1/llvm-x86_64-debian-dylib/build/bin/clang --driver-mode=g++ -O0 -target x86_64-unknown-linux-gnu -x c++ /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/Driver/clang-offload-bundler.c -E -o /b/1/llvm-x86_64-debian-dylib/build/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.ii
/b/1/llvm-x86_64-debian-dylib/build/bin/clang -O0 -target x86_64-unknown-linux-gnu /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/Driver/clang-offload-bundler.c -S -emit-llvm -o /b/1/llvm-x86_64-debian-dylib/build/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.ll # RUN: at line 9
+ /b/1/llvm-x86_64-debian-dylib/build/bin/clang -O0 -target x86_64-unknown-linux-gnu /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/Driver/clang-offload-bundler.c -S -emit-llvm -o /b/1/llvm-x86_64-debian-dylib/build/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.ll
/b/1/llvm-x86_64-debian-dylib/build/bin/clang -O0 -target x86_64-unknown-linux-gnu /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/Driver/clang-offload-bundler.c -c -emit-llvm -o /b/1/llvm-x86_64-debian-dylib/build/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.bc # RUN: at line 10
+ /b/1/llvm-x86_64-debian-dylib/build/bin/clang -O0 -target x86_64-unknown-linux-gnu /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/Driver/clang-offload-bundler.c -c -emit-llvm -o /b/1/llvm-x86_64-debian-dylib/build/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.bc
/b/1/llvm-x86_64-debian-dylib/build/bin/clang -O0 -target x86_64-unknown-linux-gnu /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/Driver/clang-offload-bundler.c -S -o /b/1/llvm-x86_64-debian-dylib/build/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.s # RUN: at line 11
+ /b/1/llvm-x86_64-debian-dylib/build/bin/clang -O0 -target x86_64-unknown-linux-gnu /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/Driver/clang-offload-bundler.c -S -o /b/1/llvm-x86_64-debian-dylib/build/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.s
/b/1/llvm-x86_64-debian-dylib/build/bin/clang -O0 -target x86_64-unknown-linux-gnu /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/Driver/clang-offload-bundler.c -c -o /b/1/llvm-x86_64-debian-dylib/build/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.o # RUN: at line 12
+ /b/1/llvm-x86_64-debian-dylib/build/bin/clang -O0 -target x86_64-unknown-linux-gnu /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/Driver/clang-offload-bundler.c -c -o /b/1/llvm-x86_64-debian-dylib/build/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.o
obj2yaml /b/1/llvm-x86_64-debian-dylib/build/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.o > /b/1/llvm-x86_64-debian-dylib/build/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.o.yaml # RUN: at line 13
+ obj2yaml /b/1/llvm-x86_64-debian-dylib/build/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.o
obj2yaml: /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/include/llvm/Support/YAMLTraits.h:1680: void llvm::yaml::IO::processKeyWithDefault(const char *, std::optional<T> &, const std::optional<T> &, bool, Context &) [T = llvm::ELFYAML::ELF_EF, Context = llvm::yaml::EmptyContext]: Assertion `!DefaultValue && "std::optional<T> shouldn't have a value!"' failed.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0.	Program arguments: obj2yaml /b/1/llvm-x86_64-debian-dylib/build/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.o
 #0 0x00000000006ec707 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/1/llvm-x86_64-debian-dylib/build/bin/obj2yaml+0x6ec707)
 #1 0x00000000006e9e85 llvm::sys::RunSignalHandlers() (/b/1/llvm-x86_64-debian-dylib/build/bin/obj2yaml+0x6e9e85)
 #2 0x00000000006ed42a SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
 #3 0x00007fc8612a9140 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x13140)
 #4 0x00007fc860dbdd61 raise (/lib/x86_64-linux-gnu/libc.so.6+0x38d61)
 #5 0x00007fc860da7537 abort (/lib/x86_64-linux-gnu/libc.so.6+0x22537)
 #6 0x00007fc860da740f (/lib/x86_64-linux-gnu/libc.so.6+0x2240f)
 #7 0x00007fc860db66e2 (/lib/x86_64-linux-gnu/libc.so.6+0x316e2)
 #8 0x00000000006544a4 void llvm::yaml::IO::processKeyWithDefault<llvm::ELFYAML::ELF_EF, llvm::yaml::EmptyContext>(char const*, std::optional<llvm::ELFYAML::ELF_EF>&, std::optional<llvm::ELFYAML::ELF_EF> const&, bool, llvm::yaml::EmptyContext&) (/b/1/llvm-x86_64-debian-dylib/build/bin/obj2yaml+0x6544a4)
 #9 0x000000000064307f llvm::yaml::MappingTraits<llvm::ELFYAML::FileHeader>::mapping(llvm::yaml::IO&, llvm::ELFYAML::FileHeader&) (/b/1/llvm-x86_64-debian-dylib/build/bin/obj2yaml+0x64307f)
#10 0x0000000000648f26 llvm::yaml::MappingTraits<llvm::ELFYAML::Object>::mapping(llvm::yaml::IO&, llvm::ELFYAML::Object&) (/b/1/llvm-x86_64-debian-dylib/build/bin/obj2yaml+0x648f26)
#11 0x000000000042432b elf2yaml(llvm::raw_ostream&, llvm::object::ObjectFile const&) (/b/1/llvm-x86_64-debian-dylib/build/bin/obj2yaml+0x42432b)
#12 0x000000000040e867 main (/b/1/llvm-x86_64-debian-dylib/build/bin/obj2yaml+0x40e867)
#13 0x00007fc860da8d7a __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d7a)
#14 0x000000000040b3ea _start (/b/1/llvm-x86_64-debian-dylib/build/bin/obj2yaml+0x40b3ea)
/b/1/llvm-x86_64-debian-dylib/build/tools/clang/test/Driver/Output/clang-offload-bundler.c.script: line 248: 2655727 Aborted                 obj2yaml /b/1/llvm-x86_64-debian-dylib/build/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.o > /b/1/llvm-x86_64-debian-dylib/build/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.o.yaml

--

********************

Step 7 (test-build-unified-tree-check-llvm) failure: test (failure)
******************** TEST 'LLVM :: DebugInfo/ARM/dwarfdump-rela.yaml' FAILED ********************
Exit Code: 134

Command Output (stderr):
--
/b/1/llvm-x86_64-debian-dylib/build/bin/yaml2obj /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/DebugInfo/ARM/dwarfdump-rela.yaml -o /b/1/llvm-x86_64-debian-dylib/build/test/DebugInfo/ARM/Output/dwarfdump-rela.yaml.tmp # RUN: at line 3
+ /b/1/llvm-x86_64-debian-dylib/build/bin/yaml2obj /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/DebugInfo/ARM/dwarfdump-rela.yaml -o /b/1/llvm-x86_64-debian-dylib/build/test/DebugInfo/ARM/Output/dwarfdump-rela.yaml.tmp
yaml2obj: /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/include/llvm/Support/YAMLTraits.h:1680: void llvm::yaml::IO::processKeyWithDefault(const char *, std::optional<T> &, const std::optional<T> &, bool, Context &) [T = llvm::ELFYAML::ELF_EF, Context = llvm::yaml::EmptyContext]: Assertion `!DefaultValue && "std::optional<T> shouldn't have a value!"' failed.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0.	Program arguments: /b/1/llvm-x86_64-debian-dylib/build/bin/yaml2obj /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/DebugInfo/ARM/dwarfdump-rela.yaml -o /b/1/llvm-x86_64-debian-dylib/build/test/DebugInfo/ARM/Output/dwarfdump-rela.yaml.tmp
 #0 0x0000000000570917 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/1/llvm-x86_64-debian-dylib/build/bin/yaml2obj+0x570917)
 #1 0x000000000056e095 llvm::sys::RunSignalHandlers() (/b/1/llvm-x86_64-debian-dylib/build/bin/yaml2obj+0x56e095)
 #2 0x000000000057163a SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
 #3 0x00007f636b21b140 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x13140)
 #4 0x00007f636ad2fd61 raise (/lib/x86_64-linux-gnu/libc.so.6+0x38d61)
 #5 0x00007f636ad19537 abort (/lib/x86_64-linux-gnu/libc.so.6+0x22537)
 #6 0x00007f636ad1940f (/lib/x86_64-linux-gnu/libc.so.6+0x2240f)
 #7 0x00007f636ad286e2 (/lib/x86_64-linux-gnu/libc.so.6+0x316e2)
 #8 0x00000000004891f4 void llvm::yaml::IO::processKeyWithDefault<llvm::ELFYAML::ELF_EF, llvm::yaml::EmptyContext>(char const*, std::optional<llvm::ELFYAML::ELF_EF>&, std::optional<llvm::ELFYAML::ELF_EF> const&, bool, llvm::yaml::EmptyContext&) (/b/1/llvm-x86_64-debian-dylib/build/bin/yaml2obj+0x4891f4)
 #9 0x00000000004759ef llvm::yaml::MappingTraits<llvm::ELFYAML::FileHeader>::mapping(llvm::yaml::IO&, llvm::ELFYAML::FileHeader&) (/b/1/llvm-x86_64-debian-dylib/build/bin/yaml2obj+0x4759ef)
#10 0x000000000047b896 llvm::yaml::MappingTraits<llvm::ELFYAML::Object>::mapping(llvm::yaml::IO&, llvm::ELFYAML::Object&) (/b/1/llvm-x86_64-debian-dylib/build/bin/yaml2obj+0x47b896)
#11 0x000000000040e40e llvm::yaml::convertYAML(llvm::yaml::Input&, llvm::raw_ostream&, llvm::function_ref<void (llvm::Twine const&)>, unsigned int, unsigned long) (/b/1/llvm-x86_64-debian-dylib/build/bin/yaml2obj+0x40e40e)
#12 0x000000000040c238 main (/b/1/llvm-x86_64-debian-dylib/build/bin/yaml2obj+0x40c238)
#13 0x00007f636ad1ad7a __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d7a)
#14 0x000000000040abca _start (/b/1/llvm-x86_64-debian-dylib/build/bin/yaml2obj+0x40abca)
/b/1/llvm-x86_64-debian-dylib/build/test/DebugInfo/ARM/Output/dwarfdump-rela.yaml.script: line 2: 2912138 Aborted                 /b/1/llvm-x86_64-debian-dylib/build/bin/yaml2obj /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/DebugInfo/ARM/dwarfdump-rela.yaml -o /b/1/llvm-x86_64-debian-dylib/build/test/DebugInfo/ARM/Output/dwarfdump-rela.yaml.tmp

--

********************

Step 8 (test-build-unified-tree-check-lld) failure: test (failure)
******************** TEST 'lld :: ELF/aarch64-cmse.s' FAILED ********************
Exit Code: 134

Command Output (stderr):
--
/b/1/llvm-x86_64-debian-dylib/build/bin/yaml2obj /b/1/llvm-x86_64-debian-dylib/llvm-project/lld/test/ELF/aarch64-cmse.s -o /b/1/llvm-x86_64-debian-dylib/build/tools/lld/test/ELF/Output/aarch64-cmse.s.tmp.o # RUN: at line 2
+ /b/1/llvm-x86_64-debian-dylib/build/bin/yaml2obj /b/1/llvm-x86_64-debian-dylib/llvm-project/lld/test/ELF/aarch64-cmse.s -o /b/1/llvm-x86_64-debian-dylib/build/tools/lld/test/ELF/Output/aarch64-cmse.s.tmp.o
yaml2obj: /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/include/llvm/Support/YAMLTraits.h:1680: void llvm::yaml::IO::processKeyWithDefault(const char *, std::optional<T> &, const std::optional<T> &, bool, Context &) [T = llvm::ELFYAML::ELF_EF, Context = llvm::yaml::EmptyContext]: Assertion `!DefaultValue && "std::optional<T> shouldn't have a value!"' failed.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0.	Program arguments: /b/1/llvm-x86_64-debian-dylib/build/bin/yaml2obj /b/1/llvm-x86_64-debian-dylib/llvm-project/lld/test/ELF/aarch64-cmse.s -o /b/1/llvm-x86_64-debian-dylib/build/tools/lld/test/ELF/Output/aarch64-cmse.s.tmp.o
 #0 0x0000000000570917 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/1/llvm-x86_64-debian-dylib/build/bin/yaml2obj+0x570917)
 #1 0x000000000056e095 llvm::sys::RunSignalHandlers() (/b/1/llvm-x86_64-debian-dylib/build/bin/yaml2obj+0x56e095)
 #2 0x000000000057163a SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
 #3 0x00007f2855eb9140 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x13140)
 #4 0x00007f28559cdd61 raise (/lib/x86_64-linux-gnu/libc.so.6+0x38d61)
 #5 0x00007f28559b7537 abort (/lib/x86_64-linux-gnu/libc.so.6+0x22537)
 #6 0x00007f28559b740f (/lib/x86_64-linux-gnu/libc.so.6+0x2240f)
 #7 0x00007f28559c66e2 (/lib/x86_64-linux-gnu/libc.so.6+0x316e2)
 #8 0x00000000004891f4 void llvm::yaml::IO::processKeyWithDefault<llvm::ELFYAML::ELF_EF, llvm::yaml::EmptyContext>(char const*, std::optional<llvm::ELFYAML::ELF_EF>&, std::optional<llvm::ELFYAML::ELF_EF> const&, bool, llvm::yaml::EmptyContext&) (/b/1/llvm-x86_64-debian-dylib/build/bin/yaml2obj+0x4891f4)
 #9 0x00000000004759ef llvm::yaml::MappingTraits<llvm::ELFYAML::FileHeader>::mapping(llvm::yaml::IO&, llvm::ELFYAML::FileHeader&) (/b/1/llvm-x86_64-debian-dylib/build/bin/yaml2obj+0x4759ef)
#10 0x000000000047b896 llvm::yaml::MappingTraits<llvm::ELFYAML::Object>::mapping(llvm::yaml::IO&, llvm::ELFYAML::Object&) (/b/1/llvm-x86_64-debian-dylib/build/bin/yaml2obj+0x47b896)
#11 0x000000000040e40e llvm::yaml::convertYAML(llvm::yaml::Input&, llvm::raw_ostream&, llvm::function_ref<void (llvm::Twine const&)>, unsigned int, unsigned long) (/b/1/llvm-x86_64-debian-dylib/build/bin/yaml2obj+0x40e40e)
#12 0x000000000040c238 main (/b/1/llvm-x86_64-debian-dylib/build/bin/yaml2obj+0x40c238)
#13 0x00007f28559b8d7a __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d7a)
#14 0x000000000040abca _start (/b/1/llvm-x86_64-debian-dylib/build/bin/yaml2obj+0x40abca)
/b/1/llvm-x86_64-debian-dylib/build/tools/lld/test/ELF/Output/aarch64-cmse.s.script: line 4: 3181886 Aborted                 /b/1/llvm-x86_64-debian-dylib/build/bin/yaml2obj /b/1/llvm-x86_64-debian-dylib/llvm-project/lld/test/ELF/aarch64-cmse.s -o /b/1/llvm-x86_64-debian-dylib/build/tools/lld/test/ELF/Output/aarch64-cmse.s.tmp.o

--

********************


mahesh-attarde pushed a commit to mahesh-attarde/llvm-project that referenced this pull request Jul 28, 2025
mahesh-attarde pushed a commit to mahesh-attarde/llvm-project that referenced this pull request Jul 28, 2025
…eld (llvm#143845)"

This reverts commit 0b054e2.
Breaks many tests, see comments on llvm#143845.
aakanksha555 added a commit that referenced this pull request Jul 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants