DwarfUnit: Make explicit a limitation/bug in enumeration constant emission.
[oota-llvm.git] / test / DebugInfo / X86 / dbg-large-unsigned-const.ll
index a037f3c269eeef6eab9bf331d2468984cc53f88d..3caa49d17d4ad90bccddd05c3b672cac20f13d49 100644 (file)
@@ -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)
+;
 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"