Skip to content

Commit da4002c

Browse files
author
Amirhossein Pashaeehir
committed
Add overview for the link mentioned in DWARFAnalysis
1 parent 713877e commit da4002c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

llvm/include/llvm/DWARFCFIChecker/DWARFCFIAnalysis.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@
1212
/// described in this link:
1313
/// https://discourse.llvm.org/t/rfc-dwarf-cfi-validation/86936
1414
///
15+
/// The goal of the checker is to validate DWARF CFI directives using the
16+
/// prologue directives and the machine instructions. The main proposed
17+
/// algorithm validates the directives by comparing the CFI state in each
18+
/// instruction with the state achieved by abstract execution of the instruction
19+
/// on the CFI state. However, the current version implemented here is a simple
20+
/// conditional check based on the registers modified by each instruction.
21+
///
1522
//===----------------------------------------------------------------------===//
1623

1724
#ifndef LLVM_DWARFCFICHECKER_DWARFCFIANALYSIS_H

0 commit comments

Comments
 (0)