[lldb] Fix buildbot build fail caused by r366645
authorYuanfang Chen <yuanfang.chen@sony.com>
Sun, 21 Jul 2019 00:07:39 +0000 (00:07 +0000)
committerYuanfang Chen <yuanfang.chen@sony.com>
Sun, 21 Jul 2019 00:07:39 +0000 (00:07 +0000)
llvm-svn: 366647

lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp

index 7d13891..9e83f5c 100644 (file)
@@ -537,8 +537,8 @@ ClangExpressionParser::ClangExpressionParser(
   // Set CodeGen options
   m_compiler->getCodeGenOpts().EmitDeclMetadata = true;
   m_compiler->getCodeGenOpts().InstrumentFunctions = false;
-  m_compiler->getCodeGenOpts().DisableFPElim = true;
-  m_compiler->getCodeGenOpts().OmitLeafFramePointer = false;
+  m_compiler->getCodeGenOpts().setFramePointer(
+                                    CodeGenOptions::FramePointerKind::All);
   if (generate_debug_info)
     m_compiler->getCodeGenOpts().setDebugInfo(codegenoptions::FullDebugInfo);
   else