[llvm-dev] AsmPrinter.cpp: emitting trailing padding for global data array in emitGlobalConstantDataSequential

Vlad Dov vdovleka via llvm-dev llvm-dev at lists.llvm.org
Mon Jul 31 16:20:20 PDT 2017


Hello all,

Looking at the emitGlobalConstantDataSequential function in
lib/CodeGen/AsmPrinter/AsmPrinter.cpp  there is a code there responsible
for emitting of the potential trailing padding for the global array.

Is there an example ( preferably C code ) that triggers this code?  AFAIU
no trailing padding should be generated for global data arrays.

Thanks
Vlad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170801/73c8e960/attachment.html>


More information about the llvm-dev mailing list