Skip to content

Commit badc7e6

Browse files
committed
Remove extra "\01" prefix in EH docs
These escapes haven't been necessary since f8b51c5. Remove them to declutter the docs.
1 parent ea2be45 commit badc7e6

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

llvm/docs/ExceptionHandling.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -670,15 +670,15 @@ all of the new IR instructions:
670670
entry:
671671
%obj = alloca %struct.Cleanup, align 4
672672
%e = alloca i32, align 4
673-
%call = invoke %struct.Cleanup* @"\01??0Cleanup@@QEAA@XZ"(%struct.Cleanup* nonnull %obj)
673+
%call = invoke %struct.Cleanup* @"??0Cleanup@@QEAA@XZ"(%struct.Cleanup* nonnull %obj)
674674
to label %invoke.cont unwind label %lpad.catch
675675
676676
invoke.cont: ; preds = %entry
677-
invoke void @"\01?may_throw@@YAXXZ"()
677+
invoke void @"?may_throw@@YAXXZ"()
678678
to label %invoke.cont.2 unwind label %lpad.cleanup
679679
680680
invoke.cont.2: ; preds = %invoke.cont
681-
call void @"\01??_DCleanup@@QEAA@XZ"(%struct.Cleanup* nonnull %obj) nounwind
681+
call void @"??_DCleanup@@QEAA@XZ"(%struct.Cleanup* nonnull %obj) nounwind
682682
br label %return
683683
684684
return: ; preds = %invoke.cont.3, %invoke.cont.2
@@ -687,15 +687,15 @@ all of the new IR instructions:
687687
688688
lpad.cleanup: ; preds = %invoke.cont.2
689689
%0 = cleanuppad within none []
690-
call void @"\01??1Cleanup@@QEAA@XZ"(%struct.Cleanup* nonnull %obj) nounwind
690+
call void @"??1Cleanup@@QEAA@XZ"(%struct.Cleanup* nonnull %obj) nounwind
691691
cleanupret %0 unwind label %lpad.catch
692692
693693
lpad.catch: ; preds = %lpad.cleanup, %entry
694694
%1 = catchswitch within none [label %catch.body] unwind label %lpad.terminate
695695
696696
catch.body: ; preds = %lpad.catch
697-
%catch = catchpad within %1 [%rtti.TypeDescriptor2* @"\01??_R0H@8", i32 0, i32* %e]
698-
invoke void @"\01?may_throw@@YAXXZ"()
697+
%catch = catchpad within %1 [%rtti.TypeDescriptor2* @"??_R0H@8", i32 0, i32* %e]
698+
invoke void @"?may_throw@@YAXXZ"()
699699
to label %invoke.cont.3 unwind label %lpad.terminate
700700
701701
invoke.cont.3: ; preds = %catch.body
@@ -704,7 +704,7 @@ all of the new IR instructions:
704704
705705
lpad.terminate: ; preds = %catch.body, %lpad.catch
706706
cleanuppad within none []
707-
call void @"\01?terminate@@YAXXZ"
707+
call void @"?terminate@@YAXXZ"
708708
unreachable
709709
}
710710

0 commit comments

Comments
 (0)