disable backward cfi for arkcompiler

Test: build

Issue: I71CPO

Signed-off-by: arvinzzz <zhaotianyu9@huawei.com>
Change-Id: Ib71d6c8f4db95a10574c123c222a935f653b51b9
This commit is contained in:
arvinzzz 2023-05-08 22:22:11 +08:00
parent a008ee83ce
commit c5f91c05ac
11 changed files with 24 additions and 0 deletions

View File

@ -90,6 +90,7 @@ source_set("libarkassembler_static") {
}
ohos_shared_library("libarkassembler") {
stack_protector_ret = false
deps = [ ":libarkassembler_static" ]
if (!is_standard_system) {
@ -127,6 +128,7 @@ source_set("libarkassembler_frontend_set_static") {
}
ohos_static_library("libarkassembler_frontend_static") {
stack_protector_ret = false
deps = [ ":libarkassembler_frontend_set_static" ]
part_name = "runtime_core"

View File

@ -42,6 +42,7 @@ libarkbytecodeopt_configs = [
]
ohos_shared_library("libarkbytecodeopt") {
stack_protector_ret = false
sources = libarkbytecodeopt_sources
configs = libarkbytecodeopt_configs
@ -69,6 +70,7 @@ ohos_shared_library("libarkbytecodeopt") {
}
ohos_static_library("libarkbytecodeopt_frontend_static") {
stack_protector_ret = false
sources = libarkbytecodeopt_sources
configs = libarkbytecodeopt_configs

View File

@ -89,6 +89,7 @@ libarkcompiler_configs = [
]
ohos_shared_library("libarkcompiler") {
stack_protector_ret = false
sources = libarkcompiler_sources
configs = libarkcompiler_configs
@ -145,6 +146,7 @@ ohos_shared_library("libarkcompiler") {
}
ohos_static_library("libarkcompiler_frontend_static") {
stack_protector_ret = false
sources = libarkcompiler_sources
configs = libarkcompiler_configs

View File

@ -52,6 +52,7 @@ foreach(plugin, enabled_plugins) {
}
ohos_shared_library("arkdisassembler") {
stack_protector_ret = false
sources = arkdisassembler_sources
include_dirs = [
@ -87,6 +88,7 @@ ohos_shared_library("arkdisassembler") {
}
ohos_static_library("arkdisassembler_frontend_static") {
stack_protector_ret = false
sources = arkdisassembler_sources
include_dirs = [

View File

@ -24,6 +24,7 @@ config("icu_config") {
}
ohos_static_library("static_icustubdata") {
stack_protector_ret = false
configs = [
":icu_config",
"//build/config/compiler:rtti",
@ -489,6 +490,7 @@ icu_i18n_source = [
]
ohos_shared_library("shared_icuuc") {
stack_protector_ret = false
configs = [
":icu_config",
"//build/config/compiler:rtti",
@ -532,6 +534,7 @@ ohos_shared_library("shared_icuuc") {
}
ohos_shared_library("shared_icui18n") {
stack_protector_ret = false
sources = icu_i18n_source
configs = [
":icu_config",
@ -577,6 +580,7 @@ ohos_shared_library("shared_icui18n") {
}
ohos_static_library("static_icuuc") {
stack_protector_ret = false
configs = [
":icu_config",
"//build/config/compiler:rtti",
@ -626,6 +630,7 @@ ohos_static_library("static_icuuc") {
}
ohos_static_library("static_icui18n") {
stack_protector_ret = false
sources = icu_i18n_source
configs = [
":icu_config",

View File

@ -61,6 +61,7 @@ libsec_sources = [
]
ohos_static_library("libc_secstatic") {
stack_protector_ret = false
sources = libsec_sources
public_configs = [ ":libsec_public_config" ]
cflags = [
@ -75,6 +76,7 @@ ohos_static_library("libc_secstatic") {
}
ohos_shared_library("libc_secshared") {
stack_protector_ret = false
sources = libsec_sources
public_configs = [ ":libsec_public_config" ]
cflags = [

View File

@ -26,6 +26,7 @@ config("zlib_config") {
}
ohos_static_library("libz") {
stack_protector_ret = false
sources = [
"adler32.c",
"compress.c",

View File

@ -56,6 +56,7 @@ ark_isa_gen("defectscanaux_intrinsic") {
}
ohos_shared_library("libark_defect_scan_aux") {
stack_protector_ret = false
sources = libarkdefectscanaux_sources
configs = [ ":defectscanaux_public_config" ]
@ -75,6 +76,7 @@ ohos_shared_library("libark_defect_scan_aux") {
}
ohos_static_library("libark_defect_scan_aux_static_test") {
stack_protector_ret = false
sources = libarkdefectscanaux_sources
configs = [ ":defectscanaux_public_config" ]

View File

@ -192,6 +192,7 @@ source_set("libarkbase_static") {
}
ohos_shared_library("libarkbase") {
stack_protector_ret = false
deps = [ ":libarkbase_static" ]
if (!is_mingw && !is_mac) {
output_extension = "so"
@ -212,6 +213,7 @@ source_set("libarkbase_frontend_set_static") {
}
ohos_static_library("libarkbase_frontend_static") {
stack_protector_ret = false
deps = [ ":libarkbase_frontend_set_static" ]
part_name = "runtime_core"

View File

@ -105,6 +105,7 @@ source_set("libarkfile_static_fuzz") {
}
ohos_shared_library("libarkfile") {
stack_protector_ret = false
deps = [ ":libarkfile_static" ]
if (!is_standard_system) {
@ -132,6 +133,7 @@ source_set("libarkfile_frontend_set_static") {
}
ohos_static_library("libarkfile_frontend_static") {
stack_protector_ret = false
deps = [ ":libarkfile_frontend_set_static" ]
part_name = "runtime_core"

View File

@ -48,6 +48,7 @@ source_set("libarkziparchive_static") {
}
ohos_shared_library("libarkziparchive") {
stack_protector_ret = false
deps = [ ":libarkziparchive_static" ]
if (!is_standard_system) {
@ -80,6 +81,7 @@ source_set("libarkziparchive_frontend_set_static") {
}
ohos_static_library("libarkziparchive_frontend_static") {
stack_protector_ret = false
deps = [ ":libarkziparchive_frontend_set_static" ]
part_name = "runtime_core"