aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-10 18:05:55 +0000
committerChris Lattner <sabre@nondot.org>2009-08-10 18:05:55 +0000
commite15c2d7ce575a6212369b9b1477694b998b40a88 (patch)
treec80da73722d993b0de83880a3c447979a9ae022e
parentf3231de60bb64c3f6fc6770b3e6174f4f839a4f3 (diff)
add a fixme
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78575 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--tools/llvm-mc/AsmParser.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/llvm-mc/AsmParser.cpp b/tools/llvm-mc/AsmParser.cpp
index 153cdde779..6eb30c76fe 100644
--- a/tools/llvm-mc/AsmParser.cpp
+++ b/tools/llvm-mc/AsmParser.cpp
@@ -723,6 +723,10 @@ bool AsmParser::ParseDirectiveDarwinSection() {
return false;
}
+/// ParseDirectiveSectionSwitch -
+///
+/// FIXME! Many of these directives implicitly cause a ".align" directive to get
+/// emitted, we don't do this yet which can lead to subtle miscompiles.
bool AsmParser::ParseDirectiveSectionSwitch(const char *Segment,
const char *Section,
unsigned TAA, unsigned StubSize) {