aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2007-11-12 23:36:13 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2007-11-12 23:36:13 +0000
commite0a86ca47a9739811f5ccadd5dd0b193a6652576 (patch)
tree39f4c23e6d37776e9ba6fadd201fd34275894e13 /lib/Target
parentea37730b1e060a50a6ac463c5fea7bf85de7015e (diff)
downloadexternal_llvm-e0a86ca47a9739811f5ccadd5dd0b193a6652576.zip
external_llvm-e0a86ca47a9739811f5ccadd5dd0b193a6652576.tar.gz
external_llvm-e0a86ca47a9739811f5ccadd5dd0b193a6652576.tar.bz2
Completely forgot, that we have some debug information emission on PPC. This should fix
some regressions on ppc nightly tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44029 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r--lib/Target/PowerPC/PPCRegisterInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/PowerPC/PPCRegisterInfo.cpp b/lib/Target/PowerPC/PPCRegisterInfo.cpp
index 01c578b..cac3d79 100644
--- 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"