Skip to content

Commit d8de38b

Browse files
authored
[BOLT][RISCV] Handle EH_LABEL operands (#68998)
Fixes the `runtime/exceptions-no-pie.cpp` test on RISC-V.
1 parent 0ddca87 commit d8de38b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bolt/lib/Target/RISCV/RISCVMCPlusBuilder.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,7 @@ class RISCVMCPlusBuilder : public MCPlusBuilder {
303303
default:
304304
return false;
305305
case RISCV::C_J:
306+
case TargetOpcode::EH_LABEL:
306307
OpNum = 0;
307308
return true;
308309
case RISCV::AUIPC:

0 commit comments

Comments
 (0)