• Home
  • Raw
  • Download

Lines Matching refs:Local

594 		flags.Local.LdFlags = append(flags.Local.LdFlags,
608 flags.Local.CFlags = append(flags.Local.CFlags, asanCflags...)
609 flags.Local.LdFlags = append(flags.Local.LdFlags, asanLdflags...)
612 flags.Local.CFlags = append(flags.Local.CFlags, "-mllvm", "-asan-instrument-reads=0")
618 flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,--no-as-needed")
620 flags.Local.CFlags = append(flags.Local.CFlags, "-mllvm", "-asan-globals=0")
633 flags.Local.CFlags = append(flags.Local.CFlags, hwasanCflags...)
636 flags.Local.CFlags = append(flags.Local.CFlags, "-mllvm", flag)
639 flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,-mllvm,"+flag)
643 flags.Local.CFlags = append(flags.Local.CFlags, "-mllvm", "-hwasan-instrument-reads=0")
648 flags.Local.CFlags = append(flags.Local.CFlags, "-fsanitize=fuzzer-no-link")
651 _, flags.Local.LdFlags = removeFromList("-flto", flags.Local.LdFlags)
652 _, flags.Local.CFlags = removeFromList("-flto", flags.Local.CFlags)
653 flags.Local.LdFlags = append(flags.Local.LdFlags, "-fno-lto")
654 flags.Local.CFlags = append(flags.Local.CFlags, "-fno-lto")
659 flags.Local.LdFlags = append(flags.Local.LdFlags, "-fno-sanitize-coverage=stack-depth")
660 flags.Local.CFlags = append(flags.Local.CFlags, "-fno-sanitize-coverage=stack-depth")
664 flags.Local.CFlags = append(flags.Local.CFlags, "-U_FORTIFY_SOURCE")
673 flags.Local.LdFlags = append(flags.Local.LdFlags, `-Wl,-rpath,\$$ORIGIN`)
683 flags.Local.CFlags = append(flags.Local.CFlags, cfiCflags...)
684 flags.Local.AsFlags = append(flags.Local.AsFlags, cfiAsflags...)
686 flags.Local.CFlags = append(flags.Local.CFlags, "-fno-sanitize-cfi-canonical-jump-tables")
690 if !inList("-fvisibility=hidden", flags.Local.CFlags) {
691 flags.Local.CFlags = append(flags.Local.CFlags, "-fvisibility=default")
693 flags.Local.LdFlags = append(flags.Local.LdFlags, cfiLdflags...)
696 _, flags.Local.CFlags = removeFromList("-fsanitize-cfi-cross-dso", flags.Local.CFlags)
697 _, flags.Local.LdFlags = removeFromList("-fsanitize-cfi-cross-dso", flags.Local.LdFlags)
702 flags.Local.CFlags = append(flags.Local.CFlags, intOverflowCflags...)
707 flags.Local.CFlags = append(flags.Local.CFlags, sanitizeArg)
708 flags.Local.AsFlags = append(flags.Local.AsFlags, sanitizeArg)
709 flags.Local.LdFlags = append(flags.Local.LdFlags, sanitizeArg)
715 flags.Local.LdFlags = append(flags.Local.LdFlags, "-fno-sanitize-link-runtime")
722 flags.Local.CFlags = append(flags.Local.CFlags, "-fno-sanitize=vptr,function")
726 flags.Local.CFlags = append(flags.Local.CFlags, strings.Join(minimalRuntimeFlags, " "))
727 flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,--exclude-libs,"+minimalRuntimeLib)
732 …flags.Local.CFlags = append(flags.Local.CFlags, "-fno-sanitize-trap=all", "-fno-sanitize-recover=a…
734 flags.Local.CFlags = append(flags.Local.CFlags, "-fno-sanitize-recover=all")
736 flags.Local.CFlags = append(flags.Local.CFlags, "-fsanitize-trap=all", "-ftrap-function=abort")
739 if toDisableImplicitIntegerChange(flags.Local.CFlags) {
740 flags.Local.CFlags = append(flags.Local.CFlags, "-fno-sanitize=implicit-integer-sign-change")
743 if toDisableUnsignedShiftBaseChange(flags.Local.CFlags) {
744 flags.Local.CFlags = append(flags.Local.CFlags, "-fno-sanitize=unsigned-shift-base")
749 …flags.Local.CFlags = append(flags.Local.CFlags, "-fno-sanitize-trap="+strings.Join(sanitize.Proper…
754 flags.Local.CFlags = append(flags.Local.CFlags, "-fsanitize-recover="+
759 flags.Local.CFlags = append(flags.Local.CFlags, "-fno-sanitize-recover="+
765 flags.Local.CFlags = append(flags.Local.CFlags, "-fsanitize-ignorelist="+blocklist.String())