avr-llvm / clang

[MERGED UPSTREAM] Clang frontend supporting AVR
Other
11 stars 1 forks source link

Handle the `externally_visible` attribute #5

Open dylanmckay opened 9 years ago

dylanmckay commented 9 years ago

Support for parsing the externally_visible attribute was added in b7e44f4ae56914b6deb5f523994ca990b257a625.

It needs to be properly handled.

See the GCC documentation about the attribute.

This attribute is applied in the ISR macro for AVR. While externally_visible is unhandled, ISRs can have their visibility changed during optimization.

Once this is done, it can be upstreamed (see LLVM bug 16683).