[PATCH] D141380: [clang-repl] XFAIL riscv targets in simple-exception test case

2023-01-17 Thread Alex Bradbury via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rG123223ab87ca: [clang-repl] XFAIL riscv targets in simple-exception test case (authored by asb). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D141380/new/ ht

[PATCH] D141380: [clang-repl] XFAIL riscv targets in simple-exception test case

2023-01-17 Thread Alex Bradbury via Phabricator via cfe-commits
asb added a comment. In D141380#4053535 , @Hahnfeld wrote: > Yes, this is correct: The JITLink backend for RISC-V doesn't (yet) register > the eh frames into libunwind, so throwing and catching exceptions through > JITted code doesn't work (yet). I know

[PATCH] D141380: [clang-repl] XFAIL riscv targets in simple-exception test case

2023-01-14 Thread Jonas Hahnfeld via Phabricator via cfe-commits
Hahnfeld accepted this revision. Hahnfeld added a comment. This revision is now accepted and ready to land. Yes, this is correct: The JITLink backend for RISC-V doesn't (yet) register the eh frames into libunwind, so throwing and catching exceptions through JITted code doesn't work (yet). I know

[PATCH] D141380: [clang-repl] XFAIL riscv targets in simple-exception test case

2023-01-13 Thread Sunho Kim via Phabricator via cfe-commits
sunho added a subscriber: Hahnfeld. sunho added a comment. Maybe @Hahnfeld knows something as he added riscv support to clang-repl recently. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D141380/new/ https://reviews.llvm.org/D141380 __

[PATCH] D141380: [clang-repl] XFAIL riscv targets in simple-exception test case

2023-01-13 Thread Sunho Kim via Phabricator via cfe-commits
sunho added a comment. Do you have an exception support in your libc and it's dynamically linked? I believe if clang-repl was able to execute the program, it must have successfully linked to cxxthrow symbols and so exception handling works correctly. Repository: rG LLVM Github Monorepo CHA

[PATCH] D141380: [clang-repl] XFAIL riscv targets in simple-exception test case

2023-01-10 Thread Alex Bradbury via Phabricator via cfe-commits
asb created this revision. asb added reviewers: sunho, lhames. Herald added subscribers: wingo, sunshaoce, pmatos, VincentWu, vkmr, evandro, luismarques, sameer.abuasal, s.egerton, Jim, benna, psnobl, PkmX, rogfer01, shiva0217, kito-cheng, simoncook, kristof.beyls, arichardson. Herald added a pro