[Lldb-commits] [lldb] [LLDB][test] Update Makefile.rules to support Windows host+Linux target (PR #99266)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Fri Jul 19 02:55:40 PDT 2024


labath wrote:

> > What exactly does it help with? Given that you're canonicalizing to a forward slash, does that mean that some of the tools you use don't accept backslashes (perhaps because they come from cygwin or the like)?
> 
> As far as I understand, MinGW make, on which Chocolatey build is based, prefers \ or / slashes.

I don't understand this sentence. Are you saying it prefers forward slashes or backward slashes (or uniform slashes)?

> Also, some include/library paths passed to clang seem to be ignored/incorrectly processed, when they have mixed path separators like C:\....\foo/bar

This is interesting. I'm surprised that errors are coming from llvm tools, as the llvm path libraries treat forward and backward slashes (on windows) as equivalent at a very low level. Could you try to reduce this to a issue to figure out which specific slash in the command is causing the error? I want to make sure we're not working around a bug here...

https://github.com/llvm/llvm-project/pull/99266


More information about the lldb-commits mailing list