[PATCH] D70697: [BPF] Support to emit debugInfo for extern variables

Yonghong Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 7 11:06:55 PST 2019


yonghong-song updated this revision to Diff 232713.
yonghong-song added a comment.

extern variables can have __attribute__((weak)) attribute. Support it as well.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D70697

Files:
  llvm/lib/Target/BPF/BTF.h
  llvm/lib/Target/BPF/BTFDebug.cpp
  llvm/lib/Target/BPF/BTFDebug.h
  llvm/test/CodeGen/BPF/BTF/extern-var-func-weak-section.ll
  llvm/test/CodeGen/BPF/BTF/extern-var-func-weak.ll
  llvm/test/CodeGen/BPF/BTF/extern-var-func.ll
  llvm/test/CodeGen/BPF/BTF/extern-var-section.ll
  llvm/test/CodeGen/BPF/BTF/extern-var-struct-weak.ll
  llvm/test/CodeGen/BPF/BTF/extern-var-struct.ll
  llvm/test/CodeGen/BPF/BTF/extern-var-weak-section.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70697.232713.patch
Type: text/x-patch
Size: 47399 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191207/7cc9549f/attachment.bin>


More information about the llvm-commits mailing list