aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@fb.com>2025-09-25 14:06:48 -0700
committerGitHub <noreply@github.com>2025-09-25 14:06:48 -0700
commit4193a90b4263ff8c9599b921882cfbd7052b8571 (patch)
tree95887b176292601d0b53f30ec6b23bc5dae94807 /llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
parenta85d3a53d306d6624f20b528cf783de778392347 (diff)
downloadllvm-4193a90b4263ff8c9599b921882cfbd7052b8571.zip
llvm-4193a90b4263ff8c9599b921882cfbd7052b8571.tar.gz
llvm-4193a90b4263ff8c9599b921882cfbd7052b8571.tar.bz2
Modify ObjectFileELF so it can load notes from PT_NOTE segments. (#160652)
The ObjectFileELF parser was not able to load ELF notes from PT_NOTE program headers. This patch fixes ObjectFileELF::GetUUID() to check the program header and parse the notes in any PT_NOTE segments. This will allow memory ELF files to extract the UUID from an in memory image that has no section headers. Added a test that creates an ELF file, strips all section headers, and then makes sure that LLDB can see the UUID value.
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp')
0 files changed, 0 insertions, 0 deletions