================ @@ -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 ---------------- abidh wrote:
One line was missing -SAME. I have fixes that now. The difference is that `CHECK-WITH-G-DWARF5` has `-g -gdwarf-5` while `CHECK-WITHOUT-G-DWARF5` does not extra `-g`. It tests that just adding `-gdwarf-5` enables `-g` functionality. 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