[all-commits] [llvm/llvm-project] 61c75e: [memprof] Initialize MemInfoBlock data.

Snehasish Kumar via All-commits all-commits at lists.llvm.org
Tue Mar 22 14:36:11 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 61c75eb6372786e5bc4025bd9023376fded76bf2
      https://github.com/llvm/llvm-project/commit/61c75eb6372786e5bc4025bd9023376fded76bf2
  Author: Snehasish Kumar <snehasishk at google.com>
  Date:   2022-03-22 (Tue, 22 Mar 2022)

  Changed paths:
    M compiler-rt/include/profile/MemProfData.inc
    M llvm/include/llvm/ProfileData/MemProfData.inc

  Log Message:
  -----------
  [memprof] Initialize MemInfoBlock data.

This patch updates the existing default no-arg constructor for
MemInfoBlock to explicitly initialize all members. Also add missing
DataTypeId initialization to the other constructor. These issues were
exposed by msan on patch D121179. With this patch D121179 builds cleanly
on msan.

Reviewed By: tejohnson

Differential Revision: https://reviews.llvm.org/D122260




More information about the All-commits mailing list