<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I like this; we could have the CXXLanguageRuntime return a list of “candidate” remangled names if you can’t find a given one, and then try those.<div class="">The function would have the signature</div><div class=""><br class=""></div><div class="">size_t</div><div class="">CXXLanguageRuntime::GetAlternateManglings(ConstString mangled_name, std::vector<ConstString> &alternate_names);</div><div class=""><br class=""></div><div class="">What do you folks think?</div><div class=""><br class=""></div><div class="">Sean</div><div class=""><br class=""><div class="">Siva, please move your logic (and the existing logic) into that function, which should ideally just take a str</div><div class=""><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Apr 6, 2015, at 3:15 PM, Zachary Turner <<a href="mailto:zturner@google.com" class="">zturner@google.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Is it possible to do away with the hardcoded mangled name?  I really dislike seeing this kind of thing.  Not only because it doesn't work with all ABIs, but just in general it's very gross for the debugger to have exceptions for specific mangled names.  Why is this necessary, and is there any way to get rid of it?<br class=""><div class=""><br class=""></div><div class="">If it is necessary, can we at least move it to somewhere more appropriate like the Mangled class and provide some kind of generic method like Mangled::GetAlternateMangling()?  </div></div><br class=""><div class="gmail_quote">On Mon, Apr 6, 2015 at 3:10 PM Greg Clayton <<a href="mailto:clayborg@gmail.com" class="">clayborg@gmail.com</a>> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'll OK this on the condition that Sean Callanan OKs this. Sean?<br class="">
<br class="">
<br class="">
<a href="http://reviews.llvm.org/D8846" target="_blank" class="">http://reviews.llvm.org/D8846</a><br class="">
<br class="">
EMAIL PREFERENCES<br class="">
  <a href="http://reviews.llvm.org/settings/panel/emailpreferences/" target="_blank" class="">http://reviews.llvm.org/<u class=""></u>settings/panel/<u class=""></u>emailpreferences/</a><br class="">
<br class="">
<br class="">
<br class="">
______________________________<u class=""></u>_________________<br class="">
lldb-commits mailing list<br class="">
<a href="mailto:lldb-commits@cs.uiuc.edu" target="_blank" class="">lldb-commits@cs.uiuc.edu</a><br class="">
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits" target="_blank" class="">http://lists.cs.uiuc.edu/<u class=""></u>mailman/listinfo/lldb-commits</a><br class="">
</blockquote></div>
</div></blockquote></div><br class=""></div></div></div></body></html>