diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2016-11-11 21:36:25 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2016-11-11 21:36:25 +0000 |
commit | d4372f783b52919c569f3e2007e3ba9edb45c7fb (patch) | |
tree | e2aedcf419ac2d03e54e26da2da5ee6a93999586 /llvm/tools/llvm-strings | |
parent | 088faab429538c6123024f6f173ee6e35845f445 (diff) | |
download | bcm5719-llvm-d4372f783b52919c569f3e2007e3ba9edb45c7fb.tar.gz bcm5719-llvm-d4372f783b52919c569f3e2007e3ba9edb45c7fb.zip |
Avoid a crash with -r and .comment.
We would create a MergeInputSection for the synthetic .comment and
crash trying to add it to a regular output section.
With this we just don't add the synthetic section with -r. That is
consistent with gold that doesn't create .note.gnu.gold-version with
-r.
llvm-svn: 286635
Diffstat (limited to 'llvm/tools/llvm-strings')
0 files changed, 0 insertions, 0 deletions