1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 12:43:36 +01:00

[OCaml] Fix bitrot in tests.

llvm-svn: 224979
This commit is contained in:
Peter Zotov 2014-12-30 03:24:14 +00:00
parent 0961634116
commit 96da5cc717

View File

@ -1146,7 +1146,7 @@ let test_builder () =
(* CHECK: %dbg = add i32 %P1, %P2, !dbg !2
* !2 is metadata emitted at EOF.
*)
insist ((current_debug_location atentry) = None);
insist ((current_debug_location atentry) = Some (mdnode context [||]));
let m_line = const_int i32_type 2 in
let m_col = const_int i32_type 3 in
@ -1435,7 +1435,7 @@ let test_builder () =
* CHECK: attributes #0 = {{.*}}uwtable{{.*}}
* CHECK: !llvm.module.flags = !{!0}
* CHECK: !0 = !{i32 1, !"Debug Info Version", i32 2}
* CHECK: !1 = !{i32 1, !"test"}
* CHECK: !1 = !{i32 1, !"metadata test"}
* CHECK: !2 = !{i32 2, i32 3, !3, !3}
*)