Keno Fischer via llvm-dev
2016-May-21 05:00 UTC
[llvm-dev] Is there a way to force debug_frame to be enabled on SEH windows?
I'm cross compiling using clang for x86_64 windows using SEH exceptions. If at all possible, I would like to enable unwind tables to be generated in debug_frame, but I was unable to figure out how to accomplish this. Is there a supported way? Thanks, Keno
Reid Kleckner via llvm-dev
2016-May-23 16:47 UTC
[llvm-dev] Is there a way to force debug_frame to be enabled on SEH windows?
It's not possible today, but it is probably technically feasible. You would arrange for both of these booleans to be true in X86FrameLowering::emitPrologue: bool NeedsWinCFI = IsWin64Prologue && Fn->needsUnwindTableEntry(); bool NeedsDwarfCFI !IsWin64Prologue && (MMI.hasDebugInfo() || Fn->needsUnwindTableEntry()); On Fri, May 20, 2016 at 10:00 PM, Keno Fischer via llvm-dev <llvm-dev at lists.llvm.org> wrote:> I'm cross compiling using clang for x86_64 windows using SEH exceptions. > If at all possible, I would like to enable unwind tables to be > generated in debug_frame, > but I was unable to figure out how to accomplish this. Is there a supported way? > > Thanks, > Keno > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
Reasonably Related Threads
- Assertion fail/crash in X86FrameLowering::GetFrameIndexReference SEH
- Assertion fail/crash in X86FrameLowering::GetFrameIndexReference SEH
- Potential missed optimisation with SEH funclets
- [LLVMdev] So what's the deal with debug_frame V eh_frame
- [LLVMdev] .debug_frame not produced by default?