aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorRaul Tambre <raul@tambre.ee>2024-10-14 15:07:11 +0300
committerGitHub <noreply@github.com>2024-10-14 15:07:11 +0300
commit9cc6d6e9a96bda923ff7e7bb7394dfb4d2319b07 (patch)
tree7e8105bea3fbe5be67844fdf30e42d8c07ccd594 /flang/lib/Frontend/CompilerInvocation.cpp
parentc978f0f7ac33a5085053da7189201babd366c82d (diff)
downloadllvm-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