[Lldb-commits] [lldb] r194012 - <rdar://problem/15367406>
Greg Clayton
gclayton at apple.com
Mon Nov 4 11:50:49 PST 2013
Author: gclayton
Date: Mon Nov 4 13:50:49 2013
New Revision: 194012
URL: http://llvm.org/viewvc/llvm-project?rev=194012&view=rev
Log:
<rdar://problem/15367406>
Fixed a case where on darwin, after recent compiler changes a few months ago, we could not execute dlopen() in an expression, or use "process load".
The issue was some compiler option default values changed. We now override these settings to get the old behavior back.
Modified:
lldb/trunk/source/Expression/ClangExpressionParser.cpp
Modified: lldb/trunk/source/Expression/ClangExpressionParser.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Expression/ClangExpressionParser.cpp?rev=194012&r1=194011&r2=194012&view=diff
==============================================================================
--- lldb/trunk/source/Expression/ClangExpressionParser.cpp (original)
+++ lldb/trunk/source/Expression/ClangExpressionParser.cpp Mon Nov 4 13:50:49 2013
@@ -311,6 +311,8 @@ ClangExpressionParser::ClangExpressionPa
// Set CodeGen options
m_compiler->getCodeGenOpts().EmitDeclMetadata = true;
m_compiler->getCodeGenOpts().InstrumentFunctions = false;
+ m_compiler->getCodeGenOpts().DisableFPElim = true;
+ m_compiler->getCodeGenOpts().OmitLeafFramePointer = false;
// Disable some warnings.
m_compiler->getDiagnostics().setDiagnosticGroupMapping("unused-value", clang::diag::MAP_IGNORE, SourceLocation());
More information about the lldb-commits
mailing list