Exclude debug sections from bloat severity calculations (#28089)

reviewable/pr27851/r7^2
Craig Tiller 3 years ago committed by GitHub
parent ea49e4c73a
commit b7311aad77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      tools/profiling/bloat/bloat_diff.py

@ -126,6 +126,8 @@ for lib in LIBS:
]
print(sections)
for section in sections[1:]:
if section.startswith(".debug"):
continue
diff_size += int(section[2])
else:
text += subprocess.check_output('%s %s.stripped --debug-file=%s' %

Loading…
Cancel
Save