diff options
author | Martin Storsjö <martin@martin.st> | 2024-01-19 10:01:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-19 10:01:29 +0200 |
commit | c6a6547798ca641b985456997cdf986bb99b0707 (patch) | |
tree | c8fe237e752c47f717acb15e371f0cf91c543eca /llvm/tools/llvm-cov/SourceCoverageView.cpp | |
parent | 407db48eb4d387ae272bfbef9b12868806f1e830 (diff) | |
download | llvm-c6a6547798ca641b985456997cdf986bb99b0707.zip llvm-c6a6547798ca641b985456997cdf986bb99b0707.tar.gz llvm-c6a6547798ca641b985456997cdf986bb99b0707.tar.bz2 |
[compiler-rt] Add a prefix on the windows mmap symbols (#78037)
For Windows, the compiler-rt profile library contains a polyfill
reimplementation of the mmap family of functions.
Previously, the runtime library exposed those symbols like, "mmap", in
the user symbol namespace. This could cause misdetections by configure
scripts that check for the "mmap" function just by linking, without
including headers.
Add a prefix on the symbols, and make an undeclared function static.
This fixes such an issue reported at
https://github.com/mstorsjo/llvm-mingw/issues/390.
Diffstat (limited to 'llvm/tools/llvm-cov/SourceCoverageView.cpp')
0 files changed, 0 insertions, 0 deletions