diff options
author | Martin Storsjo <martin@martin.st> | 2018-07-23 22:15:19 +0000 |
---|---|---|
committer | Martin Storsjo <martin@martin.st> | 2018-07-23 22:15:19 +0000 |
commit | 100fc97051c19ef3675fc105dd428955b7f5f285 (patch) | |
tree | 00b6e680652ba6b2a59572b25b5777c17101b498 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | c2b701408e3a94df1dcdc96ed2891ca916441a87 (diff) | |
download | llvm-100fc97051c19ef3675fc105dd428955b7f5f285.zip llvm-100fc97051c19ef3675fc105dd428955b7f5f285.tar.gz llvm-100fc97051c19ef3675fc105dd428955b7f5f285.tar.bz2 |
[COFF] Fix assembly output of comdat sections without an attached symbol
Since SVN r335286, the .xdata sections are produced without an attached
symbol, which requires using a different syntax when printing assembly
output.
Instead of the usual syntax of '.section <name>,"dr",discard,<symbol>',
use '.section <name>,"dr"' + '.linkonce discard' (which is what GCC
uses for all assembly output).
This fixes PR38254.
Differential Revision: https://reviews.llvm.org/D49651
llvm-svn: 337756
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions