GCC uses a different encoding of pointers in the FDE when using

-fno-dwarf2-cfi-asm. Implement the same behavior.

llvm-svn: 130637
This commit is contained in:
Rafael Espindola
2011-05-01 04:49:54 +00:00
parent af538d9ee6
commit 750cb61553
13 changed files with 76 additions and 24 deletions

View File

@@ -879,7 +879,7 @@ unsigned TargetLoweringObjectFileMachO::getLSDAEncoding() const {
return DW_EH_PE_pcrel;
}
unsigned TargetLoweringObjectFileMachO::getFDEEncoding() const {
unsigned TargetLoweringObjectFileMachO::getFDEEncoding(bool CFI) const {
return DW_EH_PE_pcrel;
}