[llvm] r206046 - Add some CHECKs to this testcase.
Adrian Prantl
aprantl at apple.com
Fri Apr 11 11:21:23 PDT 2014
On Apr 11, 2014, at 11:18 AM, David Blaikie <dblaikie at gmail.com> wrote:
> On Fri, Apr 11, 2014 at 11:08 AM, Adrian Prantl <aprantl at apple.com> wrote:
>> Author: adrian
>> Date: Fri Apr 11 13:08:37 2014
>> New Revision: 206046
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=206046&view=rev
>> Log:
>> Add some CHECKs to this testcase.
>>
>> Modified:
>> llvm/trunk/test/DebugInfo/X86/dbg-large-unsigned-const.ll
>>
>> Modified: llvm/trunk/test/DebugInfo/X86/dbg-large-unsigned-const.ll
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/X86/dbg-large-unsigned-const.ll?rev=206046&r1=206045&r2=206046&view=diff
>> ==============================================================================
>> --- llvm/trunk/test/DebugInfo/X86/dbg-large-unsigned-const.ll (original)
>> +++ llvm/trunk/test/DebugInfo/X86/dbg-large-unsigned-const.ll Fri Apr 11 13:08:37 2014
>> @@ -1,5 +1,9 @@
>> -; RUN: llc -filetype=obj %s -o /dev/null
>> -; Hanle large unsigned constant values.
>> +; Handle large unsigned constant values.
>> +; RUN: llc -filetype=obj %s -o %t.o
>> +; RUN: llvm-dwarfdump %t.o | FileCheck %s
>> +; CHECK: DW_TAG_inlined_subroutine
>> +; CHECK: DW_AT_const_value [DW_FORM_sdata] (9223372036854775807)
>
> I'm assuming this /should/ be DW_FORM_udata? (just judging by the name
> of this test case)
>
Yay ancient test case. No, the metadata says it’s of type long long int. The literal is sort of unsigned maybe..?
-- adrian
>> +;
>> target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128-n8:16:32"
>> target triple = "i386-apple-macosx10.7.0"
>>
>>
>>
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list