[llvm] [nfc][InstrProf]Remove 'offsetOf' when parsing indexed profiles (PR #93346)

Mingming Liu via llvm-commits llvm-commits at lists.llvm.org
Wed May 29 13:31:32 PDT 2024


================
@@ -1704,19 +1685,17 @@ size_t Header::size() const {
                   "been added to the header, if not add a case statement to "
                   "fall through to the latest version.");
----------------
minglotus-6 wrote:

done. I also updated the assert message in `static_assert(std::is_standard_layout_v<Header>`.

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


More information about the llvm-commits mailing list