[llvm] r217183 - Revert "[dwarfdump] Add missing DW_LANG_Mips_Assembler case to LanguageString()"

Eric Christopher echristo at gmail.com
Thu Sep 4 12:29:16 PDT 2014


(Replying to all so you only get one copy of this)

As a note when you revert please put the svn revision number rather than
git revision :)

Thanks!

-eric


On Thu, Sep 4, 2014 at 11:55 AM, Frederic Riss <friss at apple.com> wrote:

> Author: friss
> Date: Thu Sep  4 13:55:46 2014
> New Revision: 217183
>
> URL: http://llvm.org/viewvc/llvm-project?rev=217183&view=rev
> Log:
> Revert "[dwarfdump] Add missing DW_LANG_Mips_Assembler case to
> LanguageString()"
>
> This reverts commit 93c7e6161e1adbd2c7ac81fa081823183035cb64.
>
> This commit got approved first, but was dependant on another one going in
> (The one pretty printing attribute values). I'll reapply when the other one
> is in.
>
> Modified:
>     llvm/trunk/lib/Support/Dwarf.cpp
>     llvm/trunk/test/DebugInfo/2010-03-19-DbgDeclare.ll
>     llvm/trunk/test/MC/MachO/gen-dwarf.s
>
> Modified: llvm/trunk/lib/Support/Dwarf.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Dwarf.cpp?rev=217183&r1=217182&r2=217183&view=diff
>
> ==============================================================================
> --- llvm/trunk/lib/Support/Dwarf.cpp (original)
> +++ llvm/trunk/lib/Support/Dwarf.cpp Thu Sep  4 13:55:46 2014
> @@ -598,7 +598,6 @@ const char *llvm::dwarf::LanguageString(
>    case DW_LANG_C_plus_plus_11:           return "DW_LANG_C_plus_plus_11";
>    case DW_LANG_OCaml:                    return "DW_LANG_OCaml";
>    case DW_LANG_lo_user:                  return "DW_LANG_lo_user";
> -  case DW_LANG_Mips_Assembler:           return "DW_LANG_Mips_Assembler";
>    case DW_LANG_hi_user:                  return "DW_LANG_hi_user";
>    }
>    return nullptr;
>
> Modified: llvm/trunk/test/DebugInfo/2010-03-19-DbgDeclare.ll
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/2010-03-19-DbgDeclare.ll?rev=217183&r1=217182&r2=217183&view=diff
>
> ==============================================================================
> --- llvm/trunk/test/DebugInfo/2010-03-19-DbgDeclare.ll (original)
> +++ llvm/trunk/test/DebugInfo/2010-03-19-DbgDeclare.ll Thu Sep  4 13:55:46
> 2014
> @@ -1,6 +1,6 @@
>  ; RUN: opt < %s -verify -S | FileCheck %s
>
> -; CHECK: [DW_LANG_Mips_Assembler]
> +; CHECK: lang 0x8001
>
>  define void @Foo(i32 %a, i32 %b) {
>  entry:
>
> Modified: llvm/trunk/test/MC/MachO/gen-dwarf.s
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/gen-dwarf.s?rev=217183&r1=217182&r2=217183&view=diff
>
> ==============================================================================
> --- llvm/trunk/test/MC/MachO/gen-dwarf.s (original)
> +++ llvm/trunk/test/MC/MachO/gen-dwarf.s Thu Sep  4 13:55:46 2014
> @@ -46,7 +46,7 @@ _x:   .long 1
>  // CHECK:    DW_AT_name [DW_FORM_string]
>  // We don't check the DW_AT_comp_dir which is the current working
> directory
>  // CHECK:    DW_AT_producer [DW_FORM_string]   ("llvm-mc (based on
> {{.*}})")
> -// CHECK:    DW_AT_language [DW_FORM_data2]    (DW_LANG_Mips_Assembler)
> +// CHECK:    DW_AT_language [DW_FORM_data2]    (0x8001)
>
>  // CHECK:    DW_TAG_label [2] *
>  // CHECK:      DW_AT_name [DW_FORM_string]     ("bar")
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140904/f168aeb7/attachment.html>


More information about the llvm-commits mailing list