llvm-project
0a3f2a05 - [BPF] Fix issues with external declarations of C++ structor decls (#137079)

Commit
228 days ago
[BPF] Fix issues with external declarations of C++ structor decls (#137079) Use GetAddrOfGlobal, which is a more general API that takes a GlobalDecl, and handles declaring C++ destructors and other types in a general way. We can use this to generalize over functions and variable declarations. This fixes issues reported on #130674 by @lexi-nadia .
Author
rnk rnk
Parents
Loading