summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/debug-info-extern-basic.cpp
AgeCommit message (Collapse)Author
2023-07-06[DebugInfo] Enable debug info emission for extern variables in C++Yuze Chi
Debug info emission for extern variables in C++ was previously disabled when the functionality was added in https://reviews.llvm.org/D71818 and originally in https://reviews.llvm.org/D70696, because there was no use case. We are enabling it now, as we start to deploy BPF programs compiled from C++, leveraging C++ features like templates to reduce code complexity. This patch is required so that we can still use kconfig in such BPF programs compiled from C++. Reviewed By: rnk, dblaikie, MaskRay, yonghong-song Differential Revision: https://reviews.llvm.org/D153898