Commit 3d0220e
Garvit Gupta
[Driver][RISCV] Fix and print appropriate compiler-rt path when
GCCInstallation is valid
RISCVToolChain which recently got removed in commit f8cb798, used a
different compiler-rt path relative to resource-dir. However,
this behavior got override when it was merged in BareMetal toolchain.
This patch fixes that.
Without valid GCCInstallation:
<resource-dir>/<llvm-rel-ver>/lib/baremetal/libclang_rt.builtins-<target>.a
With valid GCCInstalltion:
<resource-dir>/<llvm-rel-ver>/lib/<target-triple>libclang_rt.builtins.a
Change-Id: I37670b24019e3d473139ad6df8c3e6b92196fa6d1 parent 5d849d3 commit 3d0220e
File tree
3 files changed
+20
-0
lines changed- clang
- lib/Driver/ToolChains
- test/Driver
3 files changed
+20
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
209 | 219 | | |
210 | 220 | | |
211 | 221 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
0 commit comments