================
@@ -0,0 +1,27 @@
+// RUN: %flang -### -S %s -g -gdwarf-5  2>&1 \
+// RUN:             | FileCheck --check-prefix=CHECK-WITH-G-DWARF5 %s
+// RUN: %flang -### -S %s -g1 -gdwarf-5  2>&1 \
+// RUN:             | FileCheck --check-prefix=CHECK-WITH-G1-DWARF5 %s
+// RUN: %flang -### -S %s -gdwarf-5  2>&1 \
+// RUN:             | FileCheck --check-prefix=CHECK-WITHOUT-G-DWARF5 %s
----------------
tarunprabhu wrote:

Just confirming: in this case, do `-debug-info-kind=standalone` and 
`-dwarf-version=5` appear in different lines? Is that the only difference 
between this and `CHECK-WITH-G-DWARF5`? My first thought was that they seem to 
be checking the same thing and the prefix could be renamed to avoid the 
redundancy. But I notice that one of them has `-SAME` and the other does not.

https://github.com/llvm/llvm-project/pull/158314
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to