https://bugs.llvm.org/show_bug.cgi?id=51624
Bug ID: 51624
Summary: "llvm-profdata merge" doesn't work in 13.0
Product: new-bugs
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedb...@nondot.org
Reporter: b...@lindev.ch
CC: htmldevelo...@gmail.com, llvm-bugs@lists.llvm.org
Doing something along the lines of
export LLVM_PROFILE_FILE=xyz-%p.profile.d
export CFLAGS="-O2 -fprofile-instr-generate"
export CXXFLAGS="-O2 -fprofile-instr-generate"
./configure
make
# Run the generated binaries in some expected ways, e.g. "make check"
llvm-profdata merge --output=xyz.profile xyz-*.profile.d
consistently (obviously with PIDs varying) results in
warning: xyz-670250.profile.d: malformed instrumentation profile data
warning: xyz-670257.profile.d: malformed instrumentation profile data
error: no profile can be merged
The *.profile.d files look ok at a first glance, and "file" recognizes them as
"LLVM raw profile data, version 7".
Looks like only "llvm-profdata merge" is broken, using -fprofile-instr-use=<any
of the individual files> seems to be ok.
This is a regression from 12.x.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs