commit | bd051a4465ee878585905cd46ae1ce5b96d132c7 | [log] [tgz] |
---|---|---|
author | Hana Kim <hakim@google.com> | Fri Jul 06 15:05:32 2018 -0400 |
committer | Hyang-Ah Hana Kim <hyangah@gmail.com> | Mon Jul 09 16:19:03 2018 +0000 |
tree | 7d07a73916869b2517d92ca6ca1f90e9bc0a508e | |
parent | 1c2e2e917519d14281df1cdfce386695e4278e09 [diff] |
internal/gocore: remove Flags and make Process cacheable Flags controled the amount of initialization work Core has to perform and determined the kind of information available in the returned Process object. This API prevented the reuse of the Process object for different types of analysis. This change gets rid of the Flags type, lets the Core perform only the basic initialization work, and makes Process to gather more information (e.g. type and reverse reference info) on demand if needed. This allows the viewcore command to cache the output of gocore.Core, Process, and reuse it in the interactive mode. Change-Id: Ifd4f40f240e4a7f10286f966aafc38abe58877ee Reviewed-on: https://go-review.googlesource.com/122481 Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Keith Randall <khr@golang.org>
This repository holds utilities and libraries for debugging Go programs.
WARNING! Please expect breaking changes and unstable APIs. Most of them are currently are at an early, experimental stage.