[all-commits] [llvm/llvm-project] 317e00: [PGO] Change a `NumVSites == 0` workaround to assert
Fangrui Song via All-commits
all-commits at lists.llvm.org
Mon Aug 3 10:14:24 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 317e00dc54c74a2e0fd0c62bdc6a6d68b0d2ca7e
https://github.com/llvm/llvm-project/commit/317e00dc54c74a2e0fd0c62bdc6a6d68b0d2ca7e
Author: Fangrui Song <i at maskray.me>
Date: 2020-08-03 (Mon, 03 Aug 2020)
Changed paths:
M compiler-rt/lib/profile/InstrProfilingValue.c
Log Message:
-----------
[PGO] Change a `NumVSites == 0` workaround to assert
The root cause was fixed by 3d6f53018f845e893ad34f64ff2851a2e5c3ba1d.
The workaround added in 99ad956fdaee5398fdcf46fa49cb433cf52dc461 can be changed
to an assert now. (In case the fix regresses, there will be a heap-use-after-free.)
More information about the All-commits
mailing list