clayborg wrote: Please make a follow up patch to remove the use of PATH_MAX in the SmallString. It isn't needed. Just set the value to 1024 and let the SmallString allocate on the heap if it goes over. https://github.com/llvm/llvm-project/pull/104493