]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/link: add TODO missing from CL 70310
authorAlex Brainman <alex.brainman@gmail.com>
Wed, 18 Oct 2017 04:40:32 +0000 (15:40 +1100)
committerAlex Brainman <alex.brainman@gmail.com>
Thu, 19 Oct 2017 01:33:18 +0000 (01:33 +0000)
CL 70310 dropped TODO while moving code.
Add TODO back, so we do not forget.

Change-Id: I3599ac02743bd35fb9556fdc238e9c72cf7f718f
Reviewed-on: https://go-review.googlesource.com/71590
Reviewed-by: David Crawshaw <crawshaw@golang.org>
src/cmd/link/internal/ld/pe.go

index fc97bfbaf17cb35ba754d04c5ba58aa07f93393d..f870d5d917048c5992d8c692b70974fc6f715602 100644 (file)
@@ -93,6 +93,7 @@ const (
 
 // TODO(crawshaw): add these constants to debug/pe.
 const (
+       // TODO: the Microsoft doco says IMAGE_SYM_DTYPE_ARRAY is 3 and IMAGE_SYM_DTYPE_FUNCTION is 2
        IMAGE_SYM_TYPE_NULL      = 0
        IMAGE_SYM_TYPE_STRUCT    = 8
        IMAGE_SYM_DTYPE_FUNCTION = 0x20