aboutsummaryrefslogtreecommitdiffstats
path: root/lib/MC/MCMachOStreamer.cpp
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
commit070c1abbc9b78fd8eef9365c5e776a13b64b9631 (patch)
tree75a53bdd63007ee4e2f4e871f35eecd61f219ac3 /lib/MC/MCMachOStreamer.cpp
parent9d31d79493be05ab9cbf5b7fb16b52e79712eff3 (diff)
downloadexternal_llvm-070c1abbc9b78fd8eef9365c5e776a13b64b9631.zip
external_llvm-070c1abbc9b78fd8eef9365c5e776a13b64b9631.tar.gz
external_llvm-070c1abbc9b78fd8eef9365c5e776a13b64b9631.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/MCMachOStreamer.cpp')
-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);