[PATCH] D59298: [RISCV] Pass -target-abi to -cc1as
Roger Ferrer Ibanez via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 13 07:03:11 PDT 2019
rogfer01 created this revision.
rogfer01 added a reviewer: asb.
Herald added subscribers: cfe-commits, jocewei, PkmX, rkruppe, the_o, brucehoult, MartinMosbeck, edward-jones, zzheng, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, apazos, simoncook, johnrusso, rbar.
Herald added a project: clang.
The RISC-V assembler needs the target ABI because it defines a flag of the the ELF file, as described in .
Make `clang` (the driver) to pass the target ABI to `-cc1as` in exactly the same way it does for `-cc1`.
Currently `-cc1as` knows about `-target-abi` but is not handling it. Handle it and pass it to the MC layer via MCTargetOptions.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5145 bytes
Desc: not available
More information about the cfe-commits