Fix .cfi_personality on 32 bit systems.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122570 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola 2010-12-26 22:47:37 +00:00
parent 98976610d2
commit 390b693dac

View File

@ -561,7 +561,7 @@ static const MCSymbol &EmitCIE(MCStreamer &streamer,
// Personality Encoding
streamer.EmitIntValue(dwarf::DW_EH_PE_absptr, 1);
// Personality
streamer.EmitSymbolValue(personality, 8);
streamer.EmitSymbolValue(personality, asmInfo.getPointerSize());
}
// Encoding of the FDE pointers
streamer.EmitIntValue(dwarf::DW_EH_PE_pcrel | dwarf::DW_EH_PE_sdata4, 1);