Update xtensa LLVM version to 15.x (#1741)

Fix the issue that xtensa .aot size cannot be over 256K.
This commit is contained in:
dongsheng28849455 2022-11-24 12:48:31 +08:00 committed by GitHub
parent 2c5e7bc650
commit c4defb8877
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -208,7 +208,7 @@ def main():
},
"xtensa": {
"repo": "https://github.com/espressif/llvm-project.git",
"branch": "xtensa_release_13.0.0",
"branch": "xtensa_release_15.x",
},
"default": {
"repo": "https://github.com/llvm/llvm-project.git",

View File

@ -259,7 +259,9 @@ apply_relocation(AOTModule *module, uint8 *target_section_addr,
if (relative_offset < -256 * BH_KB || relative_offset > -4) {
set_error_buf(error_buf, error_buf_size,
"AOT module load failed: "
"target address out of range.");
"target address out of range.\n"
"Try using `wamrc --size-level=0` to generate "
".literal island.");
return false;
}