[PATCH] D68393: [RISCV] Add riscv{32,64} to ALL_CRT_SUPPORTED_ARCH list

Edward Jones via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 3 07:13:53 PDT 2019


edward-jones created this revision.
Herald added subscribers: llvm-commits, Sanitizers, simoncook, s.egerton, lenary, benna, psnobl, PkmX, rkruppe, rogfer01, shiva0217, kito-cheng, mgorny.
Herald added projects: Sanitizers, LLVM.

This allows crtbegin and crtend to be built, allowing RISC-V to no longer rely on implementations from libgcc.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D68393

Files:
  compiler-rt/cmake/config-ix.cmake


Index: compiler-rt/cmake/config-ix.cmake
===================================================================
--- compiler-rt/cmake/config-ix.cmake
+++ compiler-rt/cmake/config-ix.cmake
@@ -260,7 +260,7 @@
     ${ARM32} ${ARM64} ${MIPS32} ${MIPS64} ${S390X} ${SPARC} ${SPARCV9})
 set(ALL_ASAN_SUPPORTED_ARCH ${X86} ${X86_64} ${ARM32} ${ARM64}
     ${MIPS32} ${MIPS64} ${PPC64} ${S390X} ${SPARC} ${SPARCV9})
-set(ALL_CRT_SUPPORTED_ARCH ${X86} ${X86_64} ${ARM32} ${ARM64})
+set(ALL_CRT_SUPPORTED_ARCH ${X86} ${X86_64} ${ARM32} ${ARM64} ${RISCV32} ${RISCV64})
 set(ALL_DFSAN_SUPPORTED_ARCH ${X86_64} ${MIPS64} ${ARM64})
 
 if(ANDROID)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68393.223010.patch
Type: text/x-patch
Size: 631 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191003/f4e83176/attachment.bin>


More information about the llvm-commits mailing list