aganea added a comment.

A few questions: Does this work on x86 targets? Are the scudo tests below being 
built with /MD or with /MT? Would this change compile/work on MinGW as well?



================
Comment at: compiler-rt/lib/scudo/scudo_platform.h:72
+#elif SANITIZER_WINDOWS
+const uptr AllocatorSize = 0x4000000000ULL; // 256G.
 # else
----------------
It is not clear for readers why some platforms have a value different than 
others. It'd be really nice if there was a short comment explaining that, at 
least for Windows. For Windows at least, the reason is explained here: 
https://reviews.llvm.org/D86694#2277371


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D96120

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to