[PATCH] D99900: [llvm] [testsuite] Fix invalid DW_AT_location DWARF expression in unattached-global.ll

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 8 14:17:58 PDT 2021


aprantl added a comment.

Yeah, my understanding is that all global variables start out as both !dbg attachements on LLVM globals *and* in the list of globals in the DICompileUnit. This way we don't loose track of them when the LLVM global symbol gets deleted by an optimization.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99900



More information about the llvm-commits mailing list