diff options
author | David Blaikie <dblaikie@gmail.com> | 2019-12-18 17:10:24 -0800 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2019-12-18 17:14:28 -0800 |
commit | aaa5a5e7ff1aee632aae75311e7c044f710dd0a0 (patch) | |
tree | 4f6f3c2a0c3620ab805ef18807cc4b89db8e83c9 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 553a727f5f6407fb6db7ac2dae5f5b2a536d38fc (diff) | |
download | llvm-aaa5a5e7ff1aee632aae75311e7c044f710dd0a0.zip llvm-aaa5a5e7ff1aee632aae75311e7c044f710dd0a0.tar.gz llvm-aaa5a5e7ff1aee632aae75311e7c044f710dd0a0.tar.bz2 |
DebugInfo: Include DW_AT_base_addr even in gmlt with no inline functions
Since the address pool doesn't get populated in this case (due to the
lack of inlining, no child DIEs are added to the CU - so no addresses
are needed for the DIEs themselves) until the range list is emitted - at
the time the attributes are added to the CU, the address pool is empty.
So check whether the address pool will be used for the range lists & add
an addr_base if that's the case.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions