HomePhabricator

Correct aligment computation for shared object symbols.

Description

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

Details

Committed
shenhanJun 6 2018, 2:43 PM
Differential Revision
D47602: Correct aligment computation for shared object symbols
Branches
Unknown
Tags
Unknown