[PATCH] D93254: [NFC][SampleFDO] Preparation to support multiple sections with the same type in ExtBinary format.

Qing Shan Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 17 00:28:03 PST 2020


steven.zhang added a comment.

The new added field `LayoutIndex` miss to be initialized in `include/llvm/ProfileData/SampleProfWriter.h:281` which cause the compiler(clang) warning if with option `-Wmissing-field-initializers`.
This is the error message:
 error: missing field 'LayoutIndex' initializer [-Werror,-Wmissing-field-initializers]


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93254



More information about the llvm-commits mailing list