Skip to content
This repository was archived by the owner on Jan 27, 2025. It is now read-only.

Commit a43f736

Browse files
committed
fix(pass): fix compatibility with ASAN
1 parent e0e1d42 commit a43f736

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/pass/pass_base.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ bool PassBase::run_on_module() {
3131
bool PassBase::run_on_function(Function& func) {
3232
assert_function_belong(func, this->target());
3333
bool modified = false;
34+
if (func.getName().contains('.')) return modified;
3435
for (auto& block : func) {
3536
modified |= this->run_on_block(block);
3637
}

0 commit comments

Comments
 (0)