aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
diff options
context:
space:
mode:
authorYi Kong <yikong@google.com>2025-06-29 10:37:12 +0800
committerGitHub <noreply@github.com>2025-06-29 10:37:12 +0800
commit68d83fae70b2fa136b6c4a8c91af9e615eeedf95 (patch)
treefed2a82daf56019c748106e51b87267526968133 /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
parent25d52fbf96ec927914b3a5c9db0b61fe2804a3dd (diff)
downloadllvm-68d83fae70b2fa136b6c4a8c91af9e615eeedf95.zip
llvm-68d83fae70b2fa136b6c4a8c91af9e615eeedf95.tar.gz
llvm-68d83fae70b2fa136b6c4a8c91af9e615eeedf95.tar.bz2
[llvm-profdata] Resolve tilde for weighted input filenames (#146206)
When specifying a weighted input file, the shell does not automatically expand the tilde (`~`) character in the filename because the argument is passed as a single string in the format `<weight>,<filename>`. This commit fixes the issue by using `llvm::sys::fs::expand_tilde` to explicitly resolve the tilde in the filename, ensuring that paths like `~/path/to/file` are correctly handled.
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions