| commit | 8b250344e9bbf2d61c329cef7d5ee90b7a9cd44f | [log] [tgz] |
|---|---|---|
| author | Rafael Espindola <rafael.espindola@gmail.com> | Wed Sep 20 17:43:44 2017 +0000 |
| committer | Rafael Espindola <rafael.espindola@gmail.com> | Wed Sep 20 17:43:44 2017 +0000 |
| tree | c01a74e57359f1762fa125ed0083ad217361bda2 | |
| parent | 5beb2c3ab3df9b2f76b0c9d10db18c73c3ee5a2f [diff] |
Add a special case for trivial alignment. Normally to find the offset of a value in a section, we have to compute the value since the alignment is defined on the final address. If the alignment is trivial, we can skip the value computation. This allows us to know the offset even in cases where we cannot yet know the value. llvm-svn: 313777