[PATCH] D102039: [profile] Add binary id into profiles

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 14 22:36:38 PST 2021


vitalybuka added inline comments.


================
Comment at: compiler-rt/lib/profile/InstrProfilingPlatformLinux.c:178
+        (const ElfW(Nhdr) *)((const char *)(Note) + ProgramHeader[I].p_filesz);
+    return WriteBinaryIds(Writer, Note, NotesEnd);
+  }
----------------
Here is the problem
This loop stops on the first PT_NOTE, even if it's not build-id
e.g. .note.ABI-tag, check my log in the message above


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D102039/new/

https://reviews.llvm.org/D102039



More information about the llvm-commits mailing list