[llvm-commits] [llvm] r78625 - in /llvm/trunk: docs/ include/llvm/ include/llvm/CodeGen/ include/llvm/Target/ lib/CodeGen/ lib/CodeGen/AsmPrinter/ lib/CodeGen/SelectionDAG/ lib/ExecutionEngine/JIT/ lib/Target/ lib/Target/ARM/ lib/Target/ARM/AsmPr

Jim Grosbach grosbach at apple.com
Tue Aug 11 09:27:41 PDT 2009


On Aug 10, 2009, at 10:50 PM, Anton Korobeynikov wrote:

> Hello, Jim
>
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =====================================================================
>> --- llvm/trunk/lib/Target/ARM/ARMTargetAsmInfo.cpp (original)
>> +++ llvm/trunk/lib/Target/ARM/ARMTargetAsmInfo.cpp Mon Aug 10  
>> 19:09:57 2009
>> @@ -47,6 +47,12 @@
>>   ProtectedDirective = NULL;
>>   HasDotTypeDotSizeDirective = false;
>>   SupportsDebugInformation = true;
>> +
>> +  // Exceptions handling
>> +  ExceptionsType = ExceptionHandling::SjLj;
>> +  GlobalEHDirective = "\t.globl\t";
>> +  SupportsWeakOmittedEHFrame = false;
>> +  AbsoluteEHSectionOffsets = false;
>>  }
> Shouldn't this be darwin-only thing? Can we support (n theory) both
> sjlj and dwarf EH?
>

Hi Anton,

That bit is in the ARMDarwinTargetAsmInfo() constructor,  so it  
already is Darwin-only, right?

I don't know of any reason why we can't do dwarf EH on ARM for  
platforms that support it.

-Jim


> -- 
> With best regards, Anton Korobeynikov
> Faculty of Mathematics and Mechanics, Saint Petersburg State  
> University
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list