diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-09 23:02:33 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-09 23:02:33 +0000 |
commit | 04fd69f01aad1dc4a8349006a0bb6d1b02084f09 (patch) | |
tree | c62a3b675c97a587f9ca3727ec664e746504529a /tools/linux | |
parent | 6d38e590d751a880202759b74167cb949657cee8 (diff) | |
download | chromium_src-04fd69f01aad1dc4a8349006a0bb6d1b02084f09.zip chromium_src-04fd69f01aad1dc4a8349006a0bb6d1b02084f09.tar.gz chromium_src-04fd69f01aad1dc4a8349006a0bb6d1b02084f09.tar.bz2 |
dump-static-initializers: reference existing bug on protobuffers
When printing out that some bit of code has a static initializer
due to this known bug, reference the bug.
Review URL: https://chromiumcodereview.appspot.com/9372037
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121327 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/linux')
-rwxr-xr-x | tools/linux/dump-static-initializers.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/linux/dump-static-initializers.py b/tools/linux/dump-static-initializers.py index c8917d1..c5ff1f8 100755 --- a/tools/linux/dump-static-initializers.py +++ b/tools/linux/dump-static-initializers.py @@ -201,8 +201,15 @@ def main(): ref = demangler.Demangle(ref) if qualified_filename == filename: qualified_filename = QualifyFilename(filename, ref) + + note = '' if ref in NOTES: - ref_output.append('%s [%s]' % (ref, NOTES[ref])) + note = NOTES[ref] + elif ref.endswith('_2eproto()'): + note = 'protocol compiler bug: crbug.com/105626' + + if note: + ref_output.append('%s [%s]' % (ref, note)) else: ref_output.append(ref) |