diff options
author | Raul Tambre <raul@tambre.ee> | 2024-10-14 15:07:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-14 15:07:11 +0300 |
commit | 9cc6d6e9a96bda923ff7e7bb7394dfb4d2319b07 (patch) | |
tree | 7e8105bea3fbe5be67844fdf30e42d8c07ccd594 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | c978f0f7ac33a5085053da7189201babd366c82d (diff) | |
download | llvm-9cc6d6e9a96bda923ff7e7bb7394dfb4d2319b07.zip llvm-9cc6d6e9a96bda923ff7e7bb7394dfb4d2319b07.tar.gz llvm-9cc6d6e9a96bda923ff7e7bb7394dfb4d2319b07.tar.bz2 |
[compiler-rt] Explicitly enable C extensions for profile (#110555)
The profiling code requires GNU extensions as it uses functions such as getpagesize(), fdopen(), etc.
The problem manifests when the compiler is built to not default to the extensions mode, e.g. custom config with -std=c2x. CMake didn't support this scenario very well, but it's been fixed by CMP0128. Set the policy to NEW as we now conform to it.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions