summaryrefslogtreecommitdiff
path: root/tools/generate_operator_out.py
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2019-10-10 10:46:42 +0100
committer Vladimir Marko <vmarko@google.com> 2019-10-14 08:22:00 +0000
commite2727154f25e0db9a5bb92af494d8e47b181dfcf (patch)
tree0ddc6eec3ad9508d7eb1f2b941786dd0ed7d2cd8 /tools/generate_operator_out.py
parentc78860b91ae07eed92f86876e7a03132adea6fcd (diff)
Make compiler/optimizing/ symbols hidden.
Make symbols in compiler/optimizing hidden by a namespace attribute. The unit intrinsic_objects.{h,cc} is excluded as it is needed by dex2oat. As the symbols are no longer exported, gtests are now linked with the static version of the libartd-compiler library. libart-compiler.so size: - before: arm: 2396152 arm64: 3345280 - after: arm: 2016176 (-371KiB, -15.9%) arm64: 2874480 (-460KiB, -14.1%) Test: m test-art-host-gtest Test: testrunner.py --host --optimizing --jit Bug: 142365358 Change-Id: I1fb04a33351f53f00b389a1642e81a68e40912a8
Diffstat (limited to 'tools/generate_operator_out.py')
-rwxr-xr-xtools/generate_operator_out.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/generate_operator_out.py b/tools/generate_operator_out.py
index 921ae68bcb..a886b989a1 100755
--- a/tools/generate_operator_out.py
+++ b/tools/generate_operator_out.py
@@ -65,7 +65,7 @@ def ProcessFile(filename):
continue
# Is this the start or end of a namespace?
- m = re.search(r'^namespace (\S+) \{', raw_line)
+ m = re.search(r'^namespace (\S+) (HIDDEN |EXPORT )?\{', raw_line)
if m:
namespaces.append(m.group(1))
continue