summaryrefslogtreecommitdiffstats
path: root/tools/linux
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-09 23:02:33 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-09 23:02:33 +0000
commit04fd69f01aad1dc4a8349006a0bb6d1b02084f09 (patch)
treec62a3b675c97a587f9ca3727ec664e746504529a /tools/linux
parent6d38e590d751a880202759b74167cb949657cee8 (diff)
downloadchromium_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-xtools/linux/dump-static-initializers.py9
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)