[PATCH] D79274: Fix template class debug info for Visual Studio visualizers

Reid Kleckner via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 6 18:12:28 PDT 2020


rnk added inline comments.


================
Comment at: clang/test/CodeGenCXX/debug-info-codeview-display-name.cpp:10
+// RUN: %clang_cc1 -fblocks -debug-info-kind=limited -gcodeview -emit-llvm %s \
+// RUN:       -o - -triple=x86_64-pc-win32 -Wno-new-returns-null -fms-compatibility | \
+// RUN:    grep -E 'DISubprogram|DICompositeType' | sed -e 's/.*name: "\([^"]*\)".*/"\1"/' | \
----------------
Why choose fms-compatibility? Does it have a side effect of raising the default standard version?


================
Comment at: clang/test/CodeGenCXX/debug-info-codeview-display-name.cpp:12
+// RUN:    grep -E 'DISubprogram|DICompositeType' | sed -e 's/.*name: "\([^"]*\)".*/"\1"/' | \
+// RUN:    FileCheck %s --check-prefix=CHECK --check-prefix=MSCOMPAT
 
----------------
Any reason not to reuse `--check-prefix=UNQUAL`? This should be the same as the first RUN line, with a different standard.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D79274/new/

https://reviews.llvm.org/D79274





More information about the cfe-commits mailing list