]> git.ipfire.org Git - thirdparty/ccache.git/commit
Fix debug_prefix_map failure with old objdump versions
authorJoel Rosdahl <joel@rosdahl.net>
Tue, 1 Sep 2020 14:51:32 +0000 (16:51 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Tue, 1 Sep 2020 14:53:20 +0000 (16:53 +0200)
commit4bc48ada3cf7cf21cf90a5bf19d540668c08310c
treed40886d3f99a7f37386854d1e79c186e627a6c8d
parentca7273a24e8ac8a278e4841187b6d156474cc5c3
Fix debug_prefix_map failure with old objdump versions

“objdump -g” does not list debug info like the “Multiple
-fdebug-prefix-map” test expects when using objdump 2.20, e.g. on CentOS
6. “objdump -W” does however work, and it seems to work for object files
with compressed .debug_str section as well.

Related to issue #639.

(cherry picked from commit 3a7257ee23ad7985d18e459b6dbb6990b038df17)
test/run