]>
Commit | Line | Data |
---|---|---|
93a37866 A |
1 | # Copyright (C) 2012 Apple Inc. All rights reserved. |
2 | # | |
3 | # Redistribution and use in source and binary forms, with or without | |
4 | # modification, are permitted provided that the following conditions | |
5 | # are met: | |
6 | # 1. Redistributions of source code must retain the above copyright | |
7 | # notice, this list of conditions and the following disclaimer. | |
8 | # 2. Redistributions in binary form must reproduce the above copyright | |
9 | # notice, this list of conditions and the following disclaimer in the | |
10 | # documentation and/or other materials provided with the distribution. | |
11 | # | |
12 | # THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' | |
13 | # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, | |
14 | # THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | |
15 | # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS | |
16 | # BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | |
17 | # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | |
18 | # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | |
19 | # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | |
20 | # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | |
21 | # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF | |
22 | # THE POSSIBILITY OF SUCH DAMAGE. | |
23 | ||
24 | $preferredCommentStartColumn = 60 | |
25 | ||
26 | ||
27 | # Turns on dumping of the count of labels. | |
28 | # For example, the output will look like this: | |
29 | # | |
30 | # ... | |
31 | # OFFLINE_ASM_LOCAL_LABEL(_offlineasm_4_functionArityCheck__continue) // Local Label 24 . | |
32 | # ... | |
33 | # OFFLINE_ASM_GLOBAL_LABEL(llint_op_enter) // Global Label 8 . | |
34 | # ... | |
35 | # | |
36 | $enableLabelCountComments = false | |
37 | ||
38 | # Turns on dumping of source file and line numbers in the output file. | |
39 | # For example, the output will look like this: | |
40 | # | |
41 | # ... | |
42 | # "\tmovq -8(%r13), %rcx\n" // JavaScriptCore/llint/LowLevelInterpreter64.asm:185 | |
43 | # "\tmovl 52(%rcx), %ecx\n" // JavaScriptCore/llint/LowLevelInterpreter64.asm:186 | |
44 | # ... | |
45 | # | |
46 | $enableCodeOriginComments = true | |
47 | ||
48 | # Turns on recording and dumping of annotations in the generated output file. | |
49 | # An annotations can be specified for each instruction in the source asm files. | |
50 | # For example, the output will look like this: | |
51 | # | |
52 | # ... | |
53 | # "\tmovq -8(%r13), %rcx\n" // t2<CodeBlock> = cfr.CodeBlock | |
54 | # "\tmovl 52(%rcx), %ecx\n" // t2<size_t> = t2<CodeBlock>.m_numVars | |
55 | # ... | |
56 | # | |
57 | $enableInstrAnnotations = false |