Prevent frontend function confusion (#383)

Function symbols can clash as we compile multiple YUL `object`
definition into the same `LLVM` module.
- Disambiguate via unique function symbols based its location (runtime
or deploy code).
- Use `LinkOnceODR` linkage for compiler builtin helpers.

---------

Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
This commit is contained in:
xermicus
2025-09-29 23:05:57 +02:00
committed by GitHub
parent 6858cb9a61
commit b560d72139
12 changed files with 103 additions and 58 deletions
+8 -8
View File
@@ -1,10 +1,10 @@
{
"Baseline": 960,
"Computation": 2356,
"DivisionArithmetics": 8964,
"ERC20": 17143,
"Events": 1680,
"FibonacciIterative": 1502,
"Flipper": 2137,
"SHA1": 7740
"Baseline": 932,
"Computation": 2313,
"DivisionArithmetics": 8959,
"ERC20": 16993,
"Events": 1692,
"FibonacciIterative": 1474,
"Flipper": 2098,
"SHA1": 7751
}