[PATCH] D44614: [test] Add test for demangling GNU ABI tags

Christopher James Halse Rogers via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 20 21:53:23 PDT 2018


RAOF updated this revision to Diff 139251.
RAOF retitled this revision from "Demangle: Support GNU ABI tag attributes" to "[test] Add test for demangling GNU ABI tags".
RAOF edited the summary of this revision.
RAOF added a comment.

Yes! What timing. This was indeed fixed in r327859.

I've replaced the patch with a testcase verifying that it's fixed instead.


Repository:
  rL LLVM

https://reviews.llvm.org/D44614

Files:
  test/tools/llvm-cxxfilt/abitag.test


Index: test/tools/llvm-cxxfilt/abitag.test
===================================================================
--- /dev/null
+++ test/tools/llvm-cxxfilt/abitag.test
@@ -0,0 +1,6 @@
+RUN: llvm-cxxfilt _Z14returns_stringB5cxx11v _Z6globalB5cxx11 _Z6globalB12a_longer_tag | FileCheck %s
+
+CHECK: returns_string[abi:cxx11]()
+CHECK-NEXT: global[abi:cxx11]
+CHECK-NEXT: global[abi:a_longer_tag]
+


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44614.139251.patch
Type: text/x-patch
Size: 393 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180321/ba0a0337/attachment.bin>


More information about the llvm-commits mailing list