diff options
author | Justin Bogner <mail@justinbogner.com> | 2014-09-12 21:22:55 +0000 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2014-09-12 21:22:55 +0000 |
commit | 54b112828f8df04af8b7ab326d23789f2bea0389 (patch) | |
tree | aa20e68132b8b7bc3ba1400e91a021d44778781c /llvm/tools/llvm-objdump/llvm-objdump.h | |
parent | 40bcd9f664d34de9e9038c0daad0021b7017d2c6 (diff) | |
download | bcm5719-llvm-54b112828f8df04af8b7ab326d23789f2bea0389.tar.gz bcm5719-llvm-54b112828f8df04af8b7ab326d23789f2bea0389.zip |
llvm-profdata: Avoid undefined behaviour when reading raw profiles
The raw profiles that are generated in compiler-rt always add padding
so that each profile is aligned, so we can simply treat files that
don't have this property as malformed.
Caught by Alexey's new ubsan bot. Thanks!
llvm-svn: 217708
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.h')
0 files changed, 0 insertions, 0 deletions