Skip to content

Commit

Permalink
fix: opt pump cache, issue: #296
Browse files Browse the repository at this point in the history
  • Loading branch information
tbs60 committed Oct 8, 2024
1 parent fbf3a60 commit 6586344
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/backend/booster/bk_dist/handler/cc/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -756,12 +756,12 @@ func scanArgs(args []string, sandbox *dcSyscall.Sandbox) (*ccArgs, error) {
return nil, ErrorNotSupportDr
}

// ++ by tomtian 2021-05-18
if strings.HasPrefix(arg, "-fsanitize") {
blog.Warnf("cc: scan args: clang option %s need read origin source file; running locally", arg)
return nil, ErrorNotSupportFsanitize
}
// --
// // ++ by tomtian 2021-05-18
// if strings.HasPrefix(arg, "-fsanitize") {
// blog.Warnf("cc: scan args: clang option %s need read origin source file; running locally", arg)
// return nil, ErrorNotSupportFsanitize
// }
// // --

if strings.HasPrefix(arg, "-I") {
// if -I just a prefix, save the remain of this line.
Expand Down

0 comments on commit 6586344

Please sign in to comment.