From 3164fcfd273b37931e30a631f525d52ac2897fc0 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Thu, 13 Sep 2018 20:22:02 +0000 Subject: Add flag to llvm-profdata to allow symbols in profile data to be remapped, and add a tool to generate symbol remapping files. Summary: The new tool llvm-cxxmap builds a symbol mapping table from a file containing a description of partial equivalences to apply to mangled names and files containing old and new symbol tables. Reviewers: davidxl Subscribers: mgorny, llvm-commits Differential Revision: https://reviews.llvm.org/D51470 llvm-svn: 342168 --- llvm/test/tools/llvm-cxxmap/ambiguous.test | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 llvm/test/tools/llvm-cxxmap/ambiguous.test (limited to 'llvm/test/tools/llvm-cxxmap/ambiguous.test') diff --git a/llvm/test/tools/llvm-cxxmap/ambiguous.test b/llvm/test/tools/llvm-cxxmap/ambiguous.test new file mode 100644 index 00000000000..5162f7be0d0 --- /dev/null +++ b/llvm/test/tools/llvm-cxxmap/ambiguous.test @@ -0,0 +1,2 @@ +RUN: llvm-cxxmap %S/Inputs/before.sym %S/Inputs/ambiguous.sym -r %S/Inputs/remap.map -o /dev/null -Wambiguous 2>&1 | FileCheck %s +CHECK: warning: {{.*}}:2: symbol _ZN1N1fEN1M1X1YE is equivalent to earlier symbol _ZN1N1fENS_1X1YE -- cgit v1.2.3