commit | 824444e97a5a8f75ca913cfa676587721204487f | [log] [tgz] |
---|---|---|
author | Justin Bogner <mail@justinbogner.com> | Fri Sep 12 21:22:55 2014 +0000 |
committer | Justin Bogner <mail@justinbogner.com> | Fri Sep 12 21:22:55 2014 +0000 |
tree | 77ece3cfa72d14e9d4a502d74dd3595916f6bcd0 | |
parent | 206359ba209161230e8beb8be1cf4bce5594702b [diff] |
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! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217708 91177308-0d34-0410-b5e6-96231b3b80d8