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

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to