From 8214ee8973af69041bde92bc56b7b9e262932ec2 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Tue, 18 May 2010 21:16:04 +0000 Subject: Make EmitTBSSSymbol take a section argument so that we can find it later. Fix up callers and users. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104057 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/MC/MCStreamer.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/llvm/MC/MCStreamer.h') diff --git a/include/llvm/MC/MCStreamer.h b/include/llvm/MC/MCStreamer.h index 400f4c0..389b1e9 100644 --- a/include/llvm/MC/MCStreamer.h +++ b/include/llvm/MC/MCStreamer.h @@ -190,12 +190,13 @@ namespace llvm { /// EmitTBSSSymbol - Emit a thread local bss (.tbss) symbol. /// + /// @param Section - The thread local common section. /// @param Symbol - The thread local common symbol to emit. /// @param Size - The size of the symbol. /// @param ByteAlignment - The alignment of the thread local common symbol /// if non-zero. This must be a power of 2 on some targets. - virtual void EmitTBSSSymbol(MCSymbol *Symbol, uint64_t Size, - unsigned ByteAlignment = 0) = 0; + virtual void EmitTBSSSymbol(const MCSection *Section, MCSymbol *Symbol, + uint64_t Size, unsigned ByteAlignment = 0) = 0; /// @} /// @name Generating Data /// @{ -- cgit v1.1