aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorEllis Hoag <ellis.sparky.hoag@gmail.com>2025-05-30 07:57:51 -0700
committerGitHub <noreply@github.com>2025-05-30 07:57:51 -0700
commit5301f4c469de1cd410dbc2fc953ead14296d4eb0 (patch)
tree27af07ec76af3fa4212abac95c22c704f3cc57d1 /llvm/tools/llvm-objdump/llvm-objdump.cpp
parente4ef651695e5274df0abc0f596b3404007094052 (diff)
downloadllvm-5301f4c469de1cd410dbc2fc953ead14296d4eb0.zip
llvm-5301f4c469de1cd410dbc2fc953ead14296d4eb0.tar.gz
llvm-5301f4c469de1cd410dbc2fc953ead14296d4eb0.tar.bz2
[Sanitizer] Use % patterns in report paths (#141820)
Support `%` patterns in sanitizer report paths, similar to the patterns supported in IRPGO https://github.com/llvm/llvm-project/blob/4bf67cdf026478c4bc3e708153c02f82e2c22524/compiler-rt/lib/profile/InstrProfilingFile.c#L999-L1017 * `%%` becomes `%` * `%H` expands to the environment variable `HOME` * `%t` expands to the environment variable `TMPDIR` * `%p` expands to the process ID (PID) In particular, the `%H` pattern is useful to resolve the home directory at runtime, which is not possible before this PR. Also, avoid using `Report()` before the report path has been set.
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions