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:
41effc6
)
Fix Name Access
author
David Greene
<greened@obbligato.org>
Wed, 19 Oct 2011 13:03:02 +0000
(13:03 +0000)
committer
David Greene
<greened@obbligato.org>
Wed, 19 Oct 2011 13:03:02 +0000
(13:03 +0000)
Ask for the Record name as a string explicitly to avoid a possible assert.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142506
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/TableGen/Record.cpp
patch
|
blob
|
history
diff --git
a/lib/TableGen/Record.cpp
b/lib/TableGen/Record.cpp
index
f26d400
..
c92f1b2
100644
(file)
--- a/
lib/TableGen/Record.cpp
+++ b/
lib/TableGen/Record.cpp
@@
-1789,7
+1789,7
@@
raw_ostream &llvm::operator<<(raw_ostream &OS, const Record &R) {
if (!SC.empty()) {
OS << "\t//";
for (unsigned i = 0, e = SC.size(); i != e; ++i)
- OS << " " << SC[i]->getName();
+ OS << " " << SC[i]->getName
InitAsString
();
}
OS << "\n";