diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2018-09-13 20:22:02 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2018-09-13 20:22:02 +0000 |
commit | 3164fcfd273b37931e30a631f525d52ac2897fc0 (patch) | |
tree | d479607972de427c95f835c932659126e37ab436 /llvm/test/tools/llvm-cxxmap/ambiguous.test | |
parent | 2ce2652716aa1314d23b70895c67c6043842d7bd (diff) | |
download | bcm5719-llvm-3164fcfd273b37931e30a631f525d52ac2897fc0.tar.gz bcm5719-llvm-3164fcfd273b37931e30a631f525d52ac2897fc0.zip |
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
Diffstat (limited to 'llvm/test/tools/llvm-cxxmap/ambiguous.test')
-rw-r--r-- | llvm/test/tools/llvm-cxxmap/ambiguous.test | 2 |
1 files changed, 2 insertions, 0 deletions
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 |