diff options
author | Konstantin Belousov <kostikbel@gmail.com> | 2017-01-18 21:03:51 +0200 |
---|---|---|
committer | Dave Watson <davejwatson@fb.com> | 2017-01-19 10:07:13 -0800 |
commit | 9e97c9b17ae9b6922980465656b14bac5df2ea32 (patch) | |
tree | 1902202ecb657651054842e15654862ad85e0ec8 /tests/check-namespace.sh.in | |
parent | 7885596b9cf8c329e1985ac091140aa4c222f6b2 (diff) | |
download | libunwind-9e97c9b17ae9b6922980465656b14bac5df2ea32.tar.gz |
dwarf: Make binary path calculation os-specific.
/proc/self/exe only works on Linux, move path computation to os-* files
Diffstat (limited to 'tests/check-namespace.sh.in')
-rw-r--r-- | tests/check-namespace.sh.in | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/check-namespace.sh.in b/tests/check-namespace.sh.in index 1ae81212..44c1932f 100644 --- a/tests/check-namespace.sh.in +++ b/tests/check-namespace.sh.in @@ -124,6 +124,7 @@ check_local_unw_abi () { case ${plat} in arm) match _U${plat}_get_elf_image + match _U${plat}_get_exe_image_path match _U${plat}_is_fpreg match _UL${plat}_search_unwind_table match _UL${plat}_dwarf_search_unwind_table @@ -133,20 +134,24 @@ check_local_unw_abi () { match _UL${plat}_dwarf_search_unwind_table match _UL${plat}_dwarf_find_unwind_table match _U${plat}_get_elf_image + match _U${plat}_get_exe_image_path match _U${plat}_setcontext ;; ia64) match _UL${plat}_search_unwind_table match _U${plat}_get_elf_image + match _U${plat}_get_exe_image_path ;; x86) match _U${plat}_get_elf_image + match _U${plat}_get_exe_image_path match _U${plat}_is_fpreg match _UL${plat}_dwarf_search_unwind_table match _UL${plat}_dwarf_find_unwind_table ;; x86_64) match _U${plat}_get_elf_image + match _U${plat}_get_exe_image_path match _U${plat}_is_fpreg match _UL${plat}_dwarf_search_unwind_table match _UL${plat}_dwarf_find_unwind_table @@ -155,6 +160,7 @@ check_local_unw_abi () { ppc*) match _U${plat}_get_func_addr match _U${plat}_get_elf_image + match _U${plat}_get_exe_image_path match _U${plat}_is_fpreg match _UL${plat}_dwarf_search_unwind_table match _UL${plat}_dwarf_find_unwind_table @@ -165,6 +171,7 @@ check_local_unw_abi () { match _UL${plat}_dwarf_find_unwind_table match _UL${plat}_local_addr_space_init match _U${plat}_get_elf_image + match _U${plat}_get_exe_image_path match ${plat}_lock ;; @@ -210,6 +217,7 @@ check_generic_unw_abi () { arm) match _U${plat}_is_fpreg match _U${plat}_get_elf_image + match _U${plat}_get_exe_image_path match _U${plat}_search_unwind_table match _U${plat}_dwarf_search_unwind_table match _U${plat}_dwarf_find_unwind_table @@ -218,12 +226,14 @@ check_generic_unw_abi () { match _U${plat}_dwarf_search_unwind_table match _U${plat}_dwarf_find_unwind_table match _U${plat}_get_elf_image + match _U${plat}_get_exe_image_path ;; ia64) match _U${plat}_search_unwind_table match _U${plat}_find_dyn_list if [ $plat = $build_plat ]; then match _U${plat}_get_elf_image + match _U${plat}_get_exe_image_path case $os in linux*) match _U${plat}_get_kernel_table @@ -233,18 +243,21 @@ check_generic_unw_abi () { ;; x86) match _U${plat}_get_elf_image + match _U${plat}_get_exe_image_path match _U${plat}_is_fpreg match _U${plat}_dwarf_search_unwind_table match _U${plat}_dwarf_find_unwind_table ;; x86_64) match _U${plat}_get_elf_image + match _U${plat}_get_exe_image_path match _U${plat}_is_fpreg match _U${plat}_dwarf_search_unwind_table match _U${plat}_dwarf_find_unwind_table ;; ppc*) match _U${plat}_get_elf_image + match _U${plat}_get_exe_image_path match _U${plat}_get_func_addr match _U${plat}_is_fpreg match _U${plat}_dwarf_search_unwind_table @@ -254,6 +267,7 @@ check_generic_unw_abi () { match _U${plat}_dwarf_search_unwind_table match _U${plat}_dwarf_find_unwind_table match _U${plat}_get_elf_image + match _U${plat}_get_exe_image_path match _U${plat}_is_fpreg match _U${plat}_local_addr_space_init match ${plat}_lock |