Lines Matching +full:auto +full:- +full:boot

1 //===--- Haiku.cpp - Haiku ToolChain Implementations ------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
26 const auto &ToolChain = static_cast<const Haiku &>(getToolChain()); in ConstructJob()
33 // Silence warning for "clang -g foo.o -o foo" in ConstructJob()
35 // and "clang -emit-llvm foo.o -o foo" in ConstructJob()
37 // and for "clang -w foo.o -o foo". Other warning options are already in ConstructJob()
41 // Silence warning for "clang -pie foo.o -o foo" in ConstructJob()
44 // -rdynamic is a no-op with Haiku. Claim argument to avoid warning. in ConstructJob()
48 CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot)); in ConstructJob()
50 CmdArgs.push_back("--eh-frame-hdr"); in ConstructJob()
52 CmdArgs.push_back("-Bstatic"); in ConstructJob()
55 CmdArgs.push_back("-shared"); in ConstructJob()
56 CmdArgs.push_back("--enable-new-dtags"); in ConstructJob()
59 CmdArgs.push_back("-shared"); in ConstructJob()
62 CmdArgs.push_back("--no-undefined"); in ConstructJob()
65 CmdArgs.push_back("-X"); in ConstructJob()
67 CmdArgs.push_back("--no-relax"); in ConstructJob()
72 CmdArgs.push_back("-o"); in ConstructJob()
92 auto Input = llvm::find_if( in ConstructJob()
93 Inputs, [](const InputInfo &II) -> bool { return II.isFilename(); }); in ConstructJob()
108 // Use the static OpenMP runtime with -static-openmp in ConstructJob()
115 // Silence warnings when linking C code with a C++ '-stdlib' argument. in ConstructJob()
118 // Additional linker set-up and flags for Fortran. This is required in order in ConstructJob()
127 CmdArgs.push_back("-lgcc"); in ConstructJob()
129 CmdArgs.push_back("--push-state"); in ConstructJob()
130 CmdArgs.push_back("--as-needed"); in ConstructJob()
131 CmdArgs.push_back("-lgcc_s"); in ConstructJob()
132 CmdArgs.push_back("--no-as-needed"); in ConstructJob()
133 CmdArgs.push_back("--pop-state"); in ConstructJob()
135 CmdArgs.push_back("-lroot"); in ConstructJob()
137 CmdArgs.push_back("-lgcc"); in ConstructJob()
139 CmdArgs.push_back("--push-state"); in ConstructJob()
140 CmdArgs.push_back("--as-needed"); in ConstructJob()
141 CmdArgs.push_back("-lgcc_s"); in ConstructJob()
142 CmdArgs.push_back("--no-as-needed"); in ConstructJob()
143 CmdArgs.push_back("--pop-state"); in ConstructJob()
163 /// Haiku - Haiku tool chain which can call as(1) and ld(1) directly.
170 getFilePaths().push_back(concat(getDriver().SysRoot, "/boot/system/lib")); in Haiku()
171 getFilePaths().push_back(concat(getDriver().SysRoot, "/boot/system/develop/lib")); in Haiku()
193 // Add dirs specified via 'configure --with-c-include-dirs'. in AddClangSystemIncludeArgs()
207 "/boot/system/non-packaged/develop/headers")); in AddClangSystemIncludeArgs()
209 "/boot/system/develop/headers/os")); in AddClangSystemIncludeArgs()
211 "/boot/system/develop/headers/os/app")); in AddClangSystemIncludeArgs()
213 "/boot/system/develop/headers/os/device")); in AddClangSystemIncludeArgs()
215 "/boot/system/develop/headers/os/drivers")); in AddClangSystemIncludeArgs()
217 "/boot/system/develop/headers/os/game")); in AddClangSystemIncludeArgs()
219 "/boot/system/develop/headers/os/interface")); in AddClangSystemIncludeArgs()
221 "/boot/system/develop/headers/os/kernel")); in AddClangSystemIncludeArgs()
223 "/boot/system/develop/headers/os/locale")); in AddClangSystemIncludeArgs()
225 "/boot/system/develop/headers/os/mail")); in AddClangSystemIncludeArgs()
227 "/boot/system/develop/headers/os/media")); in AddClangSystemIncludeArgs()
229 "/boot/system/develop/headers/os/midi")); in AddClangSystemIncludeArgs()
231 "/boot/system/develop/headers/os/midi2")); in AddClangSystemIncludeArgs()
233 "/boot/system/develop/headers/os/net")); in AddClangSystemIncludeArgs()
235 "/boot/system/develop/headers/os/opengl")); in AddClangSystemIncludeArgs()
237 "/boot/system/develop/headers/os/storage")); in AddClangSystemIncludeArgs()
239 "/boot/system/develop/headers/os/support")); in AddClangSystemIncludeArgs()
241 "/boot/system/develop/headers/os/translation")); in AddClangSystemIncludeArgs()
243 "/boot/system/develop/headers/os/add-ons/graphics")); in AddClangSystemIncludeArgs()
245 "/boot/system/develop/headers/os/add-ons/input_server")); in AddClangSystemIncludeArgs()
247 "/boot/system/develop/headers/os/add-ons/mail_daemon")); in AddClangSystemIncludeArgs()
249 "/boot/system/develop/headers/os/add-ons/registrar")); in AddClangSystemIncludeArgs()
251 "/boot/system/develop/headers/os/add-ons/screen_saver")); in AddClangSystemIncludeArgs()
253 "/boot/system/develop/headers/os/add-ons/tracker")); in AddClangSystemIncludeArgs()
255 "/boot/system/develop/headers/os/be_apps/Deskbar")); in AddClangSystemIncludeArgs()
257 "/boot/system/develop/headers/os/be_apps/NetPositive")); in AddClangSystemIncludeArgs()
259 "/boot/system/develop/headers/os/be_apps/Tracker")); in AddClangSystemIncludeArgs()
261 "/boot/system/develop/headers/3rdparty")); in AddClangSystemIncludeArgs()
263 "/boot/system/develop/headers/bsd")); in AddClangSystemIncludeArgs()
265 "/boot/system/develop/headers/glibc")); in AddClangSystemIncludeArgs()
267 "/boot/system/develop/headers/gnu")); in AddClangSystemIncludeArgs()
269 "/boot/system/develop/headers/posix")); in AddClangSystemIncludeArgs()
271 "/boot/system/develop/headers")); in AddClangSystemIncludeArgs()
277 concat(getDriver().SysRoot, "/boot/system/develop/headers/c++/v1")); in addLibCxxIncludePaths()