]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
addr2line: Do not test demangling in run-addr2line-i-test.sh
authorIlya Leoshkevich <iii@linux.ibm.com>
Mon, 6 Feb 2023 22:25:09 +0000 (23:25 +0100)
committerMark Wielaard <mark@klomp.org>
Wed, 8 Feb 2023 18:07:17 +0000 (19:07 +0100)
There is run-addr2line-i-demangle-test.sh for that.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
tests/run-addr2line-i-test.sh

index 4f63e487cd3f92a846737b5ab0f3671c26c8083d..e7b890831306e1257593b58f249242cc1d3af9ea 100755 (executable)
@@ -254,13 +254,13 @@ EOF
 
 testfiles testfile-inlines-lto
 
-testrun_compare ${abs_top_builddir}/src/addr2line --pretty -fiC -e testfile-inlines-lto 0x1118 0x1137 <<\EOF
-foobar(int) at /tmp/x.cpp:4:14
- (inlined by) foo(int) at /tmp/x.cpp:22:16
- (inlined by) fu(int) at /tmp/x.cpp:27:13
-fubar(int) at /tmp/x.cpp:10:14
- (inlined by) bar(int) at /tmp/x.cpp:16:15
- (inlined by) fu(int) at /tmp/x.cpp:27:24
+testrun_compare ${abs_top_builddir}/src/addr2line --pretty -fi -e testfile-inlines-lto 0x1118 0x1137 <<\EOF
+_Z6foobari at /tmp/x.cpp:4:14
+ (inlined by) _Z3fooi at /tmp/x.cpp:22:16
+ (inlined by) _Z2fui at /tmp/x.cpp:27:13
+_Z5fubari at /tmp/x.cpp:10:14
+ (inlined by) _Z3bari at /tmp/x.cpp:16:15
+ (inlined by) _Z2fui at /tmp/x.cpp:27:24
 EOF
 
 exit 0