llvm-project
cc79831d - [CIR] Implement weak ref and alias attribute handling (#195972)

Commit
12 days ago
[CIR] Implement weak ref and alias attribute handling (#195972) This adds handling for globals with the WeakRefAttr (not emitted) or AliasAttr attributes set. CIR already had support for function aliases, but we weren't handling the explicit alias attribute, and we didn't have any support for global variable aliases. This change adds the global variable alias support and adds the code to handle the explicit attribute for variables and functions. Assisted-by: Cursor / claude-opus-4.7-thinking-xhigh
Author
Parents
Loading