[Lldb-commits] [PATCH] The great Python split
Greg Clayton
clayborg at gmail.com
Fri Feb 27 11:23:05 PST 2015
After fixing the Xcode project file and trying to compiler: argdumper and lldb-server fail to link as they can't find the LLDBSwig stuff:
Undefined symbols for architecture x86_64:
"_LLDBSwigPythonCallCommand", referenced from:
lldb_private::ScriptInterpreterPython::RunScriptBasedCommand(char const*, char const*, lldb_private::ScriptedCommandSynchronicity, lldb_private::CommandReturnObject&, lldb_private::Error&, lldb_private::ExecutionContext const&) in liblldb-core.a(ScriptInterpreterPython.o)
"_LLDBSwigPython_GetValueSynthProviderInstance", referenced from:
lldb_private::ScriptInterpreterPython::GetSyntheticValue(std::__1::shared_ptr<lldb_private::ScriptInterpreterObject> const&) in liblldb-core.a(ScriptInterpreterPython.o)
"_LLDBSWIGPythonRunScriptKeywordValue", referenced from:
lldb_private::ScriptInterpreterPython::RunScriptFormatKeyword(char const*, lldb_private::ValueObject*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, lldb_private::Error&) in liblldb-core.a(ScriptInterpreterPython.o)
"_LLDBSwigPython_CalculateNumChildren", referenced from:
lldb_private::ScriptInterpreterPython::CalculateNumChildren(std::__1::shared_ptr<lldb_private::ScriptInterpreterObject> const&) in liblldb-core.a(ScriptInterpreterPython.o)
"_LLDBSWIGPythonRunScriptKeywordThread", referenced from:
lldb_private::ScriptInterpreterPython::RunScriptFormatKeyword(char const*, lldb_private::Thread*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, lldb_private::Error&) in liblldb-core.a(ScriptInterpreterPython.o)
"_LLDBSWIGPythonRunScriptKeywordTarget", referenced from:
lldb_private::ScriptInterpreterPython::RunScriptFormatKeyword(char const*, lldb_private::Target*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, lldb_private::Error&) in liblldb-core.a(ScriptInterpreterPython.o)
"_LLDBSWIGPythonRunScriptKeywordProcess", referenced from:
lldb_private::ScriptInterpreterPython::RunScriptFormatKeyword(char const*, lldb_private::Process*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, lldb_private::Error&) in liblldb-core.a(ScriptInterpreterPython.o)
"_LLDBSwigPython_UpdateSynthProviderInstance", referenced from:
lldb_private::ScriptInterpreterPython::UpdateSynthProviderInstance(std::__1::shared_ptr<lldb_private::ScriptInterpreterObject> const&) in liblldb-core.a(ScriptInterpreterPython.o)
"_LLDBSwigPythonCreateSyntheticProvider", referenced from:
lldb_private::ScriptInterpreterPython::CreateSyntheticScriptedProvider(char const*, lldb_private::SharingPtr<lldb_private::ValueObject>) in liblldb-core.a(ScriptInterpreterPython.o)
"_LLDBSwigPythonCallTypeScript", referenced from:
lldb_private::ScriptInterpreterPython::GetScriptedSummary(char const*, lldb_private::SharingPtr<lldb_private::ValueObject>, std::__1::shared_ptr<lldb_private::ScriptInterpreterObject>&, lldb_private::TypeSummaryOptions const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) in liblldb-core.a(ScriptInterpreterPython.o)
"_LLDBSwigPythonWatchpointCallbackFunction", referenced from:
lldb_private::ScriptInterpreterPython::WatchpointCallbackFunction(void*, lldb_private::StoppointCallbackContext*, unsigned long long) in liblldb-core.a(ScriptInterpreterPython.o)
"_LLDBSwigPythonCreateScriptedThreadPlan", referenced from:
lldb_private::ScriptInterpreterPython::CreateScriptedThreadPlan(char const*, std::__1::shared_ptr<lldb_private::ThreadPlan>) in liblldb-core.a(ScriptInterpreterPython.o)
"_LLDBSwigPythonBreakpointCallbackFunction", referenced from:
lldb_private::ScriptInterpreterPython::BreakpointCallbackFunction(void*, lldb_private::StoppointCallbackContext*, unsigned long long, unsigned long long) in liblldb-core.a(ScriptInterpreterPython.o)
"_LLDBSWIGPythonRunScriptKeywordFrame", referenced from:
lldb_private::ScriptInterpreterPython::RunScriptFormatKeyword(char const*, lldb_private::StackFrame*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, lldb_private::Error&) in liblldb-core.a(ScriptInterpreterPython.o)
"_LLDBSwigPythonCallModuleInit", referenced from:
lldb_private::ScriptInterpreterPython::LoadScriptingModule(char const*, bool, bool, lldb_private::Error&, std::__1::shared_ptr<lldb_private::ScriptInterpreterObject>*) in liblldb-core.a(ScriptInterpreterPython.o)
"_LLDBSwigPython_GetIndexOfChildWithName", referenced from:
lldb_private::ScriptInterpreterPython::GetIndexOfChildWithName(std::__1::shared_ptr<lldb_private::ScriptInterpreterObject> const&, char const*) in liblldb-core.a(ScriptInterpreterPython.o)
"_LLDBSWIGPython_CastPyObjectToSBValue", referenced from:
lldb_private::ScriptInterpreterPython::GetChildAtIndex(std::__1::shared_ptr<lldb_private::ScriptInterpreterObject> const&, unsigned int) in liblldb-core.a(ScriptInterpreterPython.o)
lldb_private::ScriptInterpreterPython::GetSyntheticValue(std::__1::shared_ptr<lldb_private::ScriptInterpreterObject> const&) in liblldb-core.a(ScriptInterpreterPython.o)
"_LLDBSWIGPythonCreateOSPlugin", referenced from:
lldb_private::ScriptInterpreterPython::OSPlugin_CreatePluginObject(char const*, std::__1::shared_ptr<lldb_private::Process>) in liblldb-core.a(ScriptInterpreterPython.o)
"_LLDBSWIGPython_GetDynamicSetting", referenced from:
lldb_private::ScriptInterpreterPython::GetDynamicSettings(std::__1::shared_ptr<lldb_private::ScriptInterpreterObject>, lldb_private::Target*, char const*, lldb_private::Error&) in liblldb-core.a(ScriptInterpreterPython.o)
"LLDBSWIGPython_GetValueObjectSPFromSBValue(void*)", referenced from:
lldb_private::ScriptInterpreterPython::GetChildAtIndex(std::__1::shared_ptr<lldb_private::ScriptInterpreterObject> const&, unsigned int) in liblldb-core.a(ScriptInterpreterPython.o)
lldb_private::ScriptInterpreterPython::GetSyntheticValue(std::__1::shared_ptr<lldb_private::ScriptInterpreterObject> const&) in liblldb-core.a(ScriptInterpreterPython.o)
"_LLDBSwigPython_GetChildAtIndex", referenced from:
lldb_private::ScriptInterpreterPython::GetChildAtIndex(std::__1::shared_ptr<lldb_private::ScriptInterpreterObject> const&, unsigned int) in liblldb-core.a(ScriptInterpreterPython.o)
"_LLDBSWIGPythonCallThreadPlan", referenced from:
lldb_private::ScriptInterpreterPython::ScriptedThreadPlanExplainsStop(std::__1::shared_ptr<lldb_private::ScriptInterpreterObject>, lldb_private::Event*, bool&) in liblldb-core.a(ScriptInterpreterPython.o)
lldb_private::ScriptInterpreterPython::ScriptedThreadPlanShouldStop(std::__1::shared_ptr<lldb_private::ScriptInterpreterObject>, lldb_private::Event*, bool&) in liblldb-core.a(ScriptInterpreterPython.o)
lldb_private::ScriptInterpreterPython::ScriptedThreadPlanGetRunState(std::__1::shared_ptr<lldb_private::ScriptInterpreterObject>, bool&) in liblldb-core.a(ScriptInterpreterPython.o)
"_LLDBSwigPython_MightHaveChildrenSynthProviderInstance", referenced from:
lldb_private::ScriptInterpreterPython::MightHaveChildrenSynthProviderInstance(std::__1::shared_ptr<lldb_private::ScriptInterpreterObject> const&) in liblldb-core.a(ScriptInterpreterPython.o)
"_init_lldb", referenced from:
lldb_private::ScriptInterpreterPython::InitializePrivate() in liblldb-core.a(ScriptInterpreterPython.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
http://reviews.llvm.org/D7946
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the lldb-commits
mailing list