[flang-commits] [flang] [flang][debug] Don't generate debug for compiler-generated variables (PR #112423)

Abid Qadeer via flang-commits flang-commits at lists.llvm.org
Wed Oct 16 10:00:53 PDT 2024


================
@@ -0,0 +1,8 @@
+! RUN: %flang_fc1 -emit-llvm -debug-info-kind=standalone %s -o - | FileCheck  %s
+
+module m
+integer XcX
+end
+
+! Test that global starting with 'X' don't get filtered.
+CHECK: !DIGlobalVariable(name: "xcx", linkageName: "_QMmExcx"{{.*}})
----------------
abidh wrote:

Thanks for catching this. Fixed.

https://github.com/llvm/llvm-project/pull/112423


More information about the flang-commits mailing list