Print @src and @use-src locations in AsmPrinter

This commit is contained in:
Mathias Baumann
2021-08-03 15:29:52 +02:00
parent c89b46c55e
commit 2ee6c7be64
34 changed files with 1319 additions and 109 deletions
@@ -24,11 +24,13 @@ object \"C_11\" {
memPtr := mload(64)
}
/// @src 0:78:243
function constructor_C_11() {
/// @src 0:78:243
}
/// @src 0:78:243
function revert_error_ca66f745a3ce8ff40e2ccaf1ad45db7774001b90d25810abd9040049be7bf4bb() {
revert(0, 0)
@@ -150,8 +152,8 @@ object \"C_11\" {
mstore(64, newFreePtr)
}
/// @src 0:91:241
function fun_f_10() -> var__5_mpos {
/// @src 0:91:241
/// @src 0:127:140
let zero_t_string_memory_ptr_1_mpos := zero_value_for_split_t_string_memory_ptr()
var__5_mpos := zero_t_string_memory_ptr_1_mpos
@@ -161,6 +163,7 @@ object \"C_11\" {
leave
}
/// @src 0:78:243
function panic_error_0x41() {
mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)