- User Since
- May 15 2023, 2:33 PM (18 w, 2 d)
Wed, Sep 13
Thanks, I'm able to reproduce. Seems to be a difference between -c and -cc1. With -c the global value of the mangled name of the constructor is not being found. Looking into it more...
I'm unable to reproduce the crash. What flags are you compiling with?
Tue, Sep 12
Wed, Sep 6
Rebase and fix unused variable warning.
Thu, Aug 24
Aug 8 2023
@efriedma I've updated the patch to fix the decl-use-decl example and added a test for it. Anything else?
Aug 3 2023
Cleanup some extra brackets.
Update deferred annotations whenever EmitGlobalDefinition is called
with a FunctionDecl and it has already been used or defined.
Aug 2 2023
Switch to emitting annotations and the end.
Jul 27 2023
I looked into the above issue with mixing declarations and definitions and I think I can fix that by leaving the AddGlobalAnnotations call in EmitGlobalFunctionDefinition and only calling AddGlobalAnnotations from GetOrCreateLLVMFunction when it's for a definition. However, with that I'm running into some duplicate annotations being created with C++ templates that I need to fix.
Jul 25 2023
That example appears to still work the same with my patch:
A little more context for the new reviewers. Over in this patch I added support for annotations to be emitted into WebAssembly. We'd like to use this to mark imported (declarations) and exported (definitions) of functions with special attributes.
Jul 24 2023
Jul 11 2023
Rebase on main.
Jun 27 2023
Remove annotate arguments. Change name from func_attr to llvm.func_attr.
Use the annotate attribute to generate custom sections.
Jun 22 2023
Jun 21 2023
Jun 20 2023
Jun 14 2023
Jun 13 2023
Fix few remaining issues.
After some feedback, a few people have indicated they'd like to do something similar to this, but for their own attributes. I've changed to a more generic attribute that allows arbitrary strings. Now a custom section will be created for each unique attribute.
Jun 6 2023
Review comments. Add tombstone for unused functions.
Jun 1 2023
May 31 2023
May 24 2023