mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-11 07:18:44 +00:00
Don't map registers to the invalid dwarf register (-1). It's the default value.
X86GenRegisterInfo.inc | 1032 ------------------------------------------------- 1 file changed, 1032 deletions(-) llvm-svn: 150080
This commit is contained in:
parent
39fcf7dc1b
commit
38ab261390
@ -187,6 +187,9 @@ RegisterInfoEmitter::EmitRegMapping(raw_ostream &OS,
|
||||
for (DwarfRegNumsMapTy::iterator
|
||||
I = DwarfRegNums.begin(), E = DwarfRegNums.end(); I != E; ++I) {
|
||||
int RegNo = I->second[i];
|
||||
if (RegNo == -1) // -1 is the default value, don't emit a mapping.
|
||||
continue;
|
||||
|
||||
OS << " ";
|
||||
if (!isCtor)
|
||||
OS << "RI->";
|
||||
|
Loading…
x
Reference in New Issue
Block a user