llvm-project
665907b8 - [Support][Haiku] Use the app image path in getMainExecutable() (#246810)

Commit
8 hours ago
[Support][Haiku] Use the app image path in getMainExecutable() (#246810) On Haiku getMainExecutable() only searched for argv[0]. Callers such as LibTooling pass a placeholder ("clang_tool"), so the lookup failed and tools like clang-tidy could not find the Clang resource directory. Get the path of the app image from get_next_image_info() instead. https://github.com/haikuports/haikuports/issues/15124
Author
Parents
Loading