summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AMDGPU/MCTargetDesc/SIMCCodeEmitter.cpp
diff options
context:
space:
mode:
authorNirav Dave <niravd@google.com>2016-06-14 15:09:30 +0000
committerNirav Dave <niravd@google.com>2016-06-14 15:09:30 +0000
commitf8d00d5cac27171abd644c227fc4302a2bdc11c6 (patch)
tree54626cfe42083f8d7b38512149c8159bac1cafbe /llvm/lib/Target/AMDGPU/MCTargetDesc/SIMCCodeEmitter.cpp
parent17091364d13f2436eb63ec4df484d28fcb55d976 (diff)
downloadbcm5719-llvm-f8d00d5cac27171abd644c227fc4302a2bdc11c6.tar.gz
bcm5719-llvm-f8d00d5cac27171abd644c227fc4302a2bdc11c6.zip
Fix BSS global handling in AsmPrinter
Change EmitGlobalVariable to check final assembler section is in BSS before using .lcomm/.comm directive. This prevents globals from being put into .bss erroneously when -data-sections is used. This fixes PR26570. Reviewers: echristo, rafael Subscribers: llvm-commits, mehdi_amini Differential Revision: http://reviews.llvm.org/D21146 llvm-svn: 272674
Diffstat (limited to 'llvm/lib/Target/AMDGPU/MCTargetDesc/SIMCCodeEmitter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud