summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/ClangExpressionParser.cpp
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-07-06 05:36:57 +0000
committerAlp Toker <alp@nuanti.com>2014-07-06 05:36:57 +0000
commit5f83864b7c9283ae1c8d310153345d3762a870e9 (patch)
treebb43787059028d92f4880de63b2c83dc045fc9f2 /lldb/source/Expression/ClangExpressionParser.cpp
parent06164dd8540c5614b6294865e5e7259684d3fafa (diff)
downloadbcm5719-llvm-5f83864b7c9283ae1c8d310153345d3762a870e9.tar.gz
bcm5719-llvm-5f83864b7c9283ae1c8d310153345d3762a870e9.zip
Track changes from clang r212388
llvm-svn: 212391
Diffstat (limited to 'lldb/source/Expression/ClangExpressionParser.cpp')
-rw-r--r--lldb/source/Expression/ClangExpressionParser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Expression/ClangExpressionParser.cpp b/lldb/source/Expression/ClangExpressionParser.cpp
index e5046a7d6bb..0b6d952b76b 100644
--- a/lldb/source/Expression/ClangExpressionParser.cpp
+++ b/lldb/source/Expression/ClangExpressionParser.cpp
@@ -154,9 +154,9 @@ ClangExpressionParser::ClangExpressionParser (ExecutionContextScope *exe_scope,
m_compiler->createDiagnostics();
// Create the target instance.
- m_compiler->setTarget(TargetInfo::CreateTargetInfo(m_compiler->getDiagnostics(),
- &m_compiler->getTargetOpts()));
-
+ m_compiler->setTarget(TargetInfo::CreateTargetInfo(
+ m_compiler->getDiagnostics(), m_compiler->getInvocation().TargetOpts));
+
assert (m_compiler->hasTarget());
// 3. Set options.
OpenPOWER on IntegriCloud