summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/AddressPool.h
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2018-12-24 07:35:10 +0000
committerDavid Blaikie <dblaikie@gmail.com>2018-12-24 07:35:10 +0000
commite20bf9ab91e44747471ca2c1f76bd4f830e222b4 (patch)
tree2b51ebea4ea716d1b8bdeed5bacc1b7d99dbc8a1 /llvm/lib/CodeGen/AsmPrinter/AddressPool.h
parentd671eb7e7c7796c679f71bc117b0561b57d246cd (diff)
downloadbcm5719-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.h2
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
OpenPOWER on IntegriCloud