|144–146 ↗||(On Diff #60885)|
The RelocVisitor seems to only be used in DwarfContext.cpp. It's not clear me what it's even supposed to do with absolute relocations. Is this code even necessary?
|5 ↗||(On Diff #61025)|
Why do you need to use "llc -filetype=obj"?
Please split this into tow tests. One prints assembly and checks it.
Lgtm, but I have a question:
Will SCRATCH_RSRC_DWORD also need special treatment in the linker? If so
we should have special relocations for it to avoid using names in the
linker. This is similar to how the got position is accessed: magical name
for the assembler, different relocation for the linker.