summaryrefslogtreecommitdiff
path: root/lldb/test/API/python_api/module_section
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2020-02-11 09:05:37 +0100
committerRaphael Isemann <teemperor@gmail.com>2020-02-11 09:14:41 +0100
commit642bc15dd7186a6317510cf961a8dc3d35e5b713 (patch)
treeb508484943c6a7e75a7e5d7ace362568d435ea6e /lldb/test/API/python_api/module_section
parent14ecbd7b8ded18af6c95f6a9957da541d1ec0e80 (diff)
[lldb][NFC] Remove several inefficient ConstString -> const char * -> StringRef conversions
StringRef will call strlen on the C string which is inefficient (as ConstString already knows the string lenght and so does StringRef). This patch replaces all those calls with GetStringRef() which doesn't recompute the length.
Diffstat (limited to 'lldb/test/API/python_api/module_section')
0 files changed, 0 insertions, 0 deletions