Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Debug (0.41 sec)

  1. doc/godebug.md

    can include one or more `//go:debug` directives at the top of the file
    (preceding the `package` statement).
    Continuing the `panicnil` example, if the module or workspace is updated
    to say `go` `1.21`, the program can opt back into the old `panic(nil)`
    behavior by including this directive:
    
    	//go:debug panicnil=1
    
    Starting in Go 1.21, the Go toolchain treats a `//go:debug` directive
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  2. src/cmd/cgo/doc.go

    invoking the C compiler to compile the C parts of the package.
    
    The following options are available when running cgo directly:
    
    	-V
    		Print cgo version and exit.
    	-debug-define
    		Debugging option. Print #defines.
    	-debug-gcc
    		Debugging option. Trace C compiler execution and output.
    	-dynimport file
    		Write list of symbols imported by file. Write to
    		-dynout argument or to standard output. Used by go
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  3. src/cmd/addr2line/addr2line_test.go

    	if symName != funcName {
    		t.Fatalf("expected function name %v; got %v", symName, funcName)
    	}
    	fi1, err := os.Stat("addr2line_test.go")
    	if err != nil {
    		t.Fatalf("Stat failed: %v", err)
    	}
    
    	// Debug paths are stored slash-separated, so convert to system-native.
    	srcPath = filepath.FromSlash(srcPath)
    	fi2, err := os.Stat(srcPath)
    
    	if err != nil {
    		t.Fatalf("Stat failed: %v", err)
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 22:16:54 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/flags/flags.go

    package flags
    
    import (
    	"cmd/internal/obj"
    	"cmd/internal/objabi"
    	"flag"
    	"fmt"
    	"os"
    	"path/filepath"
    	"strings"
    )
    
    var (
    	Debug      = flag.Bool("debug", false, "dump instructions as they are parsed")
    	OutputFile = flag.String("o", "", "output file; default foo.o for /a/b/c/foo.s as first argument")
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 22 19:18:23 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  5. doc/next/6-stdlib/99-minor/debug/elf/66054.md

    The `debug/elf` package now defines [PT_OPENBSD_NOBTCFI]. This [ProgType] is
    used to disable Branch Tracking Control Flow Integrity (BTCFI) enforcement
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 173 bytes
    - Viewed (0)
  6. api/go1.22.txt

    pkg debug/elf, const R_LARCH_CFA R_LARCH #63725
    pkg debug/elf, const R_LARCH_DELETE = 101 #63725
    pkg debug/elf, const R_LARCH_DELETE R_LARCH #63725
    pkg debug/elf, const R_LARCH_PCREL20_S2 = 103 #63725
    pkg debug/elf, const R_LARCH_PCREL20_S2 R_LARCH #63725
    pkg debug/elf, const R_LARCH_SUB6 = 106 #63725
    pkg debug/elf, const R_LARCH_SUB6 R_LARCH #63725
    pkg debug/elf, const R_LARCH_SUB_ULEB128 = 108 #63725
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Jan 24 20:54:27 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  7. api/next/66836.txt

    pkg debug/elf, const STT_GNU_IFUNC = 10 #66836
    pkg debug/elf, const STT_GNU_IFUNC SymType #66836
    pkg debug/elf, const STT_RELC = 8 #66836
    pkg debug/elf, const STT_RELC SymType #66836
    pkg debug/elf, const STT_SRELC = 9 #66836
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Apr 16 00:01:16 GMT 2024
    - 271 bytes
    - Viewed (0)
  8. src/cmd/cgo/gcc.go

    // license that can be found in the LICENSE file.
    
    // Annotate Ref in Prog with C types by parsing gcc debug output.
    // Conversion of debug output to Go types.
    
    package main
    
    import (
    	"bytes"
    	"debug/dwarf"
    	"debug/elf"
    	"debug/macho"
    	"debug/pe"
    	"encoding/binary"
    	"errors"
    	"flag"
    	"fmt"
    	"go/ast"
    	"go/parser"
    	"go/token"
    	"internal/xcoff"
    	"math"
    	"os"
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  9. api/go1.21.txt

    pkg debug/elf, const DF_1_NODIRECT = 131072 #56887
    pkg debug/elf, const DF_1_NODIRECT DynFlag1 #56887
    pkg debug/elf, const DF_1_NODUMP = 4096 #56887
    pkg debug/elf, const DF_1_NODUMP DynFlag1 #56887
    pkg debug/elf, const DF_1_NOHDR = 1048576 #56887
    pkg debug/elf, const DF_1_NOHDR DynFlag1 #56887
    pkg debug/elf, const DF_1_NOKSYMS = 524288 #56887
    pkg debug/elf, const DF_1_NOKSYMS DynFlag1 #56887
    pkg debug/elf, const DF_1_NOOPEN = 64 #56887
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Aug 07 09:39:17 GMT 2023
    - 25.6K bytes
    - Viewed (0)
  10. src/cmd/asm/doc.go

    	-I dir1 -I dir2
    		Search for #include files in dir1, dir2, etc,
    		after consulting $GOROOT/pkg/$GOOS_$GOARCH.
    	-S
    		Print assembly and machine code.
    	-V
    		Print assembler version and exit.
    	-debug
    		Dump instructions as they are parsed.
    	-dynlink
    		Support references to Go symbols defined in other shared libraries.
    	-e
    		No limit on number of errors reported.
    	-gensymabis
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 22 20:46:45 GMT 2023
    - 1.8K bytes
    - Viewed (0)
Back to top