summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter/OptionValueArch.cpp
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2013-01-28 23:47:25 +0000
committerEnrico Granata <egranata@apple.com>2013-01-28 23:47:25 +0000
commit5548cb50b20c97f8615f48785cb0951b430136a0 (patch)
treeafcf2917d66215a9710874657c4b1c256c543527 /lldb/source/Interpreter/OptionValueArch.cpp
parente233fbfc16fee2718290d159f6f7bab67ef2e15a (diff)
downloadbcm5719-llvm-5548cb50b20c97f8615f48785cb0951b430136a0.tar.gz
bcm5719-llvm-5548cb50b20c97f8615f48785cb0951b430136a0.zip
<rdar://problem/12978143>
Data formatters now cache themselves. This commit provides a new formatter cache mechanism. Upon resolving a formatter (summary or synthetic), LLDB remembers the resolution for later faster retrieval. Also moved the data formatters subsystem from the core to its own group and folder for easier management, and done some code reorganization. The ObjC runtime v1 now returns a class name if asked for the dynamic type of an object. This is required for formatters caching to work with the v1 runtime. Lastly, this commit disposes of the old hack where ValueObjects had to remember whether they were queried for formatters with their static or dynamic type. Now the ValueObjectDynamicValue class works well enough that we can use its dynamic value setting for the same purpose. llvm-svn: 173728
Diffstat (limited to 'lldb/source/Interpreter/OptionValueArch.cpp')
-rw-r--r--lldb/source/Interpreter/OptionValueArch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/OptionValueArch.cpp b/lldb/source/Interpreter/OptionValueArch.cpp
index 49984bb28e5..92fedffe75e 100644
--- a/lldb/source/Interpreter/OptionValueArch.cpp
+++ b/lldb/source/Interpreter/OptionValueArch.cpp
@@ -15,8 +15,8 @@
// C++ Includes
// Other libraries and framework includes
// Project includes
-#include "lldb/Core/FormatManager.h"
#include "lldb/Core/State.h"
+#include "lldb/DataFormatters/FormatManager.h"
#include "lldb/Interpreter/Args.h"
#include "lldb/Interpreter/CommandCompletions.h"
OpenPOWER on IntegriCloud