# cbe: support more symbol attributes · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/127198e58cb3dcf2d2287124cf15a23a7d3a9c02)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 127198e58cb3dcf2d2287124cf15a23a7d3a9c02

Requested commit: 127198e58cb3dcf2d2287124cf15a23a7d3a9c02

Commit: 127198e58cb3dcf2d2287124cf15a23a7d3a9c02

Tree: cfbb741d5acdb26cdcf7184ba0a8e4391e761c69

Author: Michael Dusan

Committer: Andrew Kelley

## Message

```
cbe: support more symbol attributes

implement codegen for:

- decl weak linkage
- decl aliases
- fn decl weak linkage

windows msvc:
- `__declspec(selectany)` is not supported for functions
- skip weak linkage for functions

closes #17050

```

## Parents

- [fb6fff2561b5a56917e5efee4c374130189ab8b0](https://git.cafe/gitcafe/zig/commit/fb6fff2561b5a56917e5efee4c374130189ab8b0?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/127198e58cb3dcf2d2287124cf15a23a7d3a9c02?format=markdown)
