mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-05 12:31:33 +00:00
Fix Name Access
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
This commit is contained in:
parent
41effc6c15
commit
a461c39826
@ -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]->getNameInitAsString();
|
||||
}
|
||||
OS << "\n";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user