File tree Expand file tree Collapse file tree 1 file changed +17
-6
lines changed Expand file tree Collapse file tree 1 file changed +17
-6
lines changed Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python
2
-
3
- # A script for viewing the CFG of SIL and llvm IR.
4
-
5
- # For vim users: use the following lines in .vimrc
2
+ # viewcfg - A script for viewing the CFG of SIL and LLVM IR -*- 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
11
+ #
12
+ # ----------------------------------------------------------------------------
13
+ #
14
+ # For vim users: use the following lines in .vimrc...
6
15
#
7
16
# com! -nargs=? Funccfg silent ?{$?,/^}/w !viewcfg <args>
8
17
# com! -range -nargs=? Viewcfg silent <line1>,<line2>w !viewcfg <args>
9
18
#
10
- # to add these commands:
19
+ # ... to add these commands:
11
20
#
12
- # :Funccfg displays the CFG of the current SIL/llvm function.
21
+ # :Funccfg displays the CFG of the current SIL/LLVM function.
13
22
# :<range>Viewcfg displays the sub-CFG of the selected range.
14
23
#
15
24
# Note: viewcfg should be in the $PATH and .dot files should be associated
16
25
# with the Graphviz app.
26
+ #
27
+ # ----------------------------------------------------------------------------
17
28
18
29
from __future__ import print_function
19
30
You can’t perform that action at this time.
0 commit comments