You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CL 236857 removed all uses of whitelist/blacklist, which is great.
But it substituted awkward phrasing using allowlist/blocklist,
especially as verbs or participles. This CL uses more standard English,
like "allow the function" or "blocked functions" instead of
"allowlist the function" or "blocklisted functions".
Change-Id: I9106a2fdbd62751c4cbda3a77181358a8a6d0f13
Reviewed-on: https://go-review.googlesource.com/c/go/+/236917
Run-TryBot: Russ Cox <[email protected]>
Reviewed-by: Ian Lance Taylor <[email protected]>
Copy file name to clipboardExpand all lines: src/cmd/link/internal/loader/loader.go
+3-3
Original file line number
Diff line number
Diff line change
@@ -634,15 +634,15 @@ func (l *Loader) checkdup(name string, r *oReader, li int, dup Sym) {
634
634
}
635
635
fmt.Fprintf(os.Stderr, "cmd/link: while reading object for '%v': duplicate symbol '%s', previous def at '%v', with mismatched payload: %s\n", r.unit.Lib, name, rdup.unit.Lib, reason)
636
636
637
-
// For the moment, allowlist DWARF subprogram DIEs for
637
+
// For the moment, allow DWARF subprogram DIEs for
638
638
// auto-generated wrapper functions. What seems to happen
639
639
// here is that we get different line numbers on formal
640
640
// params; I am guessing that the pos is being inherited
Copy file name to clipboardExpand all lines: src/cmd/oldlink/internal/objfile/objfile.go
+3-3
Original file line number
Diff line number
Diff line change
@@ -411,16 +411,16 @@ overwrite:
411
411
}
412
412
fmt.Fprintf(os.Stderr, "cmd/link: while reading object for '%v': duplicate symbol '%s', previous def at '%v', with mismatched payload: %s\n", r.lib, dup, dup.Unit.Lib, reason)
413
413
414
-
// For the moment, allowlist DWARF subprogram DIEs for
414
+
// For the moment, allow DWARF subprogram DIEs for
415
415
// auto-generated wrapper functions. What seems to happen
416
416
// here is that we get different line numbers on formal
417
417
// params; I am guessing that the pos is being inherited
0 commit comments