aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
diff options
context:
space:
mode:
authorHan Shen <shenhan@google.com>2018-06-06 21:43:34 +0000
committerHan Shen <shenhan@google.com>2018-06-06 21:43:34 +0000
commit08d1640535ce8f7af2bd937071bd32905fba8570 (patch)
treedaa90706f25f0727342e3d527076b250960df945 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
parent2dab88e6525722bb43963aa96db3f1f9b44d0f8c (diff)
downloadllvm-08d1640535ce8f7af2bd937071bd32905fba8570.zip
llvm-08d1640535ce8f7af2bd937071bd32905fba8570.tar.gz
llvm-08d1640535ce8f7af2bd937071bd32905fba8570.tar.bz2
Correct aligment computation for shared object symbols.
The original computation for shared object symbol alignment is wrong when st_value equals 0. It is very unusual for dso symbols to have st_value equal 0. But when it happens, it causes obscure run time bugs. Differential Revision: https://reviews.llvm.org/D47602 llvm-svn: 334135
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions