Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

model-plugin option is not unset by default #17

Open
cesarus777 opened this issue Apr 14, 2024 · 0 comments
Open

model-plugin option is not unset by default #17

cesarus777 opened this issue Apr 14, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@cesarus777
Copy link

Reproduced on 1.0

There is no model that is provided with snippy but generation with the simplest layout would fail due to fail to find libRISCVModel.so.

layout.yaml:

options:
  march: riscv64

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

histogram:
  - [ADD, 1]

Command:

llvm-snippy layout.yaml

Output:

warning: no instructions seed specified, using auto-generated one: 1713058880954237867
ld.lld: warning: cannot find entry symbol _start; not setting start address
LLVM ERROR: could not find library for plugin: libRISCVModel.so

Can model plugin be turned off by default since no default model is supplied with llvm-snippy?

@kv-sc kv-sc added enhancement New feature or request good first issue Good for newcomers labels Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants