diff options
author | Kuba Brecka <kuba.brecka@gmail.com> | 2016-07-06 11:46:20 +0000 |
---|---|---|
committer | Kuba Brecka <kuba.brecka@gmail.com> | 2016-07-06 11:46:20 +0000 |
commit | 9cf864d24be8d1f1c52b3e8e29408970be0c518c (patch) | |
tree | 69489bc547bf31c04c8ff6365431ab9d3f6d6a74 /lldb/source/Plugins/MemoryHistory | |
parent | 23f5556e14336069037a4dc49fa44eb8407be9c9 (diff) |
In AddressSanitizer and ThreadSanitizer, let's explicitly set the language of the expression we're evaluating.
Diffstat (limited to 'lldb/source/Plugins/MemoryHistory')
-rw-r--r-- | lldb/source/Plugins/MemoryHistory/asan/MemoryHistoryASan.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Plugins/MemoryHistory/asan/MemoryHistoryASan.cpp b/lldb/source/Plugins/MemoryHistory/asan/MemoryHistoryASan.cpp index d95cd497e5e..a9d13ac79c3 100644 --- a/lldb/source/Plugins/MemoryHistory/asan/MemoryHistoryASan.cpp +++ b/lldb/source/Plugins/MemoryHistory/asan/MemoryHistoryASan.cpp @@ -186,6 +186,8 @@ MemoryHistoryASan::GetHistoryThreads(lldb::addr_t address) options.SetIgnoreBreakpoints(true); options.SetTimeoutUsec(GET_STACK_FUNCTION_TIMEOUT_USEC); options.SetPrefix(memory_history_asan_command_prefix); + options.SetAutoApplyFixIts(false); + options.SetLanguage(eLanguageTypeObjC_plus_plus); ExpressionResults expr_result = UserExpression::Evaluate (exe_ctx, options, |