syntacore/snippy

General purpose RW section is required even when no memory instructions were specified

Opened this issue · 0 comments

Reproduced on 1.0

layout.yaml:

options:
  march: riscv64

sections:
  - name: text
    VMA: 0x1000
    LMA: 0x1000
    SIZE: 0x1000
    ACCESS: rx

histogram:
  - [ADD, 1]

Command:

llvm-snippy layout.yaml

Output:

error: LLVM ERROR: Incorrect list of sections: there are no general purpose RW sections