- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 274 for lchflags (0.52 sec)
-
src/cmd/cgo/internal/testsanitizers/testdata/tsan8.go
// This program failed when run under the C/C++ ThreadSanitizer. The TSAN // sigaction function interceptor returned SIG_DFL instead of the Go runtime's // handler in registerSegvForwarder. /* #cgo CFLAGS: -fsanitize=thread #cgo LDFLAGS: -fsanitize=thread #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <string.h> struct sigaction prev_sa; void forwardSignal(int signo, siginfo_t *info, void *context) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 1.3K bytes - Viewed (0) -
src/cmd/cgo/internal/testplugin/plugin_test.go
return m.Run() } func goCmd(t *testing.T, op string, args ...string) string { if t != nil { t.Helper() } var flags []string if op != "tool" { flags = []string{"-gcflags", gcflags} } return run(t, filepath.Join(goroot, "bin", "go"), append(append([]string{op}, flags...), args...)...) } // escape converts a string to something suitable for a shell command line.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:32:53 UTC 2024 - 12.3K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/testdata/tsan_shared.go
// The Go runtime had re-registered the C handler with the wrong flags due to a // typo, resulting in null pointers being passed for the info and context // parameters to the handler. /* #cgo CFLAGS: -fsanitize=thread #cgo LDFLAGS: -fsanitize=thread #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <ucontext.h> void check_params(int signo, siginfo_t *info, void *context) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 1.5K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/testdata/tsan13.go
package main // This program failed when run under the C/C++ ThreadSanitizer. // There was no TSAN synchronization for the call to the cgo // traceback routine. /* #cgo CFLAGS: -g -fsanitize=thread #cgo LDFLAGS: -g -fsanitize=thread #include <pthread.h> #include <stdint.h> #include <stdlib.h> #include <sys/time.h> #include <unistd.h> struct tracebackArg { uintptr_t Context;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 1.7K bytes - Viewed (0) -
src/runtime/asan/asan.go
// license that can be found in the LICENSE file. //go:build asan && linux && (arm64 || amd64 || loong64 || riscv64 || ppc64le) package asan /* #cgo CFLAGS: -fsanitize=address #cgo LDFLAGS: -fsanitize=address #include <stdbool.h> #include <stdint.h> #include <sanitizer/asan_interface.h> void __asan_read_go(void *addr, uintptr_t sz, void *sp, void *pc) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 29 00:22:11 UTC 2023 - 2.3K bytes - Viewed (0) -
src/runtime/defs_linux_loong64.go
ss_sp *byte ss_flags int32 pad_cgo_0 [4]byte ss_size uintptr } type sigcontext struct { sc_pc uint64 sc_regs [32]uint64 sc_flags uint32 sc_extcontext [0]uint64 } type ucontext struct { uc_flags uint64 uc_link *ucontext uc_stack stackt uc_sigmask usigset uc_x_unused [0]uint8 uc_pad_cgo_0 [8]byte uc_mcontext sigcontext
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 19:05:10 UTC 2023 - 3.4K bytes - Viewed (0) -
src/cmd/dist/test.go
} if opts.cpu != "" { run = append(run, "-cpu="+opts.cpu) } if t.json { run = append(run, "-json") } if opts.gcflags != "" { build = append(build, "-gcflags=all="+opts.gcflags) } if opts.ldflags != "" { build = append(build, "-ldflags="+opts.ldflags) } if opts.buildmode != "" { build = append(build, "-buildmode="+opts.buildmode) } pkgs = opts.packages()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 16:01:35 UTC 2024 - 50K bytes - Viewed (0) -
src/runtime/defs_freebsd_386.go
mc_fpformat uint32 mc_ownedfp uint32 mc_flags uint32 mc_fpstate [128]uint32 mc_fsbase uint32 mc_gsbase uint32 mc_xfpustate uint32 mc_xfpustate_len uint32 mc_spare2 [4]uint32 } type ucontext struct { uc_sigmask sigset uc_mcontext mcontext uc_link *ucontext uc_stack stackt uc_flags int32 __spare__ [4]int32 pad_cgo_0 [12]byte
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 12 21:17:22 UTC 2024 - 4.6K bytes - Viewed (0) -
src/runtime/defs_freebsd_riscv64.go
fp_flags int32 pad int32 } type mcontext struct { mc_gpregs gpregs mc_fpregs fpregs mc_flags int32 mc_pad int32 mc_spare [8]uint64 } type ucontext struct { uc_sigmask sigset uc_mcontext mcontext uc_link *ucontext uc_stack stackt uc_flags int32 __spare__ [4]int32 pad_cgo_0 [12]byte } type timespec struct { tv_sec int64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 12 21:17:22 UTC 2024 - 4.3K bytes - Viewed (0) -
src/cmd/go/testdata/script/cgo_suspect_flag_force_external.txt
mkdir tmp5 # First build: no external linking expected go build -ldflags=-tmpdir=tmp1 -o $devnull ./noUseOfCgo & # Second build: using only "runtime/cgo", expect internal linking. go build -ldflags=-tmpdir=tmp2 -o $devnull ./usesInternalCgo & # Third build: program uses only "runtime/cgo", so we would normally # expect internal linking, except that cflags contain suspicious entries
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 25 18:16:01 UTC 2023 - 6.3K bytes - Viewed (0)