[llvm] r211272 - Emit DWARF3 call frame information when DWARF3+ debug info is requested

Alp Toker alp at nuanti.com
Thu Jun 19 11:57:10 PDT 2014


On 19/06/2014 21:55, Amara Emerson wrote:
>
> Hi Alp,
>
> Feel free to move this test now if it's urgent, otherwise Oliver or I 
> will do it later.
>

Eric's tweak in r211293 did the trick, all working fine now.

Alp.

> Cheers,
> Amara
>
> On 19 Jun 2014 19:25, "Alp Toker" <alp at nuanti.com 
> <mailto:alp at nuanti.com>> wrote:
>
>
>     On 19/06/2014 18:39, Oliver Stannard wrote:
>
>         --- llvm/trunk/test/MC/ELF/cfi-version.ll (added)
>         +++ llvm/trunk/test/MC/ELF/cfi-version.ll Thu Jun 19 10:39:33 2014
>         @@ -0,0 +1,47 @@
>         +; RUN: llc %s -o - -dwarf-version 2 -filetype=obj |
>         llvm-dwarfdump - | FileCheck %s --check-prefix=DWARF2
>         +; RUN: llc %s -o - -dwarf-version 3 -filetype=obj |
>         llvm-dwarfdump - | FileCheck %s --check-prefix=DWARF34
>         +; RUN: llc %s -o - -dwarf-version 4 -filetype=obj |
>         llvm-dwarfdump - | FileCheck %s --check-prefix=DWARF34
>         +
>         +target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-n32-S64"
>         +target triple = "armv8-arm-none-eabi"
>         +
>         +; Function Attrs: nounwind
>         +define i32 @foo() #0 {
>         +entry:
>         +  %call = call i32 bitcast (i32 (...)* @bar to i32 ()*)(),
>         !dbg !12
>         +  %add = add nsw i32 %call, 1, !dbg !12
>         +  ret i32 %add, !dbg !12
>         +}
>
>
>     This test is failing without the ARM backend:
>
>     llc: : error: unable to get target for 'armv8-arm-none-eabi', see
>     --version and --triple.
>     -: The file was not recognized as a valid object file
>
>     Should it perhaps be moved to test/MC/ELF/ARM?
>
>     Alp.
>
>     -- 
>     http://www.nuanti.com
>     the browser experts
>
>     _______________________________________________
>     llvm-commits mailing list
>     llvm-commits at cs.uiuc.edu <mailto:llvm-commits at cs.uiuc.edu>
>     http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>

-- 
http://www.nuanti.com
the browser experts




More information about the llvm-commits mailing list