aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/BinaryFormat/Dwarf.cpp
diff options
context:
space:
mode:
authorDavid Stenberg <david.stenberg@ericsson.com>2020-08-11 10:53:38 +0200
committerDavid Stenberg <david.stenberg@ericsson.com>2020-08-11 13:30:52 +0200
commit2892ed6d0fa9545df8c2d846a1fdaa948c4571d9 (patch)
treee5e9ccc0620a7c77d2bd3fb1edef5b15458f2875 /llvm/lib/BinaryFormat/Dwarf.cpp
parenta73008c1aed2d712d9683aa2f01f8ce0096d21bc (diff)
downloadllvm-2892ed6d0fa9545df8c2d846a1fdaa948c4571d9.zip
llvm-2892ed6d0fa9545df8c2d846a1fdaa948c4571d9.tar.gz
llvm-2892ed6d0fa9545df8c2d846a1fdaa948c4571d9.tar.bz2
[DebugInfo] Introduce GNU macro extension entry encodings
This is a preparatory patch for allowing the GNU .debug_macro extension, which is a precursor to the DWARF 5 format, to be emitted by LLVM for earlier DWARF versions. The entries share the same encoding and behavior as in DWARF5; there are just more entries in the DWARF 5 format. Therefore, we could have used those existing DWARF 5 entries, but I think that explicitly referring to the GNU macro variants makes the code more clear. The defines that this patch introduces can be found in GCC in the dwarf2.h header: https://gcc.gnu.org/git/?p=gcc.git;a=blob; f=include/dwarf2.h; h=0b6facfd4cf4c02320c7328114231b128ab42d5e; hb=dccbf1e2a6e544f71b4a5795f0c79015db019fc3#l425 Reviewed By: dblaikie Differential Revision: https://reviews.llvm.org/D82972
Diffstat (limited to 'llvm/lib/BinaryFormat/Dwarf.cpp')
0 files changed, 0 insertions, 0 deletions