aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2014-09-12 21:22:55 +0000
committerJustin Bogner <mail@justinbogner.com>2014-09-12 21:22:55 +0000
commit54b112828f8df04af8b7ab326d23789f2bea0389 (patch)
treeaa20e68132b8b7bc3ba1400e91a021d44778781c /llvm/lib/Object/MachOObjectFile.cpp
parent40bcd9f664d34de9e9038c0daad0021b7017d2c6 (diff)
downloadllvm-54b112828f8df04af8b7ab326d23789f2bea0389.zip
llvm-54b112828f8df04af8b7ab326d23789f2bea0389.tar.gz
llvm-54b112828f8df04af8b7ab326d23789f2bea0389.tar.bz2
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/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions