]> git.ipfire.org Git - thirdparty/elfutils.git/commit
tests: Don't use static functions in testfile-backtrace-demangle.
authorMark Wielaard <mjw@redhat.com>
Sun, 18 May 2014 20:41:19 +0000 (22:41 +0200)
committerMark Wielaard <mjw@redhat.com>
Sun, 18 May 2014 20:45:45 +0000 (22:45 +0200)
commit85482fc073442a056e0e3663eb454fa76d883271
tree5e662e12f147410e8b46cd83dd415f022f8381fb
parentf05dff9d390f0692f5c74f9551ce6b2eeda78ed4
tests: Don't use static functions in testfile-backtrace-demangle.

Compilers and demanglers might treat local/static functions different
between versions. In particular g++ 4.1.2 and libstdc++ mangle and
demangle the static void cxxfunc (int i) function as _Z7cxxfunci.
While g++ 4.8.2 and libstdc++ mangle and demangle it as _ZL7cxxfunci.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
tests/ChangeLog
tests/testfile-backtrace-demangle.bz2 [changed mode: 0644->0755]
tests/testfile-backtrace-demangle.cc
tests/testfile-backtrace-demangle.core.bz2