OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be2d4e7
)
Fixed a crash in the enhanced disassembler where
author
Sean Callanan
<scallanan@apple.com>
Thu, 23 Sep 2010 02:14:12 +0000
(
02:14
+0000)
committer
Sean Callanan
<scallanan@apple.com>
Thu, 23 Sep 2010 02:14:12 +0000
(
02:14
+0000)
because of the lack of a newline, AsmToken::Eof
was being found instead of AsmToken::EndOfStatement.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114621
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/MC/MCDisassembler/EDInst.cpp
patch
|
blob
|
history
diff --git
a/lib/MC/MCDisassembler/EDInst.cpp
b/lib/MC/MCDisassembler/EDInst.cpp
index
e22408f
..
63b049f
100644
(file)
--- a/
lib/MC/MCDisassembler/EDInst.cpp
+++ b/
lib/MC/MCDisassembler/EDInst.cpp
@@
-62,6
+62,8
@@
int EDInst::stringify() {
if (Disassembler.printInst(String, *Inst))
return StringifyResult.setResult(-1);
+
+ String.push_back('\n');
return StringifyResult.setResult(0);
}