summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/CloneFunction.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2017-04-10 19:33:29 +0000
committerZachary Turner <zturner@google.com>2017-04-10 19:33:29 +0000
commit0c990bbe09ff6c76be00be25bc6f08f302c97c12 (patch)
treeff3bf867e43130b788d90458a743294538d4601a /llvm/lib/Transforms/Utils/CloneFunction.cpp
parentf7ce1662202717f774d1697948790f85bf6d8495 (diff)
downloadbcm5719-llvm-0c990bbe09ff6c76be00be25bc6f08f302c97c12.tar.gz
bcm5719-llvm-0c990bbe09ff6c76be00be25bc6f08f302c97c12.zip
[llvm-pdbdump] Display padding bytes on record layout
When dumping classes, show where padding occurs, and at the end of the class print statistics about how many bytes total of padding exist in a class. Since PDB doesn't specifically contain information about padding, we have to mimic this by sort of reversing a small portion of the record layout algorithm (e.g. looking at offsets and sizes and trying to determine whether something is part of the same field or a new field). Differential Revision: https://reviews.llvm.org/D31800 llvm-svn: 299869
Diffstat (limited to 'llvm/lib/Transforms/Utils/CloneFunction.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud