clayborg requested changes to this revision. clayborg added a comment. This revision now requires changes to proceed.
Few minor changes. ================ Comment at: source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp:1183 @@ +1182,3 @@ + llvm::StringRef value_str(str.GetString()); + error.SetErrorStringWithFormat("%s\n%s", value_str.data(), bt.c_str()); + } ---------------- "value_str.data()" might not be NULL terminate. Either use value_str.str().c_str() or use "%*s": ``` error.SetErrorStringWithFormat("%*s\n%s", (int)value_str.size(), value_str.data(), bt.c_str()); ``` ================ Comment at: unittests/ScriptInterpreter/CMakeLists.txt:4 @@ +3,1 @@ +endif() \ No newline at end of file ---------------- add newline ================ Comment at: unittests/ScriptInterpreter/Python/CMakeLists.txt:6 @@ +5,1 @@ + target_link_libraries(ScriptInterpreterPythonTests lldbPluginScriptInterpreterPython ${PYTHON_LIBRARY}) \ No newline at end of file ---------------- add newline http://reviews.llvm.org/D13537 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits