aboutsummaryrefslogtreecommitdiff
path: root/compiler-test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-test.sh')
-rwxr-xr-xcompiler-test.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/compiler-test.sh b/compiler-test.sh
index fe552a51..8083e2d2 100755
--- a/compiler-test.sh
+++ b/compiler-test.sh
@@ -10,6 +10,9 @@
# each compiler. It writes out these statistics when it is done.
#
# For a locally-built ChromeOS image, the debug directory is usually:
+# ${chromeos_root}/chroot/build/${board}/usr/lib/debug (from outside
+# chroot)
+# or
# /build/${board}/usr/lib/debug (from inside chroot)
#
# For a buildbot-built image you can usually download the debug tree
@@ -41,7 +44,7 @@ fi
cd ${DEBUG_TREE}
for f in `find . -name "*.debug" -type f` ; do
- at_producer=`llvm-dwarfdump $f | head -25 | grep AT_producer `;
+ at_producer=`readelf --debug-dump=info $f | head -25 | grep AT_producer `;
if echo ${at_producer} | grep -q 'GNU C' ; then
((gcc_count++))
elif echo ${at_producer} | grep -q 'clang'; then