[llvm] [llvm-profgen] Support COFF binary (PR #83972)

Lei Wang via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 5 15:09:47 PST 2024


================
@@ -442,8 +464,8 @@ void ProfiledBinary::decodePseudoProbe(const ELFObjectFileBase *Obj) {
 void ProfiledBinary::decodePseudoProbe() {
   OwningBinary<Binary> OBinary = unwrapOrError(createBinary(Path), Path);
----------------
wlei-llvm wrote:

Nit: assert !isCOFF() ...

https://github.com/llvm/llvm-project/pull/83972


More information about the llvm-commits mailing list