[PATCH] D72011: [sanitizers][windows] Global/LocalAlloc interception and tests

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 30 12:46:00 PST 2019


mstorsjo added inline comments.


================
Comment at: compiler-rt/lib/asan/asan_malloc_win.cc:22
 #include "interception/interception.h"
-#include <stddef.h>
 
----------------
Removing `<stddef.h>` here breaks building with mingw, as it's necessary for the `size_t` type.

If I readd it here, it builds fine for me, but I presume it's removed for a reason?


FWIW, do note that this file is named `.cpp` in the latest git master; it looks like this diff has been made against an older tree?

Also, it's useful if the uploaded diffs are made with extra context (`diff -U999`)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D72011





More information about the llvm-commits mailing list