[llvm] 95a239b - [DebugInfo] Remove a misleading comment for llvm::dwarf::FDE.

Igor Kudrin via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 19 18:13:15 PST 2020


Author: Igor Kudrin
Date: 2020-02-20T09:12:05+07:00
New Revision: 95a239be5b771614a3be47db55ff5ce4acd69390

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

LOG: [DebugInfo] Remove a misleading comment for llvm::dwarf::FDE.

The comment described a linked CIE to be acquired lazily.
That is not true and looks like it was never true.

Differential Revision: https://reviews.llvm.org/D74761

Added: 
    

Modified: 
    llvm/include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h b/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h
index c6539df0d756..adf105285e51 100644
--- a/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h
+++ b/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h
@@ -223,9 +223,6 @@ class CIE : public FrameEntry {
 /// DWARF Frame Description Entry (FDE)
 class FDE : public FrameEntry {
 public:
-  // Each FDE has a CIE it's "linked to". Our FDE contains is constructed with
-  // an offset to the CIE (provided by parsing the FDE header). The CIE itself
-  // is obtained lazily once it's actually required.
   FDE(uint64_t Offset, uint64_t Length, int64_t LinkedCIEOffset,
       uint64_t InitialLocation, uint64_t AddressRange, CIE *Cie,
       Optional<uint64_t> LSDAAddress, Triple::ArchType Arch)


        


More information about the llvm-commits mailing list