]> git.ipfire.org Git - thirdparty/gcc.git/commit
libsanitizer: Cherry-pick LLVM release/13.x commit d96358a28193
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 17 Dec 2021 19:08:32 +0000 (11:08 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 12 Jan 2022 01:53:13 +0000 (17:53 -0800)
commit8c0f58cd71ec3afcce5abf10c750ec494e88232b
tree0ff3085b701c9db755f6894adccecfa0d6a8e959
parent430e62140a417c54ac2913cce3ec4b55217d4b8d
libsanitizer: Cherry-pick LLVM release/13.x commit d96358a28193

Cherry-pick from LLVM release/13.x branch:

commit d96358a2819399a2abb60ad3b26444ab7b4409cf
Author: Michał Górny <mgorny@moritz.systems>
Date:   Mon Dec 13 22:28:26 2021 +0100

    [compiler-rt] Increase kDlsymAllocPoolSize to fix test failures

    Increase kDlsymAllocPoolSize on the release branch as discussed on bug
    51620, as an alternative to backporting
    cb0e14ce6dcdd614a7207f4ce6fcf81a164471ab and its dependencies.
    The minimum size is 8192, as needed for the following test to pass:

      AddressSanitizer-i386-linux :: TestCases/Linux/long-object-path.cpp

    Fixes #51620

PR sanitizer/102911
* asan/asan_malloc_linux.cpp (kDlsymAllocPoolSize): Set it to
8192 on Linux.
libsanitizer/asan/asan_malloc_linux.cpp