brad added inline comments.
Comment at: clang/lib/Driver/ToolChains/Haiku.cpp:24-25
+ getFilePaths().push_back(concat(getDriver().SysRoot, "/boot/system/lib"));
+ getFilePaths().push_back(concat(getDriver().SysRoot,
"/boot/system/develop/lib"));
}
trungnt29
trungnt2910 added inline comments.
Comment at: clang/lib/Driver/ToolChains/Haiku.cpp:85-86
+ "/boot/system/develop/headers/os/net"));
+ addSystemInclude(DriverArgs, CC1Args, concat(D.SysRoot,
+ "/boot/system/develop/headers/os/opengl"));
+ ad
brad added inline comments.
Comment at: clang/lib/Driver/ToolChains/Haiku.cpp:85-86
+ "/boot/system/develop/headers/os/net"));
+ addSystemInclude(DriverArgs, CC1Args, concat(D.SysRoot,
+ "/boot/system/develop/headers/os/opengl"));
+ addSystem
trungnt2910 added a comment.
I'm not the Haiku toolchain expert here 😅, all I can do is comparing this with
what the GCC toolchain for Haiku does.
Comment at: clang/lib/Driver/ToolChains/Haiku.cpp:24-25
+ getFilePaths().push_back(concat(getDriver().SysRoot, "/boot/system/li
brad updated this revision to Diff 555794.
brad edited the summary of this revision.
brad added a comment.
Separate out the GCC path handling.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D159414/new/
https://reviews.llvm.org/D159414
Files:
clan
brad updated this revision to Diff 555785.
brad added a comment.
Add some C++ header path tests.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D159414/new/
https://reviews.llvm.org/D159414
Files:
clang/lib/Driver/ToolChains/Haiku.cpp
clang/tes
brad updated this revision to Diff 555783.
Herald added a subscriber: ormris.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D159414/new/
https://reviews.llvm.org/D159414
Files:
clang/lib/Driver/ToolChains/Haiku.cpp
clang/test/Driver/haiku.c
cla
brad updated this revision to Diff 555689.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D159414/new/
https://reviews.llvm.org/D159414
Files:
clang/lib/Driver/ToolChains/Haiku.cpp
Index: clang/lib/Driver/ToolChains/Haiku.cpp
==
brad created this revision.
brad added reviewers: nielx, korli, kallisti5.
brad added a project: clang.
Herald added a project: All.
brad requested review of this revision.
Herald added a subscriber: MaskRay.
Some fixes for the header / library paths..
- Use concat macro for all paths
- Correct t