diff options
author | Eric Christopher <echristo@apple.com> | 2010-05-18 21:16:04 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2010-05-18 21:16:04 +0000 |
commit | 8214ee8973af69041bde92bc56b7b9e262932ec2 (patch) | |
tree | 91a17f787461c04a71b94a9d340bb31f7f98a55d /include/llvm/MC/MCStreamer.h | |
parent | 64f3a9433186f879b5ab6db10ab1c630cf210be6 (diff) | |
download | external_llvm-8214ee8973af69041bde92bc56b7b9e262932ec2.zip external_llvm-8214ee8973af69041bde92bc56b7b9e262932ec2.tar.gz external_llvm-8214ee8973af69041bde92bc56b7b9e262932ec2.tar.bz2 |
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
Diffstat (limited to 'include/llvm/MC/MCStreamer.h')
-rw-r--r-- | include/llvm/MC/MCStreamer.h | 5 |
1 files changed, 3 insertions, 2 deletions
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 /// @{ |