Skip to content

Commit 9f3451c

Browse files
committed
aot_resolve_object_relocation_group: adapt to LLVM 16
1 parent 344e74c commit 9f3451c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

core/iwasm/compilation/aot_emit_aot_file.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3999,6 +3999,10 @@ aot_resolve_object_relocation_group(AOTObjectData *obj_data,
39993999
|| str_starts_with(relocation->symbol_name, ".LJTI")
40004000
|| str_starts_with(relocation->symbol_name, ".LBB")
40014001
|| str_starts_with(relocation->symbol_name, ".Lswitch.table.")
4002+
#if LLVM_VERSION_MAJOR >= 16
4003+
/* cf. https://reviews.llvm.org/D123264 */
4004+
|| str_starts_with(relocation->symbol_name, ".Lpcrel_hi")
4005+
#endif
40024006
#if LLVM_VERSION_MAJOR >= 19
40034007
/* cf.
40044008
* https://github.com/llvm/llvm-project/pull/95031

0 commit comments

Comments
 (0)