[llvm] badc7e6 - Remove extra "\01" prefix in EH docs

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 19 08:21:47 PST 2020


Author: Reid Kleckner
Date: 2020-01-19T08:20:17-08:00
New Revision: badc7e6cf9fe9c9d5941899a929f36e5dc083770

URL: https://github.com/llvm/llvm-project/commit/badc7e6cf9fe9c9d5941899a929f36e5dc083770
DIFF: https://github.com/llvm/llvm-project/commit/badc7e6cf9fe9c9d5941899a929f36e5dc083770.diff

LOG: Remove extra "\01" prefix in EH docs

These escapes haven't been necessary since f8b51c5f90c60. Remove them to
declutter the docs.

Added: 
    

Modified: 
    llvm/docs/ExceptionHandling.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/ExceptionHandling.rst b/llvm/docs/ExceptionHandling.rst
index 18ff53cd3b6f..3e4ebb4c2a7a 100644
--- a/llvm/docs/ExceptionHandling.rst
+++ b/llvm/docs/ExceptionHandling.rst
@@ -670,15 +670,15 @@ all of the new IR instructions:
   entry:
     %obj = alloca %struct.Cleanup, align 4
     %e = alloca i32, align 4
-    %call = invoke %struct.Cleanup* @"\01??0Cleanup@@QEAA at XZ"(%struct.Cleanup* nonnull %obj)
+    %call = invoke %struct.Cleanup* @"??0Cleanup@@QEAA at XZ"(%struct.Cleanup* nonnull %obj)
             to label %invoke.cont unwind label %lpad.catch
 
   invoke.cont:                                      ; preds = %entry
-    invoke void @"\01?may_throw@@YAXXZ"()
+    invoke void @"?may_throw@@YAXXZ"()
             to label %invoke.cont.2 unwind label %lpad.cleanup
 
   invoke.cont.2:                                    ; preds = %invoke.cont
-    call void @"\01??_DCleanup@@QEAA at XZ"(%struct.Cleanup* nonnull %obj) nounwind
+    call void @"??_DCleanup@@QEAA at XZ"(%struct.Cleanup* nonnull %obj) nounwind
     br label %return
 
   return:                                           ; preds = %invoke.cont.3, %invoke.cont.2
@@ -687,15 +687,15 @@ all of the new IR instructions:
 
   lpad.cleanup:                                     ; preds = %invoke.cont.2
     %0 = cleanuppad within none []
-    call void @"\01??1Cleanup@@QEAA at XZ"(%struct.Cleanup* nonnull %obj) nounwind
+    call void @"??1Cleanup@@QEAA at XZ"(%struct.Cleanup* nonnull %obj) nounwind
     cleanupret %0 unwind label %lpad.catch
 
   lpad.catch:                                       ; preds = %lpad.cleanup, %entry
     %1 = catchswitch within none [label %catch.body] unwind label %lpad.terminate
 
   catch.body:                                       ; preds = %lpad.catch
-    %catch = catchpad within %1 [%rtti.TypeDescriptor2* @"\01??_R0H at 8", i32 0, i32* %e]
-    invoke void @"\01?may_throw@@YAXXZ"()
+    %catch = catchpad within %1 [%rtti.TypeDescriptor2* @"??_R0H at 8", i32 0, i32* %e]
+    invoke void @"?may_throw@@YAXXZ"()
             to label %invoke.cont.3 unwind label %lpad.terminate
 
   invoke.cont.3:                                    ; preds = %catch.body
@@ -704,7 +704,7 @@ all of the new IR instructions:
 
   lpad.terminate:                                   ; preds = %catch.body, %lpad.catch
     cleanuppad within none []
-    call void @"\01?terminate@@YAXXZ"
+    call void @"?terminate@@YAXXZ"
     unreachable
   }
 


        


More information about the llvm-commits mailing list