[PATCH] D100567: BPF: emit debuginfo for Function of DeclRefExpr if requested
Yonghong Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 15 23:53:36 PDT 2021
yonghong-song updated this revision to Diff 338002.
yonghong-song added a comment.
- checked both !FD->isDefined() and !Fn->getSubprogram() before emitting debuginfo for the declaration
- added additional tests to mix DeclRefExpr and actual function definition.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D100567/new/
https://reviews.llvm.org/D100567
Files:
clang/include/clang/Basic/TargetInfo.h
clang/lib/Basic/Targets/BPF.h
clang/lib/CodeGen/CGExpr.cpp
clang/lib/Sema/SemaDecl.cpp
clang/test/CodeGen/debug-info-extern-callback.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100567.338002.patch
Type: text/x-patch
Size: 3815 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210416/3700eeae/attachment.bin>
More information about the cfe-commits
mailing list