diff options
author | Martin Storsjö <martin@martin.st> | 2021-02-25 14:12:46 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2021-02-26 00:14:12 +0200 |
commit | c7d46f221e829411b0f0dec41409ed626646cdd2 (patch) | |
tree | 18d4fb9453790c8a7fa6385f1353b42ece24622f /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | fb2e4f5401d3ec2507ac3b2c4f86d4bfa07c01ec (diff) | |
download | llvm-c7d46f221e829411b0f0dec41409ed626646cdd2.zip llvm-c7d46f221e829411b0f0dec41409ed626646cdd2.tar.gz llvm-c7d46f221e829411b0f0dec41409ed626646cdd2.tar.bz2 |
[libcxx] Use the allocating form of getcwd() on Glibc and Apple platforms
This avoids having to query pathconf for a max size for
preallocating a buffer for the return value.
This is an extension to the POSIX getcwd() spec.
Differential Revision: https://reviews.llvm.org/D97460
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions