[PATCH] D96853: [clang][AVR] Support variable decorator '__flash'

Ben Shi via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 17 03:16:11 PST 2021


benshi001 added a comment.

This patch immitates avr-gcc behavior on `__flash`

1. `__flash` variables are put into `.section .progmem.data`
2. `__flash` non-const variables are rejected.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D96853/new/

https://reviews.llvm.org/D96853



More information about the cfe-commits mailing list