Page MenuHomePhabricator

D58043.diff
No OneTemporary

File Metadata

Created
Tue, Feb 19, 2:40 PM

D58043.diff

Index: lib/Driver/ToolChains/Clang.cpp
===================================================================
--- lib/Driver/ToolChains/Clang.cpp
+++ lib/Driver/ToolChains/Clang.cpp
@@ -3361,8 +3361,11 @@
CmdArgs.push_back("-dwarf-explicit-import");
// Enable param entry values functionlaity.
- if (Args.hasArg(options::OPT_emit_param_entry_values))
+ if (Args.hasArg(options::OPT_emit_param_entry_values)) {
CmdArgs.push_back("-emit-param-entry-values-cc1");
+ CmdArgs.push_back("-mllvm");
+ CmdArgs.push_back("-emit-entry-values=1");
+ }
RenderDebugInfoCompressionArgs(Args, CmdArgs, D, TC);
}

Event Timeline