File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -244,13 +244,13 @@ void RISCVTargetInfo::getTargetDefines(const LangOptions &Opts,
244
244
if (Scheme == CFBranchLabelSchemeKind::Default)
245
245
Scheme = getDefaultCFBranchLabelScheme ();
246
246
247
- Builder.defineMacro (" __riscv_landing_pad" , " 1 " );
247
+ Builder.defineMacro (" __riscv_landing_pad" );
248
248
switch (Scheme) {
249
249
case CFBranchLabelSchemeKind::Unlabeled:
250
- Builder.defineMacro (" __riscv_landing_pad_unlabeled" , " 1 " );
250
+ Builder.defineMacro (" __riscv_landing_pad_unlabeled" );
251
251
break ;
252
252
case CFBranchLabelSchemeKind::FuncSig:
253
- Builder.defineMacro (" __riscv_landing_pad_func_sig" , " 1 " );
253
+ Builder.defineMacro (" __riscv_landing_pad_func_sig" );
254
254
break ;
255
255
case CFBranchLabelSchemeKind::Default:
256
256
llvm_unreachable (" default cf-branch-label scheme should already be "
You can’t perform that action at this time.
0 commit comments