mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-15 17:02:14 +03:00
only show floating groups to the floating table
This commit is contained in:
@@ -580,10 +580,12 @@ vector<hwlmLiteral> fillHamsterLiteralList(const RoseBuildImpl &build,
|
||||
}
|
||||
|
||||
aligned_unique_ptr<HWLM> buildFloatingMatcher(const RoseBuildImpl &build,
|
||||
rose_group *fgroups,
|
||||
size_t *fsize,
|
||||
size_t *historyRequired,
|
||||
size_t *streamStateRequired) {
|
||||
*fsize = 0;
|
||||
*fgroups = 0;
|
||||
|
||||
auto fl = fillHamsterLiteralList(build, ROSE_FLOATING);
|
||||
if (fl.empty()) {
|
||||
@@ -591,6 +593,10 @@ aligned_unique_ptr<HWLM> buildFloatingMatcher(const RoseBuildImpl &build,
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
for (const hwlmLiteral &hlit : fl) {
|
||||
*fgroups |= hlit.groups;
|
||||
}
|
||||
|
||||
hwlmStreamingControl ctl;
|
||||
hwlmStreamingControl *ctlp;
|
||||
if (build.cc.streaming) {
|
||||
|
||||
Reference in New Issue
Block a user