diff options
author | David Blaikie <dblaikie@gmail.com> | 2019-01-24 03:27:57 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2019-01-24 03:27:57 +0000 |
commit | 7b585673d1d89690703ec1e71a197eb7ef4a162b (patch) | |
tree | 5bcdaf80eb325891b8c506af23825c466e9da879 /llvm/lib/CodeGen/AsmPrinter/AddressPool.h | |
parent | c414065013f946639e4f135634aa28e1e9a49772 (diff) | |
download | bcm5719-llvm-7b585673d1d89690703ec1e71a197eb7ef4a162b.tar.gz bcm5719-llvm-7b585673d1d89690703ec1e71a197eb7ef4a162b.zip |
DebugInfo: Use assembly label arithmetic for address pool size for easier reading/editing
Recommits 350048, 350050 That broke buildbots because of some typos in
the test case.
llvm-svn: 352019
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/AddressPool.h')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/AddressPool.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AddressPool.h b/llvm/lib/CodeGen/AsmPrinter/AddressPool.h index 9ee98e56d3c..f92cf72093c 100644 --- a/llvm/lib/CodeGen/AsmPrinter/AddressPool.h +++ b/llvm/lib/CodeGen/AsmPrinter/AddressPool.h @@ -54,7 +54,7 @@ public: void setLabel(MCSymbol *Sym) { AddressTableBaseSym = Sym; } private: - void emitHeader(AsmPrinter &Asm, MCSection *Section); + MCSymbol *emitHeader(AsmPrinter &Asm, MCSection *Section); /// Symbol designates the start of the contribution to the address table. MCSymbol *AddressTableBaseSym = nullptr; |