mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-04-27 15:08:00 +00:00
mark internal functions linker private (#381)
Prevents unused functions in the emitted ELF object. Drive-by add a missing test case (which misses a relocation under `-Oz` when all internal functions are marked as private). --------- Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
{
|
||||
"Baseline": 960,
|
||||
"Computation": 2367,
|
||||
"DivisionArithmetics": 9108,
|
||||
"ERC20": 17655,
|
||||
"Computation": 2356,
|
||||
"DivisionArithmetics": 8964,
|
||||
"ERC20": 17143,
|
||||
"Events": 1680,
|
||||
"FibonacciIterative": 1536,
|
||||
"FibonacciIterative": 1502,
|
||||
"Flipper": 2137,
|
||||
"SHA1": 8299
|
||||
"SHA1": 7740
|
||||
}
|
||||
Reference in New Issue
Block a user