File tree Expand file tree Collapse file tree 7 files changed +81
-0
lines changed Expand file tree Collapse file tree 7 files changed +81
-0
lines changed Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python
2
+ # cmpcodesize.py - Compare sizes of built products -*- python -*-
3
+ #
4
+ # This source file is part of the Swift.org open source project
5
+ #
6
+ # Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
7
+ # Licensed under Apache License v2.0 with Runtime Library Exception
8
+ #
9
+ # See http://swift.org/LICENSE.txt for license information
10
+ # See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
2
11
3
12
from cmpcodesize .main import main
4
13
Original file line number Diff line number Diff line change
1
+ # cmpcodesize/__init__.py - Compare sizes of built products -*- python -*-
2
+ #
3
+ # This source file is part of the Swift.org open source project
4
+ #
5
+ # Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
6
+ # Licensed under Apache License v2.0 with Runtime Library Exception
7
+ #
8
+ # See http://swift.org/LICENSE.txt for license information
9
+ # See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10
+ #
11
+ # ----------------------------------------------------------------------------
12
+ #
13
+ # This file needs to be here in order for Python to treat the
14
+ # utils/cmpcodesize/cmpcodesize directory as a module.
15
+ #
16
+ # ----------------------------------------------------------------------------
17
+
1
18
__author__ = 'Brian Gesiak'
2
19
3
20
__versioninfo__ = (0 , 1 , 0 )
Original file line number Diff line number Diff line change
1
+ # cmpcodesize/compare.py - Compare sizes of built products -*- python -*-
2
+ #
3
+ # This source file is part of the Swift.org open source project
4
+ #
5
+ # Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
6
+ # Licensed under Apache License v2.0 with Runtime Library Exception
7
+ #
8
+ # See http://swift.org/LICENSE.txt for license information
9
+ # See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10
+
1
11
from __future__ import print_function
2
12
3
13
import re
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python
2
+ # cmpcodesize/main.py - Command-line entry point for cmpcodesize -*- python -*-
3
+ #
4
+ # This source file is part of the Swift.org open source project
5
+ #
6
+ # Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
7
+ # Licensed under Apache License v2.0 with Runtime Library Exception
8
+ #
9
+ # See http://swift.org/LICENSE.txt for license information
10
+ # See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
2
11
3
12
from __future__ import print_function
4
13
Original file line number Diff line number Diff line change
1
+ # cmpcodesize/setup.py - Install script for cmpcodesize -*- python -*-
2
+ #
3
+ # This source file is part of the Swift.org open source project
4
+ #
5
+ # Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
6
+ # Licensed under Apache License v2.0 with Runtime Library Exception
7
+ #
8
+ # See http://swift.org/LICENSE.txt for license information
9
+ # See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10
+
1
11
import os
2
12
import setuptools
3
13
Original file line number Diff line number Diff line change
1
+ # cmpcodesize/tests/__init__.py - Unit tests for cmpcodesize -*- python -*-
2
+ #
3
+ # This source file is part of the Swift.org open source project
4
+ #
5
+ # Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
6
+ # Licensed under Apache License v2.0 with Runtime Library Exception
7
+ #
8
+ # See http://swift.org/LICENSE.txt for license information
9
+ # See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10
+ #
11
+ # ----------------------------------------------------------------------------
12
+ #
13
+ # This file needs to be here in order for Python to treat the
14
+ # utils/cmpcodesize/tests/ directory as a module.
15
+ #
16
+ # ----------------------------------------------------------------------------
Original file line number Diff line number Diff line change
1
+ # test_list_function_sizes.py - Unit tests for listFunctionSizes -*- python -*-
2
+ #
3
+ # This source file is part of the Swift.org open source project
4
+ #
5
+ # Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
6
+ # Licensed under Apache License v2.0 with Runtime Library Exception
7
+ #
8
+ # See http://swift.org/LICENSE.txt for license information
9
+ # See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10
+
1
11
import unittest
2
12
3
13
from cmpcodesize .compare import listFunctionSizes
You can’t perform that action at this time.
0 commit comments