summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-cxxfilt
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2018-03-22 22:04:32 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2018-03-22 22:04:32 +0000
commit56d4846fcf5a7ce28afc33982014806c9de076e4 (patch)
treea8c20299aff07210ac1e6c4d76cba8faabedc146 /llvm/test/tools/llvm-cxxfilt
parent922455fe62b55dd20d6e10f1c226c96944c1adbf (diff)
downloadbcm5719-llvm-56d4846fcf5a7ce28afc33982014806c9de076e4.tar.gz
bcm5719-llvm-56d4846fcf5a7ce28afc33982014806c9de076e4.zip
Add test for demangling GNU ABI tags.
Patch by Christopher James Halse Rogers! llvm-svn: 328256
Diffstat (limited to 'llvm/test/tools/llvm-cxxfilt')
-rw-r--r--llvm/test/tools/llvm-cxxfilt/abitag.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-cxxfilt/abitag.test b/llvm/test/tools/llvm-cxxfilt/abitag.test
new file mode 100644
index 00000000000..f4fabc87bae
--- /dev/null
+++ b/llvm/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]
+
OpenPOWER on IntegriCloud