]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/test/depstest/depstest.py
ICU-62135.0.1.tar.gz
[apple/icu.git] / icuSources / test / depstest / depstest.py
index 51bdf2b58d469fc53f4008c16e4a04033fbb5e99..2a542e787074897837d65bb1a25cc797d506aa33 100755 (executable)
@@ -1,7 +1,9 @@
 #! /usr/bin/python
 # -*- coding: utf-8 -*-
 #
-# Copyright (C) 2011-2014, International Business Machines
+# Copyright (C) 2016 and later: Unicode, Inc. and others.
+# License & terms of use: http://www.unicode.org/copyright.html
+# Copyright (C) 2011-2015, International Business Machines
 # Corporation and others. All Rights Reserved.
 #
 # file name: depstest.py
@@ -60,7 +62,9 @@ def _ReadObjFile(root_path, library_name, obj_name):
     # Ignore symbols like '__cxa_pure_virtual',
     # 'vtable for __cxxabiv1::__si_class_type_info' or
     # 'DW.ref.__gxx_personality_v0'.
-    if name.startswith("__cxa") or "__cxxabi" in name or "__gxx" in name:
+    # '__dso_handle' belongs to __cxa_atexit().
+    if (name.startswith("__cxa") or "__cxxabi" in name or "__gxx" in name or
+        name == "__dso_handle"):
       _ignored_symbols.add(name)
       continue
     type = fields[2].strip()