diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-26 21:53:08 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-26 21:53:08 +0000 |
commit | c618c8aff46a8ec4d209d041404e780a0caaf77d (patch) | |
tree | a935d9ba1ccdfcd4852b459cafe60b7e797907ff /lib/CodeGen/AsmPrinter/DwarfPrinter.cpp | |
parent | 0b68a009f63412d4aa7c5f2d68b899e6e1dcc257 (diff) |
emit jump table an alias ".set" directives through MCStreamer as
assignments.
.set x, a-b
is the same as:
x = a-b
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94596 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfPrinter.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfPrinter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp b/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp index f659c51908..415390bc28 100644 --- a/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp @@ -201,6 +201,7 @@ void DwarfPrinter::EmitDifference(const char *TagHi, unsigned NumberHi, const char *TagLo, unsigned NumberLo, bool IsSmall) { if (MAI->hasSetDirective()) { + // FIXME: switch to OutStreamer.EmitAssignment. O << "\t.set\t"; PrintLabelName("set", SetCounter, Flavor); O << ","; @@ -232,6 +233,7 @@ void DwarfPrinter::EmitSectionOffset(const char* Label, const char* Section, printAbsolute = MAI->isAbsoluteDebugSectionOffsets(); if (MAI->hasSetDirective() && useSet) { + // FIXME: switch to OutStreamer.EmitAssignment. O << "\t.set\t"; PrintLabelName("set", SetCounter, Flavor); O << ","; |