commit | 349b62f4696cfbe6192f79c7f7c371d31852baeb | [log] [tgz] |
---|---|---|
author | jcd <jcd@golang.org> | Sat Oct 24 01:29:49 2015 +1100 |
committer | jcd . <jcd@golang.org> | Tue Oct 27 06:17:55 2015 +0000 |
tree | 845372cbd808c1fc205955f0a5d25b87732735d2 | |
parent | 7c073c490e434d1dc03c2c6e612ac7fd0e9572de [diff] |
x/debug: change source file disambiguation heuristic. First prefer files that match a longer suffix of the requested file. Then break ties by choosing files that are under the directory from which the program was compiled. Then break ties by choosing a file with the shortest name. Change-Id: I50b87fe4bf1fa70075e6d48032c6633c5c71f8da Reviewed-on: https://go-review.googlesource.com/16260 Reviewed-by: Dave Day <djd@golang.org>