mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-01 09:18:30 +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:
parent
5ba89837d7
commit
30507ef3c3
@ -1605,7 +1605,11 @@ MCStreamer *llvm::createAsmStreamer(MCContext &Context,
|
||||
bool useCFI, MCInstPrinter *IP,
|
||||
MCCodeEmitter *CE, TargetAsmBackend *TAB,
|
||||
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,
|
||||
useCFI, IP, CE, TAB, ShowInst);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user