mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 13:56:09 +00:00

As pointed out in Bug 52371, the Solaris version of `MemoryMappingLayout::Next` completely failed to handle `readlink` errors or properly NUL-terminate the result. This patch fixes this. Originally provided in the PR with slight formatting changes. Tested on `amd64-pc-solaris2.11`. Differential Revision: https://reviews.llvm.org/D112998
Compiler-RT ================================ This directory and its subdirectories contain source code for the compiler support routines. Compiler-RT is open source software. You may freely distribute it under the terms of the license agreement found in LICENSE.txt. ================================