Displaying 2 results from an estimated 2 matches for "wyssman".
2018 May 02
0
Generating function definition for function that's only called during unwinding
Hmmm... It seems like I should check out how the UseList on Value (and its
child BasicBlock) work.
On Tue, May 1, 2018 at 8:34 PM, Keith Wyss <wyssman at gmail.com> wrote:
> Hi,
>
> I'm trying to understand how clang keeps track of which declarations are
> called within a translation unit and decides to codegen their definitions.
>
> DeclBase.h has a markUsed to keep track of ODR use, and I think that the
> decl can b...
2018 May 02
3
Generating function definition for function that's only called during unwinding
Hi,
I'm trying to understand how clang keeps track of which declarations are
called within a translation unit and decides to codegen their definitions.
DeclBase.h has a markUsed to keep track of ODR use, and I think that the
decl can be found from the symbol table via ASTContext.h (for example
looking up a template via GetQualifiedTemplateName -> getAsTemplateDecl ->
setIsUsed ). This