mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 21:24:00 +00:00
Remove the -enable-sjlj-eh option, which doesn't do anything.
Remove the -enable-eh option which is only used by the JIT, and replace it with -jit-enable-eh. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102865 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -353,20 +353,6 @@ bool LTOCodeGenerator::generateAssemblyCode(formatted_raw_ostream& out,
|
||||
|
||||
Module* mergedModule = _linker.getModule();
|
||||
|
||||
// If target supports exception handling then enable it now.
|
||||
switch (_target->getMCAsmInfo()->getExceptionHandlingType()) {
|
||||
case ExceptionHandling::Dwarf:
|
||||
llvm::DwarfExceptionHandling = true;
|
||||
break;
|
||||
case ExceptionHandling::SjLj:
|
||||
llvm::SjLjExceptionHandling = true;
|
||||
break;
|
||||
case ExceptionHandling::None:
|
||||
break;
|
||||
default:
|
||||
assert (0 && "Unknown exception handling model!");
|
||||
}
|
||||
|
||||
// if options were requested, set them
|
||||
if ( !_codegenOptions.empty() )
|
||||
cl::ParseCommandLineOptions(_codegenOptions.size(),
|
||||
|
Reference in New Issue
Block a user