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

@@ -350,7 +350,7 @@ unsigned TargetLoweringObjectFile::getLSDAEncoding() const {
return dwarf::DW_EH_PE_absptr;
}
unsigned TargetLoweringObjectFile::getFDEEncoding() const {
unsigned TargetLoweringObjectFile::getFDEEncoding(bool CFI) const {
return dwarf::DW_EH_PE_absptr;
}