diff options
author | Micah Villmow <villmow@gmail.com> | 2012-10-08 16:28:57 +0000 |
---|---|---|
committer | Micah Villmow <villmow@gmail.com> | 2012-10-08 16:28:57 +0000 |
commit | 8468dbecf2b938fb88d88a9017cac5b91b42f64a (patch) | |
tree | ea0b16a42a5d35e821ce9ccb6acd6a6108a3f9ab /lldb/source/Expression/IRForTarget.cpp | |
parent | dd31ca10ef61f8b4cd6fbd323e008dbae1aaabee (diff) | |
download | bcm5719-llvm-8468dbecf2b938fb88d88a9017cac5b91b42f64a.tar.gz bcm5719-llvm-8468dbecf2b938fb88d88a9017cac5b91b42f64a.zip |
Move TargetData to DataLayout.
llvm-svn: 165396
Diffstat (limited to 'lldb/source/Expression/IRForTarget.cpp')
-rw-r--r-- | lldb/source/Expression/IRForTarget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Expression/IRForTarget.cpp b/lldb/source/Expression/IRForTarget.cpp index b74e9f97aa7..dedb625a19f 100644 --- a/lldb/source/Expression/IRForTarget.cpp +++ b/lldb/source/Expression/IRForTarget.cpp @@ -11,12 +11,12 @@ #include "llvm/Support/raw_ostream.h" #include "llvm/Constants.h" +#include "llvm/DataLayout.h" #include "llvm/InstrTypes.h" #include "llvm/Instructions.h" #include "llvm/Intrinsics.h" #include "llvm/Module.h" #include "llvm/PassManager.h" -#include "llvm/Target/TargetData.h" #include "llvm/Transforms/IPO.h" #include "llvm/ValueSymbolTable.h" @@ -2686,7 +2686,7 @@ IRForTarget::runOnModule (Module &llvm_module) lldb::LogSP log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_EXPRESSIONS)); m_module = &llvm_module; - m_target_data.reset(new TargetData(m_module)); + m_target_data.reset(new DataLayout(m_module)); Function* function = m_module->getFunction(StringRef(m_func_name.c_str())); |