[PATCH] D141698: doc: Rewrite opening paragraph of CFI Design Doc

2023-02-13 Thread Shao-Ce SUN via Phabricator via cfe-commits
sunshaoce added a comment.

I tend to keep it as it is.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D141698/new/

https://reviews.llvm.org/D141698

___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[PATCH] D141698: doc: Rewrite opening paragraph of CFI Design Doc

2023-01-16 Thread Bastian Kersting via Phabricator via cfe-commits
1c3t3a added a comment.

Hi @pcc and @sunshaoce, I picked you as reviewers since you recently committed 
to the file. Please feel free to re-route this patch to the correct reviewer :)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D141698/new/

https://reviews.llvm.org/D141698

___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[PATCH] D141698: doc: Rewrite opening paragraph of CFI Design Doc

2023-01-13 Thread Bastian Kersting via Phabricator via cfe-commits
1c3t3a created this revision.
Herald added a project: All.
1c3t3a requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D141698

Files:
  clang/docs/ControlFlowIntegrityDesign.rst


Index: clang/docs/ControlFlowIntegrityDesign.rst
===
--- clang/docs/ControlFlowIntegrityDesign.rst
+++ clang/docs/ControlFlowIntegrityDesign.rst
@@ -8,11 +8,12 @@
 Forward-Edge CFI for Virtual Calls
 ==
 
-This scheme works by allocating, for each static type used to make a virtual
-call, a region of read-only storage in the object file holding a bit vector
-that maps onto to the region of storage used for those virtual tables. Each
-set bit in the bit vector corresponds to the `address point`_ for a virtual
-table compatible with the static type for which the bit vector is being built.
+This scheme works by allocating a region of read-only storage in the object
+file that holds a bit vector which maps onto the region of storage used for
+the virtual tables. This is done for each static type that is used to make a
+virtual call. Each set bit in the bit vector corresponds to the `address 
point`_
+for a virtual table compatible with the static type for which the bit vector is
+being built.
 
 For example, consider the following three C++ classes:
 


Index: clang/docs/ControlFlowIntegrityDesign.rst
===
--- clang/docs/ControlFlowIntegrityDesign.rst
+++ clang/docs/ControlFlowIntegrityDesign.rst
@@ -8,11 +8,12 @@
 Forward-Edge CFI for Virtual Calls
 ==
 
-This scheme works by allocating, for each static type used to make a virtual
-call, a region of read-only storage in the object file holding a bit vector
-that maps onto to the region of storage used for those virtual tables. Each
-set bit in the bit vector corresponds to the `address point`_ for a virtual
-table compatible with the static type for which the bit vector is being built.
+This scheme works by allocating a region of read-only storage in the object
+file that holds a bit vector which maps onto the region of storage used for
+the virtual tables. This is done for each static type that is used to make a
+virtual call. Each set bit in the bit vector corresponds to the `address point`_
+for a virtual table compatible with the static type for which the bit vector is
+being built.
 
 For example, consider the following three C++ classes:
 
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits