[PATCH] driver: enable -use-dwarf-debug-flags

David Blaikie dblaikie at gmail.com
Mon Mar 24 21:48:54 PDT 2014


Test case?
Impact assessment? (how much does this grow LLVM's debug info by, for example?)

On Mon, Mar 24, 2014 at 9:46 PM, Saleem Abdulrasool
<compnerd at compnerd.org> wrote:
> 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; }
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>



More information about the cfe-commits mailing list