[PATCH] D46303: [AsmPrinter] Allow emitting codeview for any windows target

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 8 12:13:17 PDT 2018


mstorsjo added a comment.

In https://reviews.llvm.org/D46303#1091664, @rnk wrote:

> lgtm
>
> One thing that users will need to look out is that Microsoft debuggers make assumptions about how the C++ ABI works. If you debug classes with interesting virtual adjustments, you probably won't see the right data members. At some point, it might be good to write a holistic document about Clang's Windows support, detailing which features are available in mingw vs msvc environments. Maybe we already have one that I forgot about.


Thanks for letting me know about that! Another detail I noticed so far, is that the debugger requires SEH in order to traverse the call stack on x86_64 (and I normally build with dwarf for exceptions, and one can*t have both enabled at the same time), but on i386 it doesn't matter what I use.


https://reviews.llvm.org/D46303





More information about the llvm-commits mailing list