mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
rose: do not combine fragments which squash groups
This commit is contained in:
parent
c31c1c366e
commit
f307956584
@ -4667,6 +4667,12 @@ map<u32, u32> groupByFragment(const RoseBuildImpl &build) {
|
||||
continue;
|
||||
}
|
||||
|
||||
// Combining fragments that squash their groups is unsafe.
|
||||
if (info.squash_group) {
|
||||
final_to_frag.emplace(final_id, frag_id++);
|
||||
continue;
|
||||
}
|
||||
|
||||
DEBUG_PRINTF("fragment candidate: final_id=%u %s\n", final_id,
|
||||
dumpString(lit.s).c_str());
|
||||
auto frag = getFragment(lit);
|
||||
|
Loading…
x
Reference in New Issue
Block a user