summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-strings/llvm-strings.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2016-11-11 21:36:25 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2016-11-11 21:36:25 +0000
commitd4372f783b52919c569f3e2007e3ba9edb45c7fb (patch)
treee2aedcf419ac2d03e54e26da2da5ee6a93999586 /llvm/tools/llvm-strings/llvm-strings.cpp
parent088faab429538c6123024f6f173ee6e35845f445 (diff)
downloadbcm5719-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/llvm-strings.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud