diff options
author | Nick Desaulniers <ndesaulniers@google.com> | 2018-10-10 22:52:32 +0000 |
---|---|---|
committer | Nick Desaulniers <ndesaulniers@google.com> | 2018-10-10 22:52:32 +0000 |
commit | 335315697ac4079a9ec4a2e9911373ab4ba9dc2f (patch) | |
tree | 0b430efcbbdb85cb35fd8ff571f1de5e50958fc0 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 3c4344810a54989a0c5b7546fce9580800a12e50 (diff) | |
download | llvm-335315697ac4079a9ec4a2e9911373ab4ba9dc2f.zip llvm-335315697ac4079a9ec4a2e9911373ab4ba9dc2f.tar.gz llvm-335315697ac4079a9ec4a2e9911373ab4ba9dc2f.tar.bz2 |
[MC][ELF] compute entity size for explicit sections
Summary:
Global variables might declare themselves to be in explicit sections.
Calculate the entity size always to prevent assembler warnings
"entity size for SHF_MERGE not specified" when sections are to be
marked merge-able.
Fixes PR31828.
Reviewers: rnk, echristo
Reviewed By: rnk
Subscribers: llvm-commits, pirama, srhines
Differential Revision: https://reviews.llvm.org/D53056
llvm-svn: 344197
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions