https://bugs.llvm.org/show_bug.cgi?id=45880
Louis Dionne <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|FIXED |---
Status|RESOLVED |REOPENED
--- Comment #25 from Louis Dionne <[email protected]> ---
(In reply to Sean McBride from comment #24)
>
> If `/usr/bin/clang` can do it, why can't the open source binaries do it?
The main difference is that when you invoke Apple Clang (e.g.
`/usr/bin/clang`), you're actually going through a shim that calls `xcrun
/path/to/actual/clang/inside/Xcode.app`, and that sets the SDK to use by
default. For the open-source Clang, you might or might not even have a SDK
available, cause it's possible to install LLVM Clang without having any Xcode.
Regardless, I went ahead and tried implementing it in Clang:
https://reviews.llvm.org/D109460. This patch does solve your problem but it
creates other problems as well. I opened that review to see whether this was
worth pursuing or not.
Reopening until we get to the bottom of this.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs