[PATCH] D131225: Driver: Refactor and support per target dirs in baremetal
Manoj Gupta via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 4 17:59:43 PDT 2022
manojgupta created this revision.
manojgupta added reviewers: MaskRay, abidh, kristof.beyls.
Herald added subscribers: luke957, StephenFan, s.egerton, simoncook, ki.stfu.
Herald added a project: All.
manojgupta requested review of this revision.
Herald added subscribers: cfe-commits, pcwang-thead.
Herald added a project: clang.
Refactor baremetal driver code to reduce the bespoke
additions and base class overrides.
This lets us use the per target runtimes like other clang
targets. E.g. clang -target armv7m-cros-none-eabi will now
be able to use the runtimes installed at
<resource_dir>/lib/armv7m-cros-none-eabi instead of the hardcoded
The older code paths should still continue to work as before if
<resource_dir>/lib/<tuple> does not exist.
rG LLVM Github Monorepo
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 13339 bytes
Desc: not available
More information about the cfe-commits