diff options
author | David Blaikie <dblaikie@gmail.com> | 2018-12-24 07:35:10 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2018-12-24 07:35:10 +0000 |
commit | e20bf9ab91e44747471ca2c1f76bd4f830e222b4 (patch) | |
tree | 2b51ebea4ea716d1b8bdeed5bacc1b7d99dbc8a1 /llvm/lib/CodeGen/AsmPrinter/AddressPool.h | |
parent | d671eb7e7c7796c679f71bc117b0561b57d246cd (diff) | |
download | bcm5719-llvm-e20bf9ab91e44747471ca2c1f76bd4f830e222b4.tar.gz bcm5719-llvm-e20bf9ab91e44747471ca2c1f76bd4f830e222b4.zip |
DebugInfo: Use assembly label arithmetic for address pool size for easier reading/editing
llvm-svn: 350048
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/AddressPool.h')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/AddressPool.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AddressPool.h b/llvm/lib/CodeGen/AsmPrinter/AddressPool.h index 2209c7eb50e..e1bf3e9ae58 100644 --- a/llvm/lib/CodeGen/AsmPrinter/AddressPool.h +++ b/llvm/lib/CodeGen/AsmPrinter/AddressPool.h @@ -30,6 +30,8 @@ class AddressPool { }; DenseMap<const MCSymbol *, AddressPoolEntry> Pool; + MCSymbol *EndLabel; + /// Record whether the AddressPool has been queried for an address index since /// the last "resetUsedFlag" call. Used to implement type unit fallback - a /// type that references addresses cannot be placed in a type unit when using |