mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-22 10:24:26 +00:00
Support only DwarfCFI or SjLj exception handling in LSDA decoder.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133297 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -1605,7 +1605,11 @@ MCStreamer *llvm::createAsmStreamer(MCContext &Context,
|
|||||||
bool useCFI, MCInstPrinter *IP,
|
bool useCFI, MCInstPrinter *IP,
|
||||||
MCCodeEmitter *CE, TargetAsmBackend *TAB,
|
MCCodeEmitter *CE, TargetAsmBackend *TAB,
|
||||||
bool ShowInst) {
|
bool ShowInst) {
|
||||||
if (isVerboseAsm)
|
ExceptionHandling::ExceptionsType ET =
|
||||||
|
Context.getAsmInfo().getExceptionHandlingType();
|
||||||
|
|
||||||
|
if (isVerboseAsm &&
|
||||||
|
(ET == ExceptionHandling::SjLj || ET == ExceptionHandling::DwarfCFI))
|
||||||
return new MCLSDADecoderAsmStreamer(Context, OS, isVerboseAsm, useLoc,
|
return new MCLSDADecoderAsmStreamer(Context, OS, isVerboseAsm, useLoc,
|
||||||
useCFI, IP, CE, TAB, ShowInst);
|
useCFI, IP, CE, TAB, ShowInst);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user