No longer pass a StringRef to the Python API
authorRaphael Isemann <teemperor@gmail.com>
Fri, 13 Jul 2018 18:13:46 +0000 (18:13 +0000)
committerRaphael Isemann <teemperor@gmail.com>
Fri, 13 Jul 2018 18:13:46 +0000 (18:13 +0000)
commitd6c062bce1e499f52500cc759a7c0846dd178cda
treec8ee9f0016b0a47d30ba960de500d6ddaf1c06b9
parent8e04d937b0656242162cebe96c8c306e0ab62959
No longer pass a StringRef to the Python API

Summary:
The refactoring patch for DoExecute missed this case of a variadic function that just silently
accepts a StringRef which it then tries to reinterpret as a C-string.

This should fix the Windows builds.

Reviewers: stella.stamenova

Reviewed By: stella.stamenova

Subscribers: lldb-commits

Differential Revision: https://reviews.llvm.org/D49309

llvm-svn: 337030
lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp