[PATCH] D86694: [scudo] Allow -fsanitize=scudo on Linux and Windows (WIP, don't land as is)

Russell Gallop via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 15 09:12:15 PDT 2020


russell.gallop added a comment.

In D86694#2273815 <https://reviews.llvm.org/D86694#2273815>, @aganea wrote:

> @russell.gallop I see a lots of failing tests when running `ninja check-all` on a Scudo-enabled build (stage 2). Do you see the same thing on your end?

Not a lot but a few, including DynamicLibrary.Shutdown:

  Failed Tests (4):
    LLVM-Unit :: Support/DynamicLibrary/./DynamicLibraryTests.exe/DynamicLibrary.Shutdown
    LLVM :: ExecutionEngine/MCJIT/multi-module-sm-pic-a.ll
    LLVM :: ExecutionEngine/OrcMCJIT/multi-module-sm-pic-a.ll
    LLVM :: ExecutionEngine/OrcMCJIT/stubs-sm-pic.ll

And the MCJIT ones seem intermittent (different ones fail each time).

> If 4.4 TB of virtual pages are mapped in each process (this happens on startup), then we quickly exhaust the 48-bit (256 TB) addressable space with 72+ programs running (on a 36-core). Any idea where this 4.4 TB mapping comes from?

I guess that's just a problem with a larger number of cores then.

I'm going to concentrate on the standalone port as I think that's the way forward. If I get that working then can work through the other issues.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D86694



More information about the cfe-commits mailing list