[Lldb-commits] [PATCH] D12809: Better scheme to lookup alternate mangled name when looking up function address.
Siva Chandra via lldb-commits
lldb-commits at lists.llvm.org
Fri Sep 11 11:25:52 PDT 2015
sivachandra created this revision.
sivachandra added reviewers: clayborg, spyffe.
sivachandra added a subscriber: lldb-commits.
This change is relevant for inferiors compiled with GCC. GCC does not
emit complete debug info std::basic_string<...>, and consequently, Clang
(the LLDB compiler) does not generate correct mangled names for certain
This change removes the hard-coded alternate names in
Before the hard-coded names were put in ItaniumABILanguageRuntime.cpp, one could
not evaluate std::string methods (ex. std::string::length). After putting in
the hard-coded names, one could evaluate them. However, it did not still
enable one to call methods on, say for example, std::vector<string>.
This change makes that possible.
There is some amount of incompleteness in this change. Consider the
std::string hello("hello"), world("world");
std::map<std::string, std::string> m;
m[hello] = world;
One can still not evaluate the expression "m[hello]" in LLDB. Will
address this issue in another pass.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 19993 bytes
Desc: not available
More information about the lldb-commits