[PATCH] D95617: [DWARF] Inlined variables with no location should not have a DW_TAG_variable
    Fangrui Song via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Sat Feb  6 14:06:31 PST 2021
    
    
  
MaskRay added a comment.
Reproduce: https://gist.github.com/MaskRay/4c67b29bb038d5a016260437c9e25a7a
  % cat run.sh 
  #!/bin/sh -e
  llc -split-dwarf-file x.dwo -filetype=obj $1 -o x.o
  if llvm-dwarfdump -debug-gnu-pubnames x.o 2> log; then
    exit 1
  fi
  grep 'name lookup table at' log
  % ./run.sh a.ll
  error: name lookup table at offset 0x12cc has a terminator at offset 0x12da before the expected end at 0x12fd
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D95617/new/
https://reviews.llvm.org/D95617
    
    
More information about the llvm-commits
mailing list