[Lldb-commits] [PATCH] D127048: [lldb] Set COFF module ABI from default triple and make it an option

Alvin Wong via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Jun 8 07:13:31 PDT 2022


alvinhochun added a comment.

Thanks @mstorsjo for answering for me.

>> 4. What more information can we get from debug info in this case? DWARF may not be a good guess as we can generate it for MSVC abi as well.
>
> Exactly, one could use presence of DWARF as a heuristic hint for this, but it's not always right (you can use PDB for mingw uses too, and DWARF for msvc abi too in uncommon cases).

I suppose we may try to look for mangled names and identify which name mangling scheme was used (MSVC vs Itanium ABI)? Though I am not keen on implementing it myself.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D127048



More information about the lldb-commits mailing list