aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2019-10-24 19:48:42 -0700
committerDavid Blaikie <dblaikie@gmail.com>2021-01-27 14:00:43 -0800
commit7e6c87ee045497ee0b6b7e55e54921b274e8a9f2 (patch)
tree4ac6c9f8c2fa34f6836c4be089bab958e5184c09 /clang/lib/Frontend/CompilerInvocation.cpp
parenta7246ba02a8923f316419a62d836dbe1c0b437bd (diff)
downloadllvm-7e6c87ee045497ee0b6b7e55e54921b274e8a9f2.zip
llvm-7e6c87ee045497ee0b6b7e55e54921b274e8a9f2.tar.gz
llvm-7e6c87ee045497ee0b6b7e55e54921b274e8a9f2.tar.bz2
DebugInfo: Deduplicate addresses in debug_addr
Experimental, using non-existent DWARF support to use an expr for the location involving an addr_index (to compute address + offset so addresses can be reused in more places). The global variable debug info had to be deferred until the end of the module (so bss variables would all be emitted first - so their labels would have the relevant section). Non-bss variables seemed to not have their label assigned to a section even at the end of the module, so I didn't know what to do there. Also, the hashing code is broken - doesn't know how to hash these expressions (& isn't hashing anything inside subprograms, which seems problematic), so for test purposes this change just skips the hash computation. (GCC's actually overly sensitive in its hash function, it seems - I'm forgetting the specific case right now - anyway, we might want to just use the frontend-known file hash and give up on optimistic .dwo/.dwp reuse)
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions