================
@@ -827,6 +836,52 @@ Error
RawInstrProfReader<IntPtrT>::readRawBitmapBytes(InstrProfRecord &Record) {
return success();
}
+template <class IntPtrT>
+Error RawInstrProfReader<IntPtrT>::readRawUniformCounters(
+ InstrProfRecord &Record) {
+ Record.UniformCounts.clear();
+
+ if (UniformCountersStart == UniformCountersEnd)
+ return success();
+
----------------
yxsamliu wrote:
Added `llvm/test/tools/llvm-profdata/malformed-uniform-counter-array.test` to
cover the malformed uniform-counter offset and count checks.
https://github.com/llvm/llvm-project/pull/190708
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits