[clang] [llvm] [Clang] Emit DW_TAG_template_alias for template aliases (PR #87623)

Paul T Robinson via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 15 12:05:07 PDT 2024


================
@@ -465,3 +465,15 @@
 // MANGLED_TEMP_NAMES: error: unknown argument '-gsimple-template-names=mangled'; did you mean '-Xclang -gsimple-template-names=mangled'
 // RUN: %clang -### -target x86_64 -c -g %s 2>&1 | FileCheck --check-prefix=FULL_TEMP_NAMES --implicit-check-not=debug-forward-template-params %s
 // FULL_TEMP_NAMES-NOT: -gsimple-template-names
+
+//// Test -g[no-]template-alias (enabled by default with SCE debugger tuning). Requires DWARFv5.
+// RUN: %clang -### -target x86_64 -c -gdwarf-5 -gsce %s 2>&1 | FileCheck %s --check-prefixes=TEMPLATE-ALIAS
----------------
pogo59 wrote:

`--target`

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


More information about the cfe-commits mailing list