[PATCH] D99850: [WIP/RFC] lld LTO drops variables in namespaces from .debug_names
    David Blaikie via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Sat Apr  3 18:33:17 PDT 2021
    
    
  
dblaikie added a comment.
Yeah, that looks like it breaks the unattached-global.ll because this causes a DW_AT_location to be added (probably with some kind of broken/empty expression) for a variable without a location/that's been optimized away.
How's the index behavior compare to GCC's debug_names behavior under similar circumstances? Or llvm's behavior with a static (file-local) variable that's similarly optimized away?
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99850/new/
https://reviews.llvm.org/D99850
    
    
More information about the llvm-commits
mailing list