1. 30 1月, 2021 2 次提交
    • A
      proc: fix embedded field search (#2320) · f19d5e5c
      Alessandro Arzilli 提交于
      Both structMember and findMethod implemented a depth-first search in
      embedded fields but the Go specification requires a breadth-first
      search. They also allowed promotion of fields in the concrete type of
      embedded interfaces even though this is not allowed by Go.
      Furthermore they both lacked protection from infinite recursion
      when a type embeds itself and the user requests a non-existent field.
      
      Fixes #2316
      f19d5e5c
    • T
      pkg/proc: fix for file reference handling with DWARF 5 compilation units (#2327) · dceffacb
      Than McIntosh 提交于
      Add a helper method for collecting line table file references that
      does the correct thing for DWARF 5 vs DWARF 4 (in the latter case you
      have an implicit 0 entry which is the comp dir, whereas in the former
      case you do not). This is to avoid out-of-bounds errors when examining
      the file table section of a DWARF 5 compilation unit's line table.
      
      Included is a new linux/amd-only test that includes a precompiled C
      object file with a DWARF-5 section that triggers the bug in question.
      
      Fixes #2319
      dceffacb
  2. 29 1月, 2021 1 次提交
  3. 28 1月, 2021 1 次提交
  4. 27 1月, 2021 5 次提交
  5. 26 1月, 2021 3 次提交
  6. 21 1月, 2021 3 次提交
  7. 20 1月, 2021 5 次提交
  8. 19 1月, 2021 1 次提交
  9. 18 1月, 2021 1 次提交
    • A
      Introduce TeamCity builds (#2298) · f2ec3e49
      Artem Khvastunov 提交于
      * add -json flag when running tests on TeamCity
      
      * introduce TeamCity builds
      
      * restore gdbserial constants for 386
      
      Otherwise compilation fails.
      
      * skip TestAttachRequest on Windows as it never finishes
      
      * run tests on 1.16beta1
      f2ec3e49
  10. 15 1月, 2021 1 次提交
  11. 13 1月, 2021 1 次提交
  12. 09 1月, 2021 1 次提交
  13. 07 1月, 2021 1 次提交
  14. 06 1月, 2021 3 次提交
    • A
      6d1c00e5
    • A
      *: Expand --build-flags= description in the document (#2273) · 433eafb2
      Alex Zamai 提交于
      add example for multiple  --build-flags
      
      add example description to --build-flags
      433eafb2
    • A
      Go 1.16 support branch (#2214) · 6dd686ca
      Alessandro Arzilli 提交于
      * proc: misc test fixes for Go 1.16
      
      * proc: fix cgo stacktraces in Go 1.16 with simplified C -> Go call path
      
      * dwarf/line: make dwarf/line correct when '\\' are used
      
      Our code depends heavily on paths being '/' separated because go always
      produced '/' separated file paths. The call to filepath.Join will
      normalize the paths, on windows, to always be '\\' separated, which
      violated our assumptions.
      
      This didn't use to be a problem because the codepath that calls
      filepath.Join was never exercised by executable files produced by Go,
      but Go 1.16 started producing debug_line sections that use the
      directory table with https://go-review.googlesource.com/c/go/+/263017/.
      
      Fix this to always use path.Join after making sure, on windows, to
      always normalize paths to use '/' as a separator. Replace the use of
      filepath.IsAbs with an operating system independent version.
      
      * goversion: bump supported Go version
      6dd686ca
  15. 05 1月, 2021 4 次提交
  16. 29 12月, 2020 4 次提交
  17. 28 12月, 2020 1 次提交
    • A
      Miscellaneous fixes for problems uncovered by Github Actions tests (#2274) · 7dcd7b4d
      Alessandro Arzilli 提交于
      Fix bug in DAP test: TestEvaluateCallRequest.
      In Go 1.15 the call injection will be executed on a different goroutine
      from the goroutine where it was started on to avoid confusing the
      garbage collector, the test must be aware of this fact and use the
      goroutine ID from the stopped response instead of assuming 1 is the
      currently selected goroutine.
      
      Disables TestAttachDetach when running in Github Actions.
      
      Disable some coredump tests when running in Github Actions (core size
      limits?).
      7dcd7b4d
  18. 22 12月, 2020 1 次提交
  19. 17 12月, 2020 1 次提交