Hi echristo,
This changes the default to embed the -cc1 flags into the emitted object files.
http://llvm-reviews.chandlerc.com/D3166
Files:
include/clang/Driver/ToolChain.h
Index: include/clang/Driver/ToolChain.h
===================================================================
--- include/clang/Driver/ToolChain.h
+++ include/clang/Driver/ToolChain.h
@@ -238,7 +238,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: include/clang/Driver/ToolChain.h
===================================================================
--- include/clang/Driver/ToolChain.h
+++ include/clang/Driver/ToolChain.h
@@ -238,7 +238,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; }
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits