search for: supportsexceptionhandl

Displaying 6 results from an estimated 6 matches for "supportsexceptionhandl".

2007 Aug 29
2
[LLVMdev] RFC: Patch for Exceptions
...LVM manage -enable-eh? > If LLVM doesn't support exception handling for a target then - > enable-eh > causes eh code to be lowered to nothing. It seems to me that > problem with > x86-darwin is that LLVM thinks eh is supported but it isn't. Why > not simply > set SupportsExceptionHandling to false for that target? I agree with Duncan: can't the target (which knows the capabilities of the currently selected subtarget) set the value of SupportsExceptionHandling correctly? -Chris
2007 Aug 24
3
[LLVMdev] Turning on exception handling codegen
...andling intrinsics, but actual eh codegen (--enable-eh) is turned off. On x86-linux, turning it on generates no new failures in the testsuite, so how about turning it on? The problem is likely to be PPC which claims to support eh but doesn't support it completely yet AFAIK. I suggest setting SupportsExceptionHandling to false for PPC until it is fixed. I think it is important to have eh work in the next release, which means turning on eh codegen in the near future. I'd rather turn it on sooner than later, so it gets more testing. Ciao, Duncan.
2007 Aug 29
0
[LLVMdev] RFC: Patch for Exceptions
...>> If LLVM doesn't support exception handling for a target then - >> enable-eh >> causes eh code to be lowered to nothing. It seems to me that >> problem with >> x86-darwin is that LLVM thinks eh is supported but it isn't. Why >> not simply >> set SupportsExceptionHandling to false for that target? > > I agree with Duncan: can't the target (which knows the capabilities > of the currently selected subtarget) set the value of > SupportsExceptionHandling correctly? > They do. However, it doesn't seem to stop it from failing during compilation...
2007 Aug 29
0
[LLVMdev] RFC: Patch for Exceptions
...ays be the case; must all front-ends to LLVM manage -enable-eh? If LLVM doesn't support exception handling for a target then -enable-eh causes eh code to be lowered to nothing. It seems to me that problem with x86-darwin is that LLVM thinks eh is supported but it isn't. Why not simply set SupportsExceptionHandling to false for that target? Ciao, Duncan.
2007 Aug 29
4
[LLVMdev] RFC: Patch for Exceptions
Hi all, This is a (very) rough patch to fix building LLVM with exceptions on PPC Darwin. Basically, it puts the burden of adding the "--enable-eh" on the specific target, which is where I think it should go. If this is okay, then I can clean the patch up and submit it. -bw Index: gcc/llvm-backend.cpp =================================================================== ---
2007 Aug 24
0
[LLVMdev] Turning on exception handling codegen
...sics, > but actual eh codegen (--enable-eh) is turned off. On > x86-linux, turning it on generates no new failures in the > testsuite, Woo hoo! > The problem is likely to be PPC which claims to support eh but doesn't > support it completely yet AFAIK. I suggest setting > SupportsExceptionHandling to false for PPC until it is fixed. Done. > so how about turning it on? It sounds good, but I'm concerned about darwin/x86. Bill, can you see how well darwin/x86 is doing these days? If there are no regressions from turning this on by default, we should do it. :) If there are darw...