You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 1, 2023. It is now read-only.
After the following temporary modification, the program can run properly. However, I think that it is unreasonable to modify llvm. You need to modify it.
As shown in the preceding figure, R_AARCH64_NONE in the section such as .rela.debug_loc is not processed in the current context. How do I process them?
diff --git a/cpu-bolt/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp b/cpu-bolt/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
index 0de76ab78..4f54aa8d1 100644
--- a/cpu-bolt/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
+++ b/cpu-bolt/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
@@ -420,7 +420,7 @@ void RuntimeDyldELF::resolveAArch64Relocation(const SectionEntry &Section,
switch (Type) {
default:
- report_fatal_error("Relocation type not implemented yet!");
+ // report_fatal_error("Relocation type not implemented yet!");
break;
case ELF::R_AARCH64_ABS16: {
uint64_t Result = Value + Addend;
The following figure shows the relocation information read from the elf file.
When I wanted to use -update-debug-sections to keep the debug info, I encountered an error.
After the following temporary modification, the program can run properly. However, I think that it is unreasonable to modify llvm. You need to modify it.
As shown in the preceding figure, R_AARCH64_NONE in the section such as .rela.debug_loc is not processed in the current context. How do I process them?
The following figure shows the relocation information read from the elf file.
The text was updated successfully, but these errors were encountered: