diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2017-09-20 17:43:44 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2017-09-20 17:43:44 +0000 |
commit | 8b250344e9bbf2d61c329cef7d5ee90b7a9cd44f (patch) | |
tree | c01a74e57359f1762fa125ed0083ad217361bda2 /llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp | |
parent | 5beb2c3ab3df9b2f76b0c9d10db18c73c3ee5a2f (diff) | |
download | bcm5719-llvm-8b250344e9bbf2d61c329cef7d5ee90b7a9cd44f.tar.gz bcm5719-llvm-8b250344e9bbf2d61c329cef7d5ee90b7a9cd44f.zip |
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
Diffstat (limited to 'llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp')
0 files changed, 0 insertions, 0 deletions