aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorZaara Syeda <syzaara@ca.ibm.com>2024-11-19 09:58:25 -0500
committerGitHub <noreply@github.com>2024-11-19 09:58:25 -0500
commit8e4423eb0888e5fe381a23ec1fa6969f2d096ed1 (patch)
treec70d83b9531acfaa56c036bca32b7d94d53030c3 /clang/lib/CodeGen/CodeGenFunction.cpp
parentaff98e4be05a1060e489ce62a88ee0ff365e571a (diff)
downloadllvm-8e4423eb0888e5fe381a23ec1fa6969f2d096ed1.zip
llvm-8e4423eb0888e5fe381a23ec1fa6969f2d096ed1.tar.gz
llvm-8e4423eb0888e5fe381a23ec1fa6969f2d096ed1.tar.bz2
[AsmPrinter] Fix handling in emitGlobalConstantImpl for AIX (#116255)
When GlobalMerge creates a MergedGlobal of statics all initialized to zero, emitGlobalConstantImpl sees a ConstantAggregateZero. This results in just emitting zeros followed by labels for the aliases. We need to handle it more like how emitGlobalConstantStruct does by emitting each global inside the aggregate. --------- Co-authored-by: Hubert Tong <hubert.reinterpretcast@gmail.com>
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions