facebookarchive / BOLT

Binary Optimization and Layout Tool - A linux command-line utility used for optimizing performance of binaries
2.51k stars 176 forks source link

[PR]Fixup an error when perf2bolt parses short build-id in perf.data #266

Closed HShan886 closed 2 years ago

HShan886 commented 2 years ago

When binary is compiled with -Wl, --build-id and linked by lld , Then build-id length of binary is less than 160bit. perf2bolt will report an error.