Details
Details
- Reviewers
aykevl benshi001 dylanmckay - Commits
- rG8f7e67477108: [AVR] Support .reloc directive
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
llvm/lib/Target/AVR/MCTargetDesc/AVRAsmBackend.cpp | ||
---|---|---|
425 | Two suggestions:
const static MCFixupKindInfo Infos[AVR::NumTargetFixupKinds] and before if (Kind < FirstTargetFixupKind) return MCAsmBackend::getFixupKindInfo(Kind); this code style is common among ARM, AArch64, and RISCV.
// Fixup kinds from .reloc directive are like R_AVR_NONE. They do not require // any extra processing. I also see the comment is common in other targets. |
llvm/lib/Target/AVR/MCTargetDesc/AVRAsmBackend.cpp | ||
---|---|---|
256 | In other targets, I see the piece of code is put in ::applyFixup and right before calling ::adjustFixupValue. |
In other targets, I see the piece of code is put in ::applyFixup and right before calling ::adjustFixupValue.