hyperledger-solang / solang

Solidity Compiler for Solana and Polkadot
https://solang.readthedocs.io/
Apache License 2.0
1.27k stars 216 forks source link

LLD: Clean up context after linking each contract #1599

Closed xermicus closed 1 year ago

xermicus commented 1 year ago

The LLD entry points are not safe to re-enter without destroying their state. Coincidentally this worked so far but will break apart for example when compiling multiple contracts in RelocMode::PIC.

codecov[bot] commented 1 year ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (3aa48c9) 87.90% compared to head (173a5f8) 87.89%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1599 +/- ## ========================================== - Coverage 87.90% 87.89% -0.01% ========================================== Files 133 133 Lines 64560 64560 ========================================== - Hits 56749 56746 -3 - Misses 7811 7814 +3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.