-
Notifications
You must be signed in to change notification settings - Fork 14.9k
[AVR] Emit relocation record for local branch #145291
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,10 @@ bar: | |
; CHECK: brbs 1, bar ; encoding: [0bAAAAA001,0b111100AA] | ||
|
||
; INST-LABEL: <foo>: | ||
; INST-NEXT: b9 f3 breq .-18 | ||
; INST-NEXT: d1 f3 breq .-12 | ||
; INST-NEXT: b9 f3 breq .-18 | ||
; INST-NEXT: 01 f0 breq .+0 | ||
; INST-NEXT: f9 f3 breq .-2 | ||
; INST-NEXT: R_AVR_7_PCREL .text-0x10 | ||
; INST-NEXT: f9 f3 breq .-2 | ||
; INST-NEXT: R_AVR_7_PCREL .text-0x8 | ||
; INST-NEXT: f9 f3 breq .-2 | ||
; INST-NEXT: R_AVR_7_PCREL .text-0xc | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. there are four instructions, but you only show 3 results. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sorry, the relcation information for the last is stilling mssing. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No relocation for next instruction target? |
||
; INST-NEXT: f9 f3 breq .-2 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,10 @@ bar: | |
; CHECK: brbc 1, bar ; encoding: [0bAAAAA001,0b111101AA] | ||
|
||
; INST-LABEL: <foo>: | ||
; INST-NEXT: 29 f4 brne .+10 | ||
; INST-NEXT: 09 f4 brne .+2 | ||
; INST-NEXT: 29 f4 brne .+10 | ||
; INST-NEXT: 01 f4 brne .+0 | ||
; INST-NEXT: f9 f7 brne .-2 | ||
; INST-NEXT: R_AVR_7_PCREL .text+0xc | ||
; INST-NEXT: f9 f7 brne .-2 | ||
; INST-NEXT: R_AVR_7_PCREL .text+0x6 | ||
; INST-NEXT: f9 f7 brne .-2 | ||
; INST-NEXT: R_AVR_7_PCREL .text+0x10 | ||
; INST-NEXT: f9 f7 brne .-2 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. missing relocation information for the last instruction. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I have asked you to have a careful check, but there are still spots. I can not pay too much time on llvm, epscially cost my weekend time. |
Uh oh!
There was an error while loading. Please reload this page.