[PATCH] D140227: [dsymutil] Verify the keep chain when asserts are enabled

Jonas Devlieghere via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 16 10:13:07 PST 2022


JDevlieghere added a comment.

Here's what the output looks like for the bug I'm currently working on:

  error: Found invalid link in keep chain between 0x6ac5 and 0x6aec
  Parent:
  0x00006ac5: DW_TAG_module
                DW_AT_name        ("C")
                DW_AT_LLVM_config_macros  ("...")
                DW_AT_LLVM_include_path   ("...")
  {
    AddrAdjust: 0
    Ctxt: 0x0000000000000000
    Clone: 0x0000000000000000
    ParentIdx: 558
    Keep: 0
    InDebugMap: 0
    Prune: 1
    Incomplete: 0
    InModuleScope: 1
    ODRMarkingDone: 0
  }
  Child:
  0x00006aec:   DW_TAG_module
                  DW_AT_name      ("stddef")
                  DW_AT_LLVM_config_macros        ("...")
                  DW_AT_LLVM_include_path ("...")
  {
    AddrAdjust: 0
    Ctxt: 0x0000000000000000
    Clone: 0x0000000000000000
    ParentIdx: 581
    Keep: 1
    InDebugMap: 0
    Prune: 0
    Incomplete: 0
    InModuleScope: 1
    ODRMarkingDone: 0
  }
  LLVM ERROR: invalid keep chain


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

https://reviews.llvm.org/D140227



More information about the llvm-commits mailing list