diff options
author | Adrian Prantl <aprantl@apple.com> | 2019-10-09 16:22:14 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2019-10-09 16:22:14 +0000 |
commit | 939411c1aaa8830de2273849d5b8417788a25f67 (patch) | |
tree | 4f2f34e5fd46e9e01298286eae4897b53656c501 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h | |
parent | 6453f700f29a93ceb17ac43d6e8b802f9898fa6a (diff) | |
download | bcm5719-llvm-939411c1aaa8830de2273849d5b8417788a25f67.tar.gz bcm5719-llvm-939411c1aaa8830de2273849d5b8417788a25f67.zip |
Remove the is_mangled flag from Mangled and Symbol
Testing whether a name is mangled or not is extremely cheap and can be
done by looking at the first two characters. Mangled knows how to do
it. On the flip side, many call sites that currently pass in an
is_mangled determination do not know how to correctly do it (for
example, they leave out Swift mangling prefixes).
This patch removes this entry point and just forced Mangled to
determine the mangledness of a string itself.
Differential Revision: https://reviews.llvm.org/D68674
llvm-svn: 374180
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h')
0 files changed, 0 insertions, 0 deletions