4 Commits

Author SHA1 Message Date
Alexander Richardson
fb04979cdf [llvm-objcopy] Use the full filename in --add-gnu-debuglink
Summary:
The current implementation was writing the file name without the extension
whereas GNU objcopy writes the full filename. With this change GDB will now
load the .debug file instead of silently ignoring it.

Reviewers: jakehehrlich, jhenderson

Reviewed By: jakehehrlich

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D43474

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@325528 91177308-0d34-0410-b5e6-96231b3b80d8
2018-02-19 19:53:44 +00:00
Jake Ehrlich
f0c7c0917c [llvm-objcopy] Add --add-gnu-debuglink
This change adds support for --add-gnu-debuglink to llvm-objcopy

Differential Revision: https://reviews.llvm.org/D41731

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@323477 91177308-0d34-0410-b5e6-96231b3b80d8
2018-01-25 22:15:14 +00:00
Aaron Ballman
ab7a41171b Revert r322132; it appears to be an accidental commit, based on the commit message. The original author of the commit has not commented on whether this was accidental or purposeful, so if this revert is in error, the author can re-commit with an actual commit message.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@323466 91177308-0d34-0410-b5e6-96231b3b80d8
2018-01-25 21:08:23 +00:00
Jake Ehrlich
9004bff346 temp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@322132 91177308-0d34-0410-b5e6-96231b3b80d8
2018-01-09 23:00:25 +00:00