aboutsummaryrefslogtreecommitdiff
path: root/debug_info_test
diff options
context:
space:
mode:
Diffstat (limited to 'debug_info_test')
-rw-r--r--debug_info_test/check_cus.py2
-rw-r--r--debug_info_test/check_exist.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/debug_info_test/check_cus.py b/debug_info_test/check_cus.py
index d3cd6365..41123259 100644
--- a/debug_info_test/check_cus.py
+++ b/debug_info_test/check_cus.py
@@ -49,7 +49,7 @@ def check_compile_units(dso_path):
comp_path = ''
readelf = subprocess.Popen(
- ['readelf', '--debug-dump=info', '--dwarf-depth=1', dso_path],
+ ['llvm-dwarfdump', '--recurse-depth=0', dso_path],
stdout=subprocess.PIPE,
stderr=open(os.devnull, 'w'),
encoding='utf-8')
diff --git a/debug_info_test/check_exist.py b/debug_info_test/check_exist.py
index f2cc7c6b..898dae45 100644
--- a/debug_info_test/check_exist.py
+++ b/debug_info_test/check_exist.py
@@ -85,7 +85,7 @@ def check_exist_all(dso_path):
"""
readelf = subprocess.Popen(
- ['readelf', '--debug-dump=info', '--dwarf-depth=1', dso_path],
+ ['llvm-dwarfdump', '--recurse-depth=0', dso_path],
stdout=subprocess.PIPE,
stderr=open(os.devnull, 'w'),
encoding='utf-8')