diff options
| author | Sterling-Augustine <saugustine@google.com> | 2025-11-11 11:49:10 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-11 11:49:10 -0800 |
| commit | e77001c9f5b5e99d915a2f45f9f067e83def22e1 (patch) | |
| tree | a97ea4a9c9dc674dfae515524143f19bb638c2a3 /llvm/lib/Analysis/ModuleDebugInfoPrinter.cpp | |
| parent | 9fce00469d03d7bf9acbbcd6597206cbbbbbe238 (diff) | |
| download | llvm-e77001c9f5b5e99d915a2f45f9f067e83def22e1.zip llvm-e77001c9f5b5e99d915a2f45f9f067e83def22e1.tar.gz llvm-e77001c9f5b5e99d915a2f45f9f067e83def22e1.tar.bz2 | |
[libc] Use a sensible default when TEST_UNDECLARED_OUTPUTS_DIR is unset. (#167422)
There is no guarantee that this environment variable is set. Eg, when
running a test outside of the build system, such as under a debugger.
And passing a nullptr to the string constructor is undefined.
Use an empty string, which seems like it is close to the original
intent.
Diffstat (limited to 'llvm/lib/Analysis/ModuleDebugInfoPrinter.cpp')
0 files changed, 0 insertions, 0 deletions
