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:
753a987
)
Completely forgot, that we have some debug information emission on PPC. This should fix
author
Anton Korobeynikov
<asl@math.spbu.ru>
Mon, 12 Nov 2007 23:36:13 +0000
(23:36 +0000)
committer
Anton Korobeynikov
<asl@math.spbu.ru>
Mon, 12 Nov 2007 23:36:13 +0000
(23:36 +0000)
some regressions on ppc nightly tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44029
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPCRegisterInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCRegisterInfo.cpp
b/lib/Target/PowerPC/PPCRegisterInfo.cpp
index 01c578b2ee6fb822942089c00e9695442579ee6c..cac3d7956ba5a3fc957306063e34c15759acbdbc 100644
(file)
--- a/
lib/Target/PowerPC/PPCRegisterInfo.cpp
+++ b/
lib/Target/PowerPC/PPCRegisterInfo.cpp
@@
-1278,8
+1278,8
@@
unsigned PPCRegisterInfo::getEHHandlerRegister() const {
}
int PPCRegisterInfo::getDwarfRegNum(unsigned RegNum) const {
- assert(0 && "What is the dwarf register number");
- return
-1
;
+ // FIXME: Most probably dwarf numbers differs for Linux and Darwin
+ return
PPCGenRegisterInfo::getDwarfRegNumFull(RegNum, 0)
;
}
#include "PPCGenRegisterInfo.inc"