mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Merge remote-tracking branch 'origin/topic/vern/dump-no-opt-ZAM'
* origin/topic/vern/dump-no-opt-ZAM: fixed -O dump-final-ZAM to work in conjunction with -O no-ZAM-opt
This commit is contained in:
commit
423c2de4c8
3 changed files with 15 additions and 8 deletions
4
CHANGES
4
CHANGES
|
@ -1,3 +1,7 @@
|
|||
7.1.0-dev.645 | 2024-12-02 10:59:04 +0100
|
||||
|
||||
* fixed -O dump-final-ZAM to work in conjunction with -O no-ZAM-opt (Vern Paxson, Corelight)
|
||||
|
||||
7.1.0-dev.643 | 2024-12-02 09:51:10 +0100
|
||||
|
||||
* Remove support for building against Spicy versions before 1.8 (Benjamin Bannier, Corelight)
|
||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
7.1.0-dev.643
|
||||
7.1.0-dev.645
|
||||
|
|
|
@ -404,16 +404,19 @@ void ZAMCompiler::Dump() {
|
|||
}
|
||||
}
|
||||
else if ( analysis_options.dump_final_ZAM ) {
|
||||
ASSERT(remapped_frame);
|
||||
|
||||
printf("\nFrame for %s:\n", func->GetName().c_str());
|
||||
|
||||
for ( auto i = 0U; i < shared_frame_denizens.size(); ++i ) {
|
||||
printf("frame[%d] =", i);
|
||||
for ( auto& id : shared_frame_denizens[i].ids )
|
||||
printf(" %s", id->Name());
|
||||
printf("\n");
|
||||
if ( remapped_frame ) {
|
||||
for ( auto i = 0U; i < shared_frame_denizens.size(); ++i ) {
|
||||
printf("frame[%d] =", i);
|
||||
for ( auto& id : shared_frame_denizens[i].ids )
|
||||
printf(" %s", id->Name());
|
||||
printf("\n");
|
||||
}
|
||||
}
|
||||
else
|
||||
for ( const auto& elem : frame_layout1 )
|
||||
printf("frame[%d] = %s\n", elem.second, elem.first->Name());
|
||||
}
|
||||
|
||||
if ( ! insts2.empty() )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue