Changeset View
Changeset View
Standalone View
Standalone View
lib/MC/MCObjectFileInfo.cpp
Show First 20 Lines • Show All 389 Lines • ▼ Show 20 Lines | case Triple::mips64el: | ||||
// generated for relocation. | // generated for relocation. | ||||
PersonalityEncoding = dwarf::DW_EH_PE_indirect; | PersonalityEncoding = dwarf::DW_EH_PE_indirect; | ||||
// FIXME: The N64 ABI probably ought to use DW_EH_PE_sdata8 but we can't | // FIXME: The N64 ABI probably ought to use DW_EH_PE_sdata8 but we can't | ||||
// identify N64 from just a triple. | // identify N64 from just a triple. | ||||
TTypeEncoding = dwarf::DW_EH_PE_indirect | dwarf::DW_EH_PE_pcrel | | TTypeEncoding = dwarf::DW_EH_PE_indirect | dwarf::DW_EH_PE_pcrel | | ||||
dwarf::DW_EH_PE_sdata4; | dwarf::DW_EH_PE_sdata4; | ||||
// We don't support PC-relative LSDA references in GAS so we use the default | // We don't support PC-relative LSDA references in GAS so we use the default | ||||
// DW_EH_PE_absptr for those. | // DW_EH_PE_absptr for those. | ||||
// FreeBSD must be explicit about the data size and using pcrel since it's | |||||
// assembler/linker won't do the automatic conversion that the Linux tools | |||||
// do. | |||||
if (T.isOSFreeBSD()) { | |||||
PersonalityEncoding |= dwarf::DW_EH_PE_pcrel | dwarf::DW_EH_PE_sdata4; | |||||
LSDAEncoding = dwarf::DW_EH_PE_pcrel | dwarf::DW_EH_PE_sdata4; | |||||
} | |||||
break; | break; | ||||
case Triple::ppc64: | case Triple::ppc64: | ||||
case Triple::ppc64le: | case Triple::ppc64le: | ||||
PersonalityEncoding = dwarf::DW_EH_PE_indirect | dwarf::DW_EH_PE_pcrel | | PersonalityEncoding = dwarf::DW_EH_PE_indirect | dwarf::DW_EH_PE_pcrel | | ||||
dwarf::DW_EH_PE_udata8; | dwarf::DW_EH_PE_udata8; | ||||
LSDAEncoding = dwarf::DW_EH_PE_pcrel | dwarf::DW_EH_PE_udata8; | LSDAEncoding = dwarf::DW_EH_PE_pcrel | dwarf::DW_EH_PE_udata8; | ||||
TTypeEncoding = dwarf::DW_EH_PE_indirect | dwarf::DW_EH_PE_pcrel | | TTypeEncoding = dwarf::DW_EH_PE_indirect | dwarf::DW_EH_PE_pcrel | | ||||
dwarf::DW_EH_PE_udata8; | dwarf::DW_EH_PE_udata8; | ||||
▲ Show 20 Lines • Show All 481 Lines • Show Last 20 Lines |