diff options
| author | Greg Clayton <gclayton@apple.com> | 2012-11-16 21:35:22 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2012-11-16 21:35:22 +0000 |
| commit | 38d880ac017ac6e7ba0319f8ce30478b3331647a (patch) | |
| tree | feed3f4491ff7148699606018c9f8a1dd2eeec3b | |
| parent | 9d0a1ae946601ad874b65a615dd8aece54eabc32 (diff) | |
| download | bcm5719-llvm-38d880ac017ac6e7ba0319f8ce30478b3331647a.tar.gz bcm5719-llvm-38d880ac017ac6e7ba0319f8ce30478b3331647a.zip | |
Fix lldb to compile with top of tree LLVM/clang.
llvm-svn: 168204
| -rw-r--r-- | lldb/source/Expression/ClangExpressionParser.cpp | 2 | ||||
| -rw-r--r-- | lldb/source/Symbol/ClangASTContext.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Expression/ClangExpressionParser.cpp b/lldb/source/Expression/ClangExpressionParser.cpp index 51e0b1934db..5acd4b680ce 100644 --- a/lldb/source/Expression/ClangExpressionParser.cpp +++ b/lldb/source/Expression/ClangExpressionParser.cpp @@ -245,7 +245,7 @@ ClangExpressionParser::ClangExpressionParser (ExecutionContextScope *exe_scope, // Create the target instance. m_compiler->setTarget(TargetInfo::CreateTargetInfo(m_compiler->getDiagnostics(), - m_compiler->getTargetOpts())); + &m_compiler->getTargetOpts())); assert (m_compiler->hasTarget()); diff --git a/lldb/source/Symbol/ClangASTContext.cpp b/lldb/source/Symbol/ClangASTContext.cpp index 18304148c5a..99d96f7d98e 100644 --- a/lldb/source/Symbol/ClangASTContext.cpp +++ b/lldb/source/Symbol/ClangASTContext.cpp @@ -625,7 +625,7 @@ ClangASTContext::getTargetInfo() { // target_triple should be something like "x86_64-apple-macosx" if (m_target_info_ap.get() == NULL && !m_target_triple.empty()) - m_target_info_ap.reset (TargetInfo::CreateTargetInfo(*getDiagnosticsEngine(), *getTargetOptions())); + m_target_info_ap.reset (TargetInfo::CreateTargetInfo(*getDiagnosticsEngine(), getTargetOptions())); return m_target_info_ap.get(); } |

