diff options
author | royitaqi <royitaqi@users.noreply.github.com> | 2024-08-15 17:24:39 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-15 17:24:39 -0700 |
commit | 26670e7fa4f032a019d23d56c6a02926e854e8af (patch) | |
tree | 1cd2eec569c53642080cd315f509f76530eaa87f /llvm/lib/CodeGen/CodeGenPrepare.cpp | |
parent | 4695c16a62261ce85ba28098f402ebcfb72798e9 (diff) | |
download | llvm-26670e7fa4f032a019d23d56c6a02926e854e8af.zip llvm-26670e7fa4f032a019d23d56c6a02926e854e8af.tar.gz llvm-26670e7fa4f032a019d23d56c6a02926e854e8af.tar.bz2 |
[lldb] Correctly fix a usage of `PATH_MAX`, and fix unit tests (#104502)
# Part 1: Correctly fix a usage of `PATH_MAX`
TL;DR: Adding a typedef `lldb_private::PathSmallString` which contains a
hardcoded initial size (128).
# Part 2: Fix unit tests
After https://github.com/llvm/llvm-project/pull/104493 fixed the build
break for Windows, unit test failure showed up for Windows. The
root-cause is that the `FileSpec`'s in the unit tests are not
style-specific. The fix is to apply either `WindowsSpec` or `PosixSpec`
specifically.
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
0 files changed, 0 insertions, 0 deletions