The check needs to validate a counter offset before performing pointer arithmetic with the (potentially corrupt) offset. Found by UBSan's pointer overflow check. rdar://54843625 Differential Revision: https://reviews.llvm.org/D66979 llvm-svn: 370826
6 lines
174 B
Plaintext
6 lines
174 B
Plaintext
REQUIRES: zlib
|
|
|
|
RUN: not llvm-profdata merge -o /dev/null %p/Inputs/malformed-ptr-to-counter-array.profraw 2>&1 | FileCheck %s
|
|
|
|
CHECK: Malformed instrumentation profile data
|