about summary refs log tree commit diff
path: root/src/test/codegen/enum-debug-clike.rs
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2020-04-14 12:10:58 -0700
committerJosh Stone <jistone@redhat.com>2020-04-14 12:44:41 -0700
commit8506bb006040cf8e8cb004202706c81e62ddacee (patch)
tree2e374e4dcad22b16ecf717fa309e3d4813d5a6fe /src/test/codegen/enum-debug-clike.rs
parentba72b15666b2491415aec703a02c2364fe5e2790 (diff)
downloadrust-8506bb006040cf8e8cb004202706c81e62ddacee.tar.gz
rust-8506bb006040cf8e8cb004202706c81e62ddacee.zip
Update the minimum external LLVM to 8
LLVM 8 was released on March 20, 2019, over a year ago.
Diffstat (limited to 'src/test/codegen/enum-debug-clike.rs')
-rw-r--r--src/test/codegen/enum-debug-clike.rs13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/test/codegen/enum-debug-clike.rs b/src/test/codegen/enum-debug-clike.rs
index f268c8bcbcc..134443931e9 100644
--- a/src/test/codegen/enum-debug-clike.rs
+++ b/src/test/codegen/enum-debug-clike.rs
@@ -1,18 +1,13 @@
-// This test depends on a patch that was committed to upstream LLVM
-// before 7.0, then backported to the Rust LLVM fork.  It tests that
-// debug info for "c-like" enums is properly emitted.
+// This tests that debug info for "c-like" enums is properly emitted.
+// This is ignored for the fallback mode on MSVC due to problems with PDB.
 
 // ignore-tidy-linelength
-// ignore-windows
-// min-system-llvm-version 8.0
+// ignore-msvc
 
 // compile-flags: -g -C no-prepopulate-passes
 
-// DIFlagFixedEnum was deprecated in 8.0, renamed to DIFlagEnumClass.
-// We match either for compatibility.
-
 // CHECK-LABEL: @main
-// CHECK: {{.*}}DICompositeType{{.*}}tag: DW_TAG_enumeration_type,{{.*}}name: "E",{{.*}}flags: {{(DIFlagEnumClass|DIFlagFixedEnum)}},{{.*}}
+// CHECK: {{.*}}DICompositeType{{.*}}tag: DW_TAG_enumeration_type,{{.*}}name: "E",{{.*}}flags: DIFlagEnumClass,{{.*}}
 // CHECK: {{.*}}DIEnumerator{{.*}}name: "A",{{.*}}value: {{[0-9].*}}
 // CHECK: {{.*}}DIEnumerator{{.*}}name: "B",{{.*}}value: {{[0-9].*}}
 // CHECK: {{.*}}DIEnumerator{{.*}}name: "C",{{.*}}value: {{[0-9].*}}