mirror of
https://github.com/siemens-mobile-hacks/llvm-c166.git
synced 2026-11-26 16:40:56 +00:00
`PlatformWindows::DoLoadImage` injected a 261-byte buffer for the loaded module path. Longer paths would be truncated and fail to load. This patch adds a growing buffer (up to the NT limit) which is used only when `GetModuleFileNameA` reports truncation, re-querying without taking an extra reference on the module. This patch also adds 3 tests for lldb, lldb-driver and the SBAPI. They are really regression tests which break if long path support regresses. Requires: - https://github.com/llvm/llvm-project/pull/206046 - https://github.com/llvm/llvm-project/pull/206060 |
||
|---|---|---|
| .. | ||
| main.c | ||
| Makefile | ||
| TestLongPath.py | ||