Use pointer-wide encoding for LSDA and FDE on Darwin.

Hopefully, this will fix the remaining issues seen there.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96454 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Anton Korobeynikov 2010-02-17 05:53:11 +00:00
parent d9c1a344a0
commit 4e9c6dfb8b

View File

@ -154,11 +154,11 @@ unsigned X8632_MachoTargetObjectFile::getPersonalityEncoding() const {
}
unsigned X8632_MachoTargetObjectFile::getLSDAEncoding() const {
return DW_EH_PE_pcrel | DW_EH_PE_sdata4;
return DW_EH_PE_pcrel;
}
unsigned X8632_MachoTargetObjectFile::getFDEEncoding() const {
return DW_EH_PE_pcrel | DW_EH_PE_sdata4;
return DW_EH_PE_pcrel;
}
unsigned X8632_MachoTargetObjectFile::getTTypeEncoding() const {
@ -170,11 +170,11 @@ unsigned X8664_MachoTargetObjectFile::getPersonalityEncoding() const {
}
unsigned X8664_MachoTargetObjectFile::getLSDAEncoding() const {
return DW_EH_PE_pcrel | DW_EH_PE_sdata4;
return DW_EH_PE_pcrel;
}
unsigned X8664_MachoTargetObjectFile::getFDEEncoding() const {
return DW_EH_PE_pcrel | DW_EH_PE_sdata4;
return DW_EH_PE_pcrel;
}
unsigned X8664_MachoTargetObjectFile::getTTypeEncoding() const {