mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-08 19:25:47 +00:00
Temporarily revert 91337. It's causing testcase failures.
$ svn merge -c -91337 https://llvm.org/svn/llvm-project/llvm/trunk --- Reverse-merging r91337 into '.': U lib/CodeGen/AsmPrinter/DwarfException.cpp git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91618 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -292,13 +292,14 @@ void DwarfException::EmitFDE(const FunctionEHFrameInfo &EHFrameInfo) {
|
|||||||
Asm->EmitULEB128Bytes(is4Byte ? 4 : 8);
|
Asm->EmitULEB128Bytes(is4Byte ? 4 : 8);
|
||||||
Asm->EOL("Augmentation size");
|
Asm->EOL("Augmentation size");
|
||||||
|
|
||||||
// We force 32-bits here because we've encoded our LSDA in the CIE with
|
|
||||||
// `dwarf::DW_EH_PE_sdata4'. And the CIE and FDE should agree.
|
|
||||||
if (EHFrameInfo.hasLandingPads)
|
if (EHFrameInfo.hasLandingPads)
|
||||||
EmitReference("exception", EHFrameInfo.Number, true, true);
|
EmitReference("exception", EHFrameInfo.Number, true, false);
|
||||||
else
|
else {
|
||||||
Asm->EmitInt32((int)0);
|
if (is4Byte)
|
||||||
|
Asm->EmitInt32((int)0);
|
||||||
|
else
|
||||||
|
Asm->EmitInt64((int)0);
|
||||||
|
}
|
||||||
Asm->EOL("Language Specific Data Area");
|
Asm->EOL("Language Specific Data Area");
|
||||||
} else {
|
} else {
|
||||||
Asm->EmitULEB128Bytes(0);
|
Asm->EmitULEB128Bytes(0);
|
||||||
|
Reference in New Issue
Block a user