diff options
author | Peter Zotov <whitequark@whitequark.org> | 2014-12-30 03:24:14 +0000 |
---|---|---|
committer | Peter Zotov <whitequark@whitequark.org> | 2014-12-30 03:24:14 +0000 |
commit | ecb5c4f2376b16b48d6cfc31d12ed2b63f3448b1 (patch) | |
tree | 3b58dda38761f8f0e23ea09328d7d137f732af7e | |
parent | b45d5bd955495a067ffe1f31082cf6175798822d (diff) | |
download | bcm5719-llvm-ecb5c4f2376b16b48d6cfc31d12ed2b63f3448b1.tar.gz bcm5719-llvm-ecb5c4f2376b16b48d6cfc31d12ed2b63f3448b1.zip |
[OCaml] Fix bitrot in tests.
llvm-svn: 224979
-rw-r--r-- | llvm/test/Bindings/OCaml/core.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Bindings/OCaml/core.ml b/llvm/test/Bindings/OCaml/core.ml index c9ef4a5564b..e9a0540a935 100644 --- a/llvm/test/Bindings/OCaml/core.ml +++ b/llvm/test/Bindings/OCaml/core.ml @@ -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} *) |