[cctest] Add V8_EXPORT_PRIVATE for cctest (tools part)
Bug: v8:9020 Change-Id: Ib775ce8ab450ad42a342a40c660230c091e4f41d Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1541053 Commit-Queue: Sigurd Schneider <sigurds@chromium.org> Reviewed-by: Michael Achenbach <machenbach@chromium.org> Cr-Commit-Position: refs/heads/master@{#60489}
This commit is contained in:
parent
6111c6104a
commit
d9734801b7
@ -393,12 +393,14 @@ def load_objects_from_file(objfilename, checktypes):
|
||||
typestr += line;
|
||||
continue;
|
||||
|
||||
match = re.match('class (\w[^:]*)(: public (\w[^{]*))?\s*{\s*',
|
||||
line);
|
||||
match = re.match(r'class(?:\s+V8_EXPORT(?:_PRIVATE)?)?'
|
||||
r'\s+(\w[^:]*)'
|
||||
r'(?:: public (\w[^{]*))?\s*{\s*',
|
||||
line);
|
||||
|
||||
if (match):
|
||||
klass = match.group(1).strip();
|
||||
pklass = match.group(3);
|
||||
pklass = match.group(2);
|
||||
if (pklass):
|
||||
pklass = pklass.strip();
|
||||
klasses[klass] = { 'parent': pklass };
|
||||
|
Loading…
Reference in New Issue
Block a user