mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-01 00:17:01 +00:00
GCC uses a different encoding of pointers in the FDE when using
-fno-dwarf2-cfi-asm. Implement the same behavior. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130637 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -92,7 +92,7 @@ void DwarfTableException::EmitCIE(const Function *PersonalityFn, unsigned Index)
|
||||
// personality function reference:
|
||||
|
||||
unsigned LSDAEncoding = TLOF.getLSDAEncoding();
|
||||
unsigned FDEEncoding = TLOF.getFDEEncoding();
|
||||
unsigned FDEEncoding = TLOF.getFDEEncoding(false);
|
||||
unsigned PerEncoding = TLOF.getPersonalityEncoding();
|
||||
|
||||
char Augmentation[6] = { 0 };
|
||||
@@ -168,7 +168,7 @@ void DwarfTableException::EmitFDE(const FunctionEHFrameInfo &EHFrameInfo) {
|
||||
const TargetLoweringObjectFile &TLOF = Asm->getObjFileLowering();
|
||||
|
||||
unsigned LSDAEncoding = TLOF.getLSDAEncoding();
|
||||
unsigned FDEEncoding = TLOF.getFDEEncoding();
|
||||
unsigned FDEEncoding = TLOF.getFDEEncoding(false);
|
||||
|
||||
Asm->OutStreamer.SwitchSection(TLOF.getEHFrameSection());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user