svn commit: r298147 - head/contrib/llvm/tools/clang/tools/driver
Dimitry Andric
dim at FreeBSD.org
Sun Apr 17 15:48:20 UTC 2016
Author: dim
Date: Sun Apr 17 15:48:19 2016
New Revision: 298147
URL: https://svnweb.freebsd.org/changeset/base/298147
Log:
Until it has been properly fixed upstream, apply a temporary workaround
for LLVM PR 26999 (in some cases, -save-temps can cause an assertion
failure in clang's -cc1as stage).
Modified:
head/contrib/llvm/tools/clang/tools/driver/cc1as_main.cpp
Modified: head/contrib/llvm/tools/clang/tools/driver/cc1as_main.cpp
==============================================================================
--- head/contrib/llvm/tools/clang/tools/driver/cc1as_main.cpp Sun Apr 17 12:12:25 2016 (r298146)
+++ head/contrib/llvm/tools/clang/tools/driver/cc1as_main.cpp Sun Apr 17 15:48:19 2016 (r298147)
@@ -200,7 +200,7 @@ bool AssemblerInvocation::CreateFromArgs
// Any DebugInfoKind implies GenDwarfForAssembly.
Opts.GenDwarfForAssembly = Args.hasArg(OPT_debug_info_kind_EQ);
Opts.CompressDebugSections = Args.hasArg(OPT_compress_debug_sections);
- Opts.DwarfVersion = getLastArgIntValue(Args, OPT_dwarf_version_EQ, 0, Diags);
+ Opts.DwarfVersion = getLastArgIntValue(Args, OPT_dwarf_version_EQ, 2, Diags);
Opts.DwarfDebugFlags = Args.getLastArgValue(OPT_dwarf_debug_flags);
Opts.DwarfDebugProducer = Args.getLastArgValue(OPT_dwarf_debug_producer);
Opts.DebugCompilationDir = Args.getLastArgValue(OPT_fdebug_compilation_dir);
More information about the svn-src-head
mailing list