[cfe-dev] debug_frame section not generated for Windows 64bit

Reid Kleckner via cfe-dev cfe-dev at lists.llvm.org
Thu Mar 22 16:22:25 PDT 2018


Clang defaults to emitting SEH unwind information on Win64, since it is
required by the ABI. DWARF EH tables would be redundant, but you can
request them with -fdwarf-exceptions.


On Thu, Mar 22, 2018 at 4:05 PM Jayvee Neumann via cfe-dev <
cfe-dev at lists.llvm.org> wrote:

> Hi togehter,
>
> I am currently switching from MinGW-w64 to clang. I am running into a
> problem with the debug information generated by clang, though. When
> building with mingw, there will always be an .eh_frame or a .debug_frame
> section. This is also true for 64bit windows. When I build the same files
> with clang for the target triple "x86_64-pc-windows-gnu" neither a
> .debug_frame nor an .eh_frame section is generated.
>
> I there a way for me to explicitly specify via command line that such a
> section shall be generated?
> If not, is there a way to change the llvm/clang source code in a way such
> that these sections will be generated for the specified target?
>
> Best Regards,
> Jayvee
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20180322/1174106f/attachment.html>


More information about the cfe-dev mailing list