Debian Codegraph @

libcxxabi/test/itanium_demangle_matches_llvm.sh.test

raw
1 # This test diffs the various headers synced by cp-to-llvm.sh
2 # between libcxxabi and LLVM to ensure that they are the same.
3
4 # RUN: tail -n +3 %{libcxxabi}/src/demangle/ItaniumDemangle.h > %t.libcxxabi_demangle
5 # RUN: tail -n +3 %{llvm}/include/llvm/Demangle/ItaniumDemangle.h > %t.llvm_demangle
6 # RUN: diff %t.libcxxabi_demangle %t.llvm_demangle
7
8 # RUN: tail -n +3 %{libcxxabi}/src/demangle/ItaniumNodes.def > %t.libcxxabi_nodes
9 # RUN: tail -n +3 %{llvm}/include/llvm/Demangle/ItaniumNodes.def > %t.llvm_nodes
10 # RUN: diff %t.libcxxabi_nodes %t.llvm_nodes
11
12 # RUN: tail -n +3 %{libcxxabi}/src/demangle/StringViewExtras.h > %t.libcxxabi_extras
13 # RUN: tail -n +3 %{llvm}/include/llvm/Demangle/StringViewExtras.h > %t.llvm_extras
14 # RUN: diff %t.libcxxabi_extras %t.llvm_extras
15
16 # RUN: tail -n +3 %{libcxxabi}/src/demangle/Utility.h > %t.libcxxabi_utility
17 # RUN: tail -n +3 %{llvm}/include/llvm/Demangle/Utility.h > %t.llvm_utility
18 # RUN: diff %t.libcxxabi_utility %t.llvm_utility
19
20 # RUN: diff %{libcxxabi}/test/DemangleTestCases.inc %{llvm}/include/llvm/Testing/Demangle/DemangleTestCases.inc