← Commit list

b1b70969e

Bernhard Reutner-Fischer
Bernhard Reutner-Fischer
2012-03-30
FAILED Duration: 199s

Subject

bloat-o-meter: handle huge (hex) sizes.

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

scripts/bloat-o-meter+1 -1
@@ -57,7 +57,7 @@ def getsizes(file):
# if typ in ["SECTION", "FILES"]: continue # skip sections and files
if "." in name: name = "static." + name.split(".")[0]
value = int(value, 16)
- size = int(size)
+ size = int(size, 16) if size.startswith('0x') else int(size)
if vis != "DEFAULT" and bind != "GLOBAL": # see if it is an alias
alias[(value, size)] = {"name" : name}
else: