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

Amara Emerson amara.emerson at gmail.com
Thu Jun 19 11:55:18 PDT 2014


Hi Alp,

Feel free to move this test now if it's urgent, otherwise Oliver or I will
do it later.

Cheers,
Amara
On 19 Jun 2014 19:25, "Alp Toker" <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
> 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/20140619/ba71ff5c/attachment.html>


More information about the llvm-commits mailing list