diff options
author | Greg Clayton <gclayton@fb.com> | 2024-06-24 09:59:59 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-24 09:59:59 -0700 |
commit | 3b5b814647ef83ab763cf7871b6d74edfca67438 (patch) | |
tree | fa3ee5ca9977077d2a632f3c36dcfa66209531aa /llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp | |
parent | 9ab292d72651c6dda098a653320f7fbb3624b778 (diff) | |
download | llvm-3b5b814647ef83ab763cf7871b6d74edfca67438.zip llvm-3b5b814647ef83ab763cf7871b6d74edfca67438.tar.gz llvm-3b5b814647ef83ab763cf7871b6d74edfca67438.tar.bz2 |
Add support for using foreign type units in .debug_names. (#87740)
This patch adds support for the new foreign type unit support in
.debug_names. Features include:
- don't manually index foreign TUs if we have info for them
- only use the type unit entries that match the .dwo files when we have
a .dwp file
- fix type unit lookups for .dwo files
- fix crashers that happen due to PeekDIEName() using wrong offsets where an entry had DW_IDX_comp_unit and DW_IDX_type_unit entries and when we had no type unit support, it would cause us to think it was a normal DIE in .debug_info from the main executable.
---------
Co-authored-by: paperchalice <liujunchang97@outlook.com>
Diffstat (limited to 'llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp')
0 files changed, 0 insertions, 0 deletions