[all-commits] [llvm/llvm-project] aaa5a5: DebugInfo: Include DW_AT_base_addr even in gmlt wi...
David Blaikie via All-commits
all-commits at lists.llvm.org
Wed Dec 18 17:14:54 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: aaa5a5e7ff1aee632aae75311e7c044f710dd0a0
https://github.com/llvm/llvm-project/commit/aaa5a5e7ff1aee632aae75311e7c044f710dd0a0
Author: David Blaikie <dblaikie at gmail.com>
Date: 2019-12-18 (Wed, 18 Dec 2019)
Changed paths:
M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
A llvm/test/DebugInfo/X86/gmlt-empty-base-address.ll
Log Message:
-----------
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.
More information about the All-commits
mailing list