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

2023-09-26 Thread Alex Fan via Phabricator via cfe-commits
alexfanqi updated this revision to Diff 557362. alexfanqi added a comment. thanks @hiraditya Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D145214/new/ https://reviews.llvm.org/D145214 Files: clang/lib/Driver/ToolChains/Linux.cpp compiler-rt/cm

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

2023-09-26 Thread Alex Fan via Phabricator via cfe-commits
alexfanqi added a comment. In D145214#4650189 , @hiraditya wrote: > I tested it on a licheepi board (riscv64 debian) and all the tests modified > in this patch have passed. LGTM. Can you help me land this patch? > There are other tsan failures but i th

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

2023-09-26 Thread Alex Fan via Phabricator via cfe-commits
alexfanqi added a comment. >> While testing compiler-rt/test/tsan/RISCV64Config only >> compiler-rt/test/tsan/mmap_lots.cpp failed. I couldn't run all the >> compiler-rt tests on Licheepi because it is very slow I had this only test failure before. When the upper memory space is fully mapped o

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

2023-09-15 Thread Alex Fan via Phabricator via cfe-commits
alexfanqi added a comment. In D145214#4646676 , @hiraditya wrote: > @alexfanqi are you still actively working on this? maybe we can move it to > github then. Yeah, but the patch is already complete and tsan functions well with tests passing on my local

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

2023-03-03 Thread Alex Fan via Phabricator via cfe-commits
alexfanqi created this revision. Herald added subscribers: luke, Enna1, VincentWu, vkmr, frasercrmck, evandro, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, kito-cheng, niosH

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

2023-03-04 Thread Alex Fan via Phabricator via cfe-commits
alexfanqi updated this revision to Diff 502397. alexfanqi added a comment. remove libatomic link Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D145214/new/ https://reviews.llvm.org/D145214 Files: clang/lib/Driver/ToolChains/Linux.cpp compiler-r

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

2023-03-04 Thread Alex Fan via Phabricator via cfe-commits
alexfanqi added inline comments. Comment at: compiler-rt/lib/tsan/rtl/tsan_platform.h:971 }; -const uptr indicator = 0x0e00ull; +const uptr indicator = 0x0f00ull; const uptr ind_lsb = 1ull << LeastSignificantSetBitIndex(indicator); --

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

2023-04-13 Thread Alex Fan via Phabricator via cfe-commits
alexfanqi added a comment. friendly ping? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D145214/new/ https://reviews.llvm.org/D145214 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.