[PATCH] D145214: [TSAN] add support for riscv64

Aditya Kumar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 20 14:17:31 PDT 2023


hiraditya added inline comments.


================
Comment at: compiler-rt/lib/tsan/rtl/CMakeLists.txt:223
+    elseif(arch MATCHES "riscv64")
+      add_asm_sources(TSAN_ASM_SOURCES
+        tsan_rtl_riscv64.S
----------------
hiraditya wrote:
> I'm getting error with this line for some reason. Unknown cmake command "add_asm_sources" see: D152102
replace `add_asm_sources` with `set` and it will work.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D145214



More information about the cfe-commits mailing list