- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for SetABI (0.13 sec)
-
src/cmd/internal/goobj/objfile_test.go
func TestReadWrite(t *testing.T) { // Test that we get the same data in a write-read roundtrip. // Write a symbol, a relocation, and an aux info. var buf bytes.Buffer w := dummyWriter(&buf) var s Sym s.SetABI(1) s.SetType(uint8(objabi.STEXT)) s.SetFlag(0x12) s.SetSiz(12345) s.SetAlign(8) s.Write(w) var r Reloc r.SetOff(12) r.SetSiz(4) r.SetType(uint16(objabi.R_ADDR)) r.SetAdd(54321)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 15 20:22:12 UTC 2022 - 3K bytes - Viewed (0)