[Lldb-commits] [PATCH] D129455: [lldb] Reduce the stack alignment requirements for the Windows x86_64 ABI

Martin Storsjö via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 11 03:47:31 PDT 2022


mstorsjo added a comment.

In D129455#3642015 <https://reviews.llvm.org/D129455#3642015>, @mstorsjo wrote:

> In D129455#3641967 <https://reviews.llvm.org/D129455#3641967>, @labath wrote:
>
>> What does `-Wl,-debug:symtab` actually produce? Would it make sense to make it a part of the `%clang_host` substitution (only for the msvc mode) to make the output of %clang_host more uniform? Or maybe achieve equivalence in some other way (add `-g1`, or similar, to the cmd line)?
>
> I think that might be a sensible path forward in general!

If we'd want to take that even further, we could consider to have `%clang_host` add options for generating DWARF debug info even in MSVC mode, and pass `-Wl,-debug:dwarf` to include it embedded in the exe like in mingw mode. (I've understood that some people even do this in proper production setups.) It's not what you'd normally have in MSVC mode, but could be useful for making testcases more portable, for cases where such details don't matter.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D129455/new/

https://reviews.llvm.org/D129455



More information about the lldb-commits mailing list