projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d24957
)
Forgot to check that debug information is supported.
author
Bill Wendling
<isanbard@gmail.com>
Thu, 19 Feb 2009 08:06:12 +0000
(08:06 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Thu, 19 Feb 2009 08:06:12 +0000
(08:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65034
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/AsmWriterEmitter.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/AsmWriterEmitter.cpp
b/utils/TableGen/AsmWriterEmitter.cpp
index 3b66b94525c6226ac4a534c1ca5929a8e3695e96..6d2fa5578c9c7e99f40744ae7955d632e5e574ab 100644
(file)
--- a/
utils/TableGen/AsmWriterEmitter.cpp
+++ b/
utils/TableGen/AsmWriterEmitter.cpp
@@
-640,7
+640,7
@@
void AsmWriterEmitter::run(std::ostream &O) {
}
O << "\";\n\n";
- O << " {\n"
+ O << "
if (TAI->doesSupportDebugInformation())
{\n"
<< " const MachineFunction *MF = MI->getParent()->getParent();\n"
<< " static DebugLoc PrevDL = DebugLoc::getUnknownLoc();\n"
<< " DebugLoc CurDL = MI->getDebugLoc();\n\n"
@@
-649,7
+649,7
@@
void AsmWriterEmitter::run(std::ostream &O) {
<< " printLabel(DW->RecordSourceLine(DLT.Line, DLT.Col, DLT.Src));\n"
<< " }\n\n"
<< " PrevDL = CurDL;\n"
- << " }\n";
+ << " }\n
\n
";
O << " if (MI->getOpcode() == TargetInstrInfo::INLINEASM) {\n"
<< " O << \"\\t\";\n"