Skip to content

Commit

Permalink
[docs][Lexicon] Add new explanation for some shortcomings(WPD, CFI) f…
Browse files Browse the repository at this point in the history
…or lexicon

Add explanations for WPD(whole program devirtualization) and another meaning for CFI(control flow Integrity).

Reviewed By: tejohnson

Differential Revision: https://reviews.llvm.org/D122473
  • Loading branch information
lizhengxian.123 authored and Enna1 committed Mar 28, 2022
1 parent af9bdcf commit 23b3df5
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions llvm/docs/Lexicon.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,16 @@ C
-

**CFI**
This abbreviation has two meanings.
Either:
Call Frame Information. Used in DWARF debug info and in C++ unwind info
to show how the function prolog lays out the stack frame.

Or:
Control Flow Integrity. A general term for computer security techniques
that prevent a wide variety of malware attacks from redirecting the flow
of execution (the control flow) of a program.

**CIE**
Common Information Entry. A kind of CFI used to reduce the size of FDEs.
The compiler creates a CIE which contains the information common across all
Expand Down Expand Up @@ -152,6 +159,12 @@ I
if a valid C++ source program were to trigger an assert in Clang when
compiled, that could be referred to as an "ICE".

**ICF**
Identical Code Folding

**ICP**
Indirect Call Promotion

**IPA**
Inter-Procedural Analysis. Refers to any variety of code analysis that
occurs between procedures, functions or compilation units (modules).
Expand Down Expand Up @@ -309,3 +322,10 @@ T
**TBAA**
Type-Based Alias Analysis


W
-

**WPD**
Whole Program Devirtualization

0 comments on commit 23b3df5

Please sign in to comment.