summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/ClangExpressionDeclMap.cpp
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2010-10-26 00:31:56 +0000
committerSean Callanan <scallanan@apple.com>2010-10-26 00:31:56 +0000
commitbe3a1b14dc45898aca1b9a85a86849614e82aa87 (patch)
treebb5c1350bbeea06c13d921b7f75486c21b970f4c /lldb/source/Expression/ClangExpressionDeclMap.cpp
parent40d871fa245b288b7933c03df4c3605a418827a9 (diff)
downloadbcm5719-llvm-be3a1b14dc45898aca1b9a85a86849614e82aa87.tar.gz
bcm5719-llvm-be3a1b14dc45898aca1b9a85a86849614e82aa87.zip
Fixed a problem where function calls on i386 weren't
being generated correctly. Also added a messy way to single-step through expressions that I will improve soon. llvm-svn: 117342
Diffstat (limited to 'lldb/source/Expression/ClangExpressionDeclMap.cpp')
-rw-r--r--lldb/source/Expression/ClangExpressionDeclMap.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/lldb/source/Expression/ClangExpressionDeclMap.cpp b/lldb/source/Expression/ClangExpressionDeclMap.cpp
index 5a32013e399..4b540c0fa38 100644
--- a/lldb/source/Expression/ClangExpressionDeclMap.cpp
+++ b/lldb/source/Expression/ClangExpressionDeclMap.cpp
@@ -88,8 +88,12 @@ ClangExpressionDeclMap::~ClangExpressionDeclMap()
}
if (m_materialized_location)
- {
+ {
+//#define SINGLE_STEP_EXPRESSIONS
+
+#ifndef SINGLE_STEP_EXPRESSIONS
m_exe_ctx.process->DeallocateMemory(m_materialized_location);
+#endif
m_materialized_location = 0;
}
}
OpenPOWER on IntegriCloud