[PATCH] D57497: [RISCV] Passing small data limitation value to RISCV backend

Shiva Chen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Feb 3 01:59:19 PST 2019


shiva0217 added a comment.

In D57497#1382206 <https://reviews.llvm.org/D57497#1382206>, @apazos wrote:

> Hi Shiva, I think you need to check for and pass  along the -G option to the linker (gnutools::Linker and RISCV::Linker) and will be available for LTO. Check Hexagon, it passes the threshold value to the assembler (via -gpsize)  and linker (via -G).


Hi Ana, thanks for the tips!
I follow Hexagon and implement the passing code in `RISCV::Linker::ConstructJob`.
Could you help me to check whether it could work properly?


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D57497/new/

https://reviews.llvm.org/D57497





More information about the cfe-commits mailing list