As for the question on the size difference:
@dblakie, the overall build is nearly 1M larger (I forgot to measure the size
of the binary itself, if thats what you were interested in).
http://reviews.llvm.org/D3166
Files:
include/clang/Driver/ToolChain.h
test/Driver/debug-flags.c
Index: include/clang/Driver/ToolChain.h
===================================================================
--- include/clang/Driver/ToolChain.h
+++ include/clang/Driver/ToolChain.h
@@ -243,7 +243,7 @@
/// UseDwarfDebugFlags - Embed the compile options to clang into the Dwarf
/// compile unit information.
- virtual bool UseDwarfDebugFlags() const { return false; }
+ virtual bool UseDwarfDebugFlags() const { return true; }
/// UseSjLjExceptions - Does this tool chain use SjLj exceptions.
virtual bool UseSjLjExceptions() const { return false; }
Index: test/Driver/debug-flags.c
===================================================================
--- /dev/null
+++ test/Driver/debug-flags.c
@@ -0,0 +1,4 @@
+// RUN: %clang -### -target i686-linux-gnu -c %s -o /dev/null 2>&1 | FileCheck %s
+
+// CHECK: -dwarf-debug-flags
+
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits