[all-commits] [llvm/llvm-project] a2ce97: [memprof] Fix unit test build after refactoring sh...

Snehasish Kumar via All-commits all-commits at lists.llvm.org
Tue Nov 30 11:38:17 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a2ce97cc3f99c8af80b2325acf03a4c171ffb48f
      https://github.com/llvm/llvm-project/commit/a2ce97cc3f99c8af80b2325acf03a4c171ffb48f
  Author: Snehasish Kumar <snehasishk at google.com>
  Date:   2021-11-30 (Tue, 30 Nov 2021)

  Changed paths:
    M compiler-rt/lib/memprof/tests/CMakeLists.txt
    M compiler-rt/lib/memprof/tests/rawprofile.cpp

  Log Message:
  -----------
  [memprof] Fix unit test build after refactoring shared header.

The memprof unittest also needs to include the MemProfData.inc header
directly to have access to MEMPROF_RAW_MAGIC and MEMPROF_RAW_VERSION
globals.




More information about the All-commits mailing list