[all-commits] [llvm/llvm-project] 50a08e: [DFSan] Fix flakey release_shadow_space.c accounti...

Andrew Browne via All-commits all-commits at lists.llvm.org
Mon Oct 11 00:35:34 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 50a08e2c6d4185df6a5b0a5b41c7ef8849aad269
      https://github.com/llvm/llvm-project/commit/50a08e2c6d4185df6a5b0a5b41c7ef8849aad269
  Author: Andrew Browne <browneee at google.com>
  Date:   2021-10-11 (Mon, 11 Oct 2021)

  Changed paths:
    M compiler-rt/test/dfsan/release_shadow_space.c

  Log Message:
  -----------
  [DFSan] Fix flakey release_shadow_space.c accounting for Origin chains.

Test sometimes fails on buildbot (after two non-Origins executions):

/usr/bin/ld: warning: Cannot export local symbol 'dfsan_flush'
RSS at start: 4620, after mmap: 107020, after mmap+set label: 209424, after fixed map: 4624, after another mmap+set label: 209424, after munmap: 4624
/usr/bin/ld: warning: Cannot export local symbol 'dfsan_flush'
RSS at start: 4620, after mmap: 107020, after mmap+set label: 209424, after fixed map: 4624, after another mmap+set label: 209424, after munmap: 4624
/usr/bin/ld: warning: Cannot export local symbol 'dfsan_flush'
RSS at start: 4620, after mmap: 107020, after mmap+set label: 317992, after fixed map: 10792, after another mmap+set label: 317992, after munmap: 10792
release_shadow_space.c.tmp: /b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/dfsan/release_shadow_space.c:91: int main(int, char **): Assertion `after_fixed_mmap <= before + delta' failed.

Reviewed By: vitalybuka

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




More information about the All-commits mailing list