[llvm] r178279 - Hexagon: Enable SupportDebugInfomation and DwarfInSection flags.

Eric Christopher echristo at gmail.com
Thu Mar 28 13:34:51 PDT 2013


On Thu, Mar 28, 2013 at 12:34 PM, Jyotsna Verma <jverma at codeaurora.org> wrote:
> Author: jverma
> Date: Thu Mar 28 14:34:49 2013
> New Revision: 178279
>
> URL: http://llvm.org/viewvc/llvm-project?rev=178279&view=rev
> Log:
> Hexagon: Enable SupportDebugInfomation and DwarfInSection flags.
>
> Modified:
>     llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCAsmInfo.cpp
>     llvm/trunk/test/CodeGen/Hexagon/hwloop-dbg.ll
>
> Modified: llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCAsmInfo.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCAsmInfo.cpp?rev=178279&r1=178278&r2=178279&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCAsmInfo.cpp (original)
> +++ llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCAsmInfo.cpp Thu Mar 28 14:34:49 2013
> @@ -31,6 +31,8 @@ HexagonMCAsmInfo::HexagonMCAsmInfo(const
>    AscizDirective = "\t.string\t";
>    WeakRefDirective = "\t.weak\t";
>
> +  SupportsDebugInformation = true;
> +  DwarfUsesInlineInfoSection = true;
>

There's really no reason for you to enable this section. As far as I
know the only known consumer is old darwin gdbs.

-eric



More information about the llvm-commits mailing list