llvm-project/llvm/tools/llvm-rc
Tobias Hieta 7cca34acc4 [llvm-rc]: Find <target>-clang over just clang
This patch makes llvm-rc/windres prefer <target>-clang over
clang when doing it's preprocessing. This is so that we can
have a .cfg file for <target> and configure sysroot and other
important flags.

Config files not picked up with clang --target=<target>
automatically.

We only look for <target>-clang in the same dir as llvm-windres
and not for all PATHs to minimize the change.

Reviewed By: mstorsjo

Differential Revision: https://reviews.llvm.org/D119219
2022-02-09 09:04:53 +01:00
..
CMakeLists.txt [llvm-rc] Add a GNU windres-like frontend to llvm-rc 2021-04-26 22:04:29 +03:00
Opts.td [llvm-rc] Run clang to preprocess input files 2021-04-21 11:50:10 +03:00
ResourceFileWriter.cpp [llvm-rc] Use cast<> instead of dyn_cast<> to avoid dereference of nullptr 2022-02-02 15:36:01 +00:00
ResourceFileWriter.h [llvm-rc] Fix handling of the /X option to match its documentation and rc.exe 2021-04-20 09:22:43 +03:00
ResourceScriptCppFilter.cpp [llvm] Rename StringRef _lower() method calls to _insensitive() 2021-06-25 00:22:01 +03:00
ResourceScriptCppFilter.h
ResourceScriptParser.cpp [llvm] Remove uses of `std::vector<bool>` 2022-01-18 18:20:45 +01:00
ResourceScriptParser.h [llvm] Remove unused forward declarations (NFC) 2022-01-07 20:00:34 -08:00
ResourceScriptStmt.cpp
ResourceScriptStmt.h [llvm] Remove uses of `std::vector<bool>` 2022-01-18 18:20:45 +01:00
ResourceScriptToken.cpp [llvm-rc] Allow dashes as part of resource name strings 2021-07-23 23:05:20 +03:00
ResourceScriptToken.h
ResourceScriptTokenList.def
ResourceVisitor.h
WindresOpts.td [llvm-rc] Add a GNU windres-like frontend to llvm-rc 2021-04-26 22:04:29 +03:00
llvm-rc.cpp [llvm-rc]: Find <target>-clang over just clang 2022-02-09 09:04:53 +01:00