aboutsummaryrefslogtreecommitdiffstats
path: root/lib/MC
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-05-21 23:03:53 +0000
committerEric Christopher <echristo@apple.com>2010-05-21 23:03:53 +0000
commitd368f9f895473b50cd9fcce232bd647c95cd78f6 (patch)
tree75a53bdd63007ee4e2f4e871f35eecd61f219ac3 /lib/MC
parent5350f0c153a8a67acc5143c6eb0ea301fbe06089 (diff)
downloadexternal_llvm-d368f9f895473b50cd9fcce232bd647c95cd78f6.zip
external_llvm-d368f9f895473b50cd9fcce232bd647c95cd78f6.tar.gz
external_llvm-d368f9f895473b50cd9fcce232bd647c95cd78f6.tar.bz2
Expand on comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104396 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC')
-rw-r--r--lib/MC/MCMachOStreamer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/MC/MCMachOStreamer.cpp b/lib/MC/MCMachOStreamer.cpp
index 4329221..660284e 100644
--- a/lib/MC/MCMachOStreamer.cpp
+++ b/lib/MC/MCMachOStreamer.cpp
@@ -353,7 +353,8 @@ void MCMachOStreamer::EmitZerofill(const MCSection *Section, MCSymbol *Symbol,
SectData.setAlignment(ByteAlignment);
}
-// This should always be called with the thread local bss section.
+// This should always be called with the thread local bss section. Like the
+// .zerofill directive this doesn't actually switch sections on us.
void MCMachOStreamer::EmitTBSSSymbol(const MCSection *Section, MCSymbol *Symbol,
uint64_t Size, unsigned ByteAlignment) {
EmitZerofill(Section, Symbol, Size, ByteAlignment);