diff options
| author | Sean Callanan <scallanan@apple.com> | 2015-10-02 18:40:30 +0000 |
|---|---|---|
| committer | Sean Callanan <scallanan@apple.com> | 2015-10-02 18:40:30 +0000 |
| commit | a994b0b27314668f5bcddaf8ba166c531ddb797c (patch) | |
| tree | 9f462f35426bcc96dd5a0468f533920b80a159ba /lldb/source/Plugins/SystemRuntime | |
| parent | 9e31cb9ea7be1a7f5c8690e36d827f483f5d7ae1 (diff) | |
| download | bcm5719-llvm-a994b0b27314668f5bcddaf8ba166c531ddb797c.tar.gz bcm5719-llvm-a994b0b27314668f5bcddaf8ba166c531ddb797c.zip | |
Made GetScratchTypeSystemForLanguage return an error if desired.
Also made it not store nullptrs in its TypeSystemMap, so it will retry to make
the AST context if it errored out last time.
llvm-svn: 249167
Diffstat (limited to 'lldb/source/Plugins/SystemRuntime')
| -rw-r--r-- | lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.cpp b/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.cpp index 10eccb64a15..2ca367c0cce 100644 --- a/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.cpp +++ b/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.cpp @@ -181,7 +181,7 @@ AppleGetItemInfoHandler::SetupGetItemInfoFunction (Thread &thread, ValueList &ge // Next make the runner function for our implementation utility function. Error error; - TypeSystem *type_system = thread.GetProcess()->GetTarget().GetScratchTypeSystemForLanguage(eLanguageTypeC); + TypeSystem *type_system = thread.GetProcess()->GetTarget().GetScratchTypeSystemForLanguage(nullptr, eLanguageTypeC); CompilerType get_item_info_return_type = type_system->GetBasicTypeFromAST(eBasicTypeVoid).GetPointerType(); get_item_info_caller = m_get_item_info_impl_code->MakeFunctionCaller(get_item_info_return_type, |

