aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.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 /clang/lib/CodeGen/CodeGenFunction.cpp
parent088faab429538c6123024f6f173ee6e35845f445 (diff)
downloadllvm-d4372f783b52919c569f3e2007e3ba9edb45c7fb.zip
llvm-d4372f783b52919c569f3e2007e3ba9edb45c7fb.tar.gz
llvm-d4372f783b52919c569f3e2007e3ba9edb45c7fb.tar.bz2
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 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions