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

Add DwarfRegNum #4

Open
reitowo opened this issue Jun 6, 2021 · 1 comment
Open

Add DwarfRegNum #4

reitowo opened this issue Jun 6, 2021 · 1 comment

Comments

@reitowo
Copy link

reitowo commented Jun 6, 2021

// General-purpose registers
foreach I = 0-31 in {
  def R#I : GRi<I, "r"#I>, DwarfRegNum<[I]>;
}

Otherwise, ./llc sum.ll -filetype=obj -march=m88k will fail.

@redstar
Copy link
Collaborator

redstar commented Oct 21, 2021

What error message to you get?
Adding the register number to DWARF code has no influence when no debug code is emitted. The sum.ll does not contain debug code at all (assuming you are using the file from chapter 9).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants