umt 1.0.10 → 1.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.markdownlint.json +4 -1
- package/README.md +11 -4
- package/lib/.clang-format +200 -0
- package/lib/1.s +259 -0
- package/lib/Makefile +5 -0
- package/lib/index.cpp +10 -0
- package/lib/index.s +238 -0
- package/module/Array/arraysJoin.d.ts +1 -2
- package/module/Array/arraysJoin.js +2 -1
- package/module/Array/getArraysCommon.d.ts +6 -0
- package/module/Array/getArraysCommon.js +25 -0
- package/module/Array/getArraysDiff.d.ts +1 -2
- package/module/Array/getArraysDiff.js +15 -7
- package/module/Array/index.d.ts +16 -5
- package/module/Array/index.js +54 -11
- package/module/Array/quickSort.d.ts +1 -2
- package/module/Array/quickSort.js +4 -3
- package/module/Array/sum.d.ts +1 -0
- package/module/Array/sum.js +8 -0
- package/module/Compiler/core.d.ts +5 -0
- package/module/Compiler/core.js +19 -0
- package/module/Compiler/token.d.ts +10 -0
- package/module/Compiler/token.js +120 -0
- package/module/Date/index.d.ts +7 -1
- package/module/Date/index.js +26 -5
- package/module/Date/now.d.ts +5 -2
- package/module/Date/now.js +10 -3
- package/module/Math/addition.d.ts +2 -2
- package/module/Math/addition.js +8 -9
- package/module/Math/average.d.ts +2 -2
- package/module/Math/average.js +3 -1
- package/module/Math/calculator/core.d.ts +1 -5
- package/module/Math/calculator/core.js +76 -55
- package/module/Math/calculator/exchange.d.ts +1 -5
- package/module/Math/calculator/exchange.js +16 -12
- package/module/Math/calculator/index.d.ts +2 -5
- package/module/Math/calculator/index.js +13 -8
- package/module/Math/calculator/literalExpression.d.ts +2 -2
- package/module/Math/calculator/literalExpression.js +20 -13
- package/module/Math/degToRad.d.ts +2 -2
- package/module/Math/degToRad.js +3 -1
- package/module/Math/deviationValue.d.ts +8 -0
- package/module/Math/deviationValue.js +14 -0
- package/module/Math/division.d.ts +7 -2
- package/module/Math/division.js +20 -9
- package/module/Math/factorial.d.ts +2 -2
- package/module/Math/factorial.js +10 -4
- package/module/Math/factorize.d.ts +2 -2
- package/module/Math/factorize.js +3 -1
- package/module/Math/gcd.d.ts +2 -2
- package/module/Math/gcd.js +6 -7
- package/module/Math/getDecimalLength.d.ts +2 -2
- package/module/Math/getDecimalLength.js +3 -1
- package/module/Math/index.d.ts +94 -33
- package/module/Math/index.js +278 -67
- package/module/Math/isDouble.d.ts +3 -2
- package/module/Math/isDouble.js +4 -1
- package/module/Math/isNumber.d.ts +3 -3
- package/module/Math/isNumber.js +4 -2
- package/module/Math/isPrimeNumber.d.ts +2 -2
- package/module/Math/isPrimeNumber.js +5 -6
- package/module/Math/lcm.d.ts +2 -2
- package/module/Math/lcm.js +7 -8
- package/module/Math/mathConverter.d.ts +5 -0
- package/module/Math/mathConverter.js +48 -0
- package/module/Math/mathSeparator.d.ts +5 -0
- package/module/Math/mathSeparator.js +21 -0
- package/module/Math/max.d.ts +1 -2
- package/module/Math/max.js +3 -2
- package/module/Math/min.d.ts +1 -2
- package/module/Math/min.js +3 -2
- package/module/Math/multiples.d.ts +1 -2
- package/module/Math/multiples.js +2 -1
- package/module/Math/multiplication.d.ts +1 -2
- package/module/Math/multiplication.js +4 -6
- package/module/Math/nCr.d.ts +1 -2
- package/module/Math/nCr.js +4 -6
- package/module/Math/nHr.d.ts +1 -2
- package/module/Math/nHr.js +4 -6
- package/module/Math/nPr.d.ts +1 -2
- package/module/Math/nPr.js +2 -1
- package/module/Math/primeFactorization.d.ts +1 -2
- package/module/Math/primeFactorization.js +2 -1
- package/module/Math/quotient.d.ts +1 -2
- package/module/Math/quotient.js +2 -1
- package/module/Math/radToDeg.d.ts +1 -2
- package/module/Math/radToDeg.js +2 -1
- package/module/Math/random.d.ts +3 -2
- package/module/Math/random.js +5 -2
- package/module/Math/reduce.d.ts +1 -2
- package/module/Math/reduce.js +5 -7
- package/module/Math/repeatedTrial.d.ts +2 -2
- package/module/Math/repeatedTrial.js +7 -8
- package/module/Math/roundOff.d.ts +7 -0
- package/module/Math/roundOff.js +14 -0
- package/module/Math/softmax.d.ts +5 -0
- package/module/Math/softmax.js +40 -0
- package/module/Math/standardDeviation.d.ts +1 -2
- package/module/Math/standardDeviation.js +5 -7
- package/module/Math/subtract.d.ts +1 -2
- package/module/Math/subtract.js +9 -9
- package/module/Math/toBinary.d.ts +5 -2
- package/module/Math/toBinary.js +4 -4
- package/module/Math/toCelsius.d.ts +1 -2
- package/module/Math/toCelsius.js +4 -6
- package/module/Math/toKelvin.d.ts +1 -2
- package/module/Math/toKelvin.js +4 -6
- package/module/Math/valueSwap.d.ts +2 -2
- package/module/Math/valueSwap.js +3 -1
- package/module/Simple/Date/index.d.ts +5 -0
- package/module/Simple/Date/index.js +27 -0
- package/module/Simple/Date/now.d.ts +1 -0
- package/module/Simple/Date/now.js +17 -0
- package/module/Simple/Math/dayOfWeek.d.ts +6 -0
- package/module/Simple/Math/dayOfWeek.js +31 -0
- package/module/Simple/Math/deviationValue.d.ts +5 -0
- package/module/Simple/Math/deviationValue.js +14 -0
- package/module/Simple/Math/index.d.ts +10 -0
- package/module/Simple/Math/index.js +33 -0
- package/module/Simple/Tool/birthday.d.ts +9 -0
- package/module/Simple/Tool/birthday.js +26 -0
- package/module/Simple/Tool/index.d.ts +5 -0
- package/module/Simple/Tool/index.js +27 -0
- package/module/Simple/index.d.ts +11 -0
- package/module/Simple/index.js +40 -0
- package/module/Tool/birthday.d.ts +8 -2
- package/module/Tool/birthday.js +15 -10
- package/module/Tool/dayOfWeek.d.ts +5 -6
- package/module/Tool/dayOfWeek.js +12 -2
- package/module/Tool/index.d.ts +18 -3
- package/module/Tool/index.js +58 -9
- package/module/Tool/isBrowser.d.ts +1 -0
- package/module/Tool/isBrowser.js +4 -0
- package/module/Tool/isNode.d.ts +1 -0
- package/module/Tool/isNode.js +4 -0
- package/module/Tool/isNodeWebkit.d.ts +1 -0
- package/module/Tool/isNodeWebkit.js +6 -0
- package/module/Tool/pipeFunction.d.ts +1 -2
- package/module/Tool/pipeFunction.js +3 -2
- package/module/index.d.ts +10 -11
- package/module/index.js +49 -33
- package/module/tsconfig.tsbuildinfo +1 -1
- package/module/types/int.d.ts +4 -0
- package/module/{Math/value.js → types/int.js} +0 -2
- package/module/types/logicType.d.ts +8 -0
- package/module/types/logicType.js +2 -0
- package/module/types/monType.d.ts +4 -0
- package/module/types/monType.js +2 -0
- package/package.json +18 -18
- package/.env +0 -1
- package/.github/dependabot.yml +0 -11
- package/.github/workflows/node.js.yml +0 -30
- package/module/Array/getArraysIntersect.d.ts +0 -7
- package/module/Array/getArraysIntersect.js +0 -15
- package/module/Math/euclideanAlgorithm.d.ts +0 -8
- package/module/Math/euclideanAlgorithm.js +0 -31
- package/module/Math/value.d.ts +0 -2
- package/sider.yml +0 -60
- package/test.js +0 -5
package/.markdownlint.json
CHANGED
package/README.md
CHANGED
|
@@ -1,9 +1,16 @@
|
|
|
1
|
-
# UMT
|
|
1
|
+
# UMT Main Package
|
|
2
2
|
|
|
3
3
|
個人的に作った便利関数集
|
|
4
|
-
|
|
5
4
|
個人用途なので破壊的変更がある可能性があります。
|
|
5
|
+
Main Packageに依存関係はありません。
|
|
6
|
+
JavaScriptからの呼び出しに対応しています。
|
|
7
|
+
|
|
8
|
+
## Doc
|
|
9
|
+
|
|
10
|
+
- [Doc](./doc/index.md)
|
|
6
11
|
|
|
7
|
-
##
|
|
12
|
+
## Install
|
|
8
13
|
|
|
9
|
-
|
|
14
|
+
```bash
|
|
15
|
+
yarn add umt
|
|
16
|
+
```
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
---
|
|
2
|
+
Language: Cpp
|
|
3
|
+
# BasedOnStyle: Google
|
|
4
|
+
AccessModifierOffset: -10
|
|
5
|
+
AlignAfterOpenBracket: Align
|
|
6
|
+
AlignConsecutiveMacros: None
|
|
7
|
+
AlignConsecutiveAssignments: None
|
|
8
|
+
AlignConsecutiveBitFields: None
|
|
9
|
+
AlignConsecutiveDeclarations: None
|
|
10
|
+
AlignEscapedNewlines: Left
|
|
11
|
+
AlignOperands: Align
|
|
12
|
+
AlignTrailingComments: true
|
|
13
|
+
AllowAllArgumentsOnNextLine: true
|
|
14
|
+
AllowAllConstructorInitializersOnNextLine: true
|
|
15
|
+
AllowAllParametersOfDeclarationOnNextLine: true
|
|
16
|
+
AllowShortEnumsOnASingleLine: true
|
|
17
|
+
AllowShortBlocksOnASingleLine: Never
|
|
18
|
+
AllowShortCaseLabelsOnASingleLine: false
|
|
19
|
+
AllowShortFunctionsOnASingleLine: All
|
|
20
|
+
AllowShortLambdasOnASingleLine: All
|
|
21
|
+
AllowShortIfStatementsOnASingleLine: WithoutElse
|
|
22
|
+
AllowShortLoopsOnASingleLine: true
|
|
23
|
+
AlwaysBreakAfterDefinitionReturnType: None
|
|
24
|
+
AlwaysBreakAfterReturnType: None
|
|
25
|
+
AlwaysBreakBeforeMultilineStrings: true
|
|
26
|
+
AlwaysBreakTemplateDeclarations: Yes
|
|
27
|
+
AttributeMacros:
|
|
28
|
+
- __capability
|
|
29
|
+
BinPackArguments: true
|
|
30
|
+
BinPackParameters: true
|
|
31
|
+
BraceWrapping:
|
|
32
|
+
AfterCaseLabel: false
|
|
33
|
+
AfterClass: false
|
|
34
|
+
AfterControlStatement: Never
|
|
35
|
+
AfterEnum: false
|
|
36
|
+
AfterFunction: false
|
|
37
|
+
AfterNamespace: false
|
|
38
|
+
AfterObjCDeclaration: false
|
|
39
|
+
AfterStruct: false
|
|
40
|
+
AfterUnion: false
|
|
41
|
+
AfterExternBlock: false
|
|
42
|
+
BeforeCatch: false
|
|
43
|
+
BeforeElse: false
|
|
44
|
+
BeforeLambdaBody: false
|
|
45
|
+
BeforeWhile: false
|
|
46
|
+
IndentBraces: false
|
|
47
|
+
SplitEmptyFunction: true
|
|
48
|
+
SplitEmptyRecord: true
|
|
49
|
+
SplitEmptyNamespace: true
|
|
50
|
+
BreakBeforeBinaryOperators: None
|
|
51
|
+
BreakBeforeConceptDeclarations: true
|
|
52
|
+
BreakBeforeBraces: Attach
|
|
53
|
+
BreakBeforeInheritanceComma: false
|
|
54
|
+
BreakInheritanceList: BeforeColon
|
|
55
|
+
BreakBeforeTernaryOperators: true
|
|
56
|
+
BreakConstructorInitializersBeforeComma: false
|
|
57
|
+
BreakConstructorInitializers: BeforeColon
|
|
58
|
+
BreakAfterJavaFieldAnnotations: false
|
|
59
|
+
BreakStringLiterals: true
|
|
60
|
+
ColumnLimit: 100
|
|
61
|
+
CommentPragmas: '^ IWYU pragma:'
|
|
62
|
+
CompactNamespaces: false
|
|
63
|
+
ConstructorInitializerAllOnOneLineOrOnePerLine: true
|
|
64
|
+
ConstructorInitializerIndentWidth: 4
|
|
65
|
+
ContinuationIndentWidth: 4
|
|
66
|
+
Cpp11BracedListStyle: true
|
|
67
|
+
DeriveLineEnding: true
|
|
68
|
+
DerivePointerAlignment: true
|
|
69
|
+
DisableFormat: false
|
|
70
|
+
EmptyLineBeforeAccessModifier: LogicalBlock
|
|
71
|
+
ExperimentalAutoDetectBinPacking: false
|
|
72
|
+
FixNamespaceComments: true
|
|
73
|
+
ForEachMacros:
|
|
74
|
+
- foreach
|
|
75
|
+
- Q_FOREACH
|
|
76
|
+
- BOOST_FOREACH
|
|
77
|
+
StatementAttributeLikeMacros:
|
|
78
|
+
- Q_EMIT
|
|
79
|
+
IncludeBlocks: Regroup
|
|
80
|
+
IncludeCategories:
|
|
81
|
+
- Regex: '^<ext/.*\.h>'
|
|
82
|
+
Priority: 2
|
|
83
|
+
SortPriority: 0
|
|
84
|
+
CaseSensitive: false
|
|
85
|
+
- Regex: '^<.*\.h>'
|
|
86
|
+
Priority: 1
|
|
87
|
+
SortPriority: 0
|
|
88
|
+
CaseSensitive: false
|
|
89
|
+
- Regex: '^<.*'
|
|
90
|
+
Priority: 2
|
|
91
|
+
SortPriority: 0
|
|
92
|
+
CaseSensitive: false
|
|
93
|
+
- Regex: '.*'
|
|
94
|
+
Priority: 3
|
|
95
|
+
SortPriority: 0
|
|
96
|
+
CaseSensitive: false
|
|
97
|
+
IncludeIsMainRegex: '([-_](test|unittest))?$'
|
|
98
|
+
IncludeIsMainSourceRegex: ''
|
|
99
|
+
IndentCaseLabels: true
|
|
100
|
+
IndentCaseBlocks: false
|
|
101
|
+
IndentGotoLabels: true
|
|
102
|
+
IndentPPDirectives: None
|
|
103
|
+
IndentExternBlock: AfterExternBlock
|
|
104
|
+
IndentRequires: false
|
|
105
|
+
IndentWidth: 4
|
|
106
|
+
IndentWrappedFunctionNames: false
|
|
107
|
+
InsertTrailingCommas: None
|
|
108
|
+
JavaScriptQuotes: Leave
|
|
109
|
+
JavaScriptWrapImports: true
|
|
110
|
+
KeepEmptyLinesAtTheStartOfBlocks: false
|
|
111
|
+
MacroBlockBegin: ''
|
|
112
|
+
MacroBlockEnd: ''
|
|
113
|
+
MaxEmptyLinesToKeep: 1
|
|
114
|
+
NamespaceIndentation: None
|
|
115
|
+
ObjCBinPackProtocolList: Never
|
|
116
|
+
ObjCBlockIndentWidth: 2
|
|
117
|
+
ObjCBreakBeforeNestedBlockParam: true
|
|
118
|
+
ObjCSpaceAfterProperty: false
|
|
119
|
+
ObjCSpaceBeforeProtocolList: true
|
|
120
|
+
PenaltyBreakAssignment: 2
|
|
121
|
+
PenaltyBreakBeforeFirstCallParameter: 1
|
|
122
|
+
PenaltyBreakComment: 300
|
|
123
|
+
PenaltyBreakFirstLessLess: 120
|
|
124
|
+
PenaltyBreakString: 1000
|
|
125
|
+
PenaltyBreakTemplateDeclaration: 10
|
|
126
|
+
PenaltyExcessCharacter: 1000000
|
|
127
|
+
PenaltyReturnTypeOnItsOwnLine: 200
|
|
128
|
+
PenaltyIndentedWhitespace: 0
|
|
129
|
+
PointerAlignment: Left
|
|
130
|
+
RawStringFormats:
|
|
131
|
+
- Language: Cpp
|
|
132
|
+
Delimiters:
|
|
133
|
+
- cc
|
|
134
|
+
- CC
|
|
135
|
+
- cpp
|
|
136
|
+
- Cpp
|
|
137
|
+
- CPP
|
|
138
|
+
- 'c++'
|
|
139
|
+
- 'C++'
|
|
140
|
+
CanonicalDelimiter: ''
|
|
141
|
+
BasedOnStyle: google
|
|
142
|
+
- Language: TextProto
|
|
143
|
+
Delimiters:
|
|
144
|
+
- pb
|
|
145
|
+
- PB
|
|
146
|
+
- proto
|
|
147
|
+
- PROTO
|
|
148
|
+
EnclosingFunctions:
|
|
149
|
+
- EqualsProto
|
|
150
|
+
- EquivToProto
|
|
151
|
+
- PARSE_PARTIAL_TEXT_PROTO
|
|
152
|
+
- PARSE_TEST_PROTO
|
|
153
|
+
- PARSE_TEXT_PROTO
|
|
154
|
+
- ParseTextOrDie
|
|
155
|
+
- ParseTextProtoOrDie
|
|
156
|
+
- ParseTestProto
|
|
157
|
+
- ParsePartialTestProto
|
|
158
|
+
CanonicalDelimiter: ''
|
|
159
|
+
BasedOnStyle: google
|
|
160
|
+
ReflowComments: true
|
|
161
|
+
SortIncludes: true
|
|
162
|
+
SortJavaStaticImport: Before
|
|
163
|
+
SortUsingDeclarations: true
|
|
164
|
+
SpaceAfterCStyleCast: false
|
|
165
|
+
SpaceAfterLogicalNot: false
|
|
166
|
+
SpaceAfterTemplateKeyword: true
|
|
167
|
+
SpaceBeforeAssignmentOperators: true
|
|
168
|
+
SpaceBeforeCaseColon: false
|
|
169
|
+
SpaceBeforeCpp11BracedList: false
|
|
170
|
+
SpaceBeforeCtorInitializerColon: true
|
|
171
|
+
SpaceBeforeInheritanceColon: true
|
|
172
|
+
SpaceBeforeParens: ControlStatements
|
|
173
|
+
SpaceAroundPointerQualifiers: Default
|
|
174
|
+
SpaceBeforeRangeBasedForLoopColon: true
|
|
175
|
+
SpaceInEmptyBlock: false
|
|
176
|
+
SpaceInEmptyParentheses: false
|
|
177
|
+
SpacesBeforeTrailingComments: 2
|
|
178
|
+
SpacesInAngles: false
|
|
179
|
+
SpacesInConditionalStatement: false
|
|
180
|
+
SpacesInContainerLiterals: true
|
|
181
|
+
SpacesInCStyleCastParentheses: false
|
|
182
|
+
SpacesInParentheses: false
|
|
183
|
+
SpacesInSquareBrackets: false
|
|
184
|
+
SpaceBeforeSquareBrackets: false
|
|
185
|
+
BitFieldColonSpacing: Both
|
|
186
|
+
Standard: Auto
|
|
187
|
+
StatementMacros:
|
|
188
|
+
- Q_UNUSED
|
|
189
|
+
- QT_REQUIRE_VERSION
|
|
190
|
+
TabWidth: 8
|
|
191
|
+
UseCRLF: false
|
|
192
|
+
UseTab: Never
|
|
193
|
+
WhitespaceSensitiveMacros:
|
|
194
|
+
- STRINGIZE
|
|
195
|
+
- PP_STRINGIZE
|
|
196
|
+
- BOOST_PP_STRINGIZE
|
|
197
|
+
- NS_SWIFT_NAME
|
|
198
|
+
- CF_SWIFT_NAME
|
|
199
|
+
...
|
|
200
|
+
|
package/lib/1.s
ADDED
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
.section __TEXT,__text,regular,pure_instructions
|
|
2
|
+
.build_version macos, 12, 0 sdk_version 12, 3
|
|
3
|
+
.globl _main ## -- Begin function main
|
|
4
|
+
.p2align 4, 0x90
|
|
5
|
+
_main: ## @main
|
|
6
|
+
Lfunc_begin0:
|
|
7
|
+
.file 1 "/Users/yuta/programming/Typescript/UMT/package/main/lib" "index.cpp"
|
|
8
|
+
.loc 1 2 0 ## index.cpp:2:0
|
|
9
|
+
.cfi_startproc
|
|
10
|
+
## %bb.0:
|
|
11
|
+
pushq %rbp
|
|
12
|
+
.cfi_def_cfa_offset 16
|
|
13
|
+
.cfi_offset %rbp, -16
|
|
14
|
+
movq %rsp, %rbp
|
|
15
|
+
.cfi_def_cfa_register %rbp
|
|
16
|
+
movl $0, -4(%rbp)
|
|
17
|
+
Ltmp0:
|
|
18
|
+
.loc 1 3 9 prologue_end ## index.cpp:3:9
|
|
19
|
+
movl $0, -8(%rbp)
|
|
20
|
+
LBB0_1: ## =>This Inner Loop Header: Depth=1
|
|
21
|
+
Ltmp1:
|
|
22
|
+
.loc 1 6 13 ## index.cpp:6:13
|
|
23
|
+
movl -8(%rbp), %eax
|
|
24
|
+
.loc 1 6 15 is_stmt 0 ## index.cpp:6:15
|
|
25
|
+
addl $1, %eax
|
|
26
|
+
.loc 1 6 11 ## index.cpp:6:11
|
|
27
|
+
movl %eax, -8(%rbp)
|
|
28
|
+
Ltmp2:
|
|
29
|
+
.loc 1 7 15 is_stmt 1 ## index.cpp:7:15
|
|
30
|
+
cmpl $10, -8(%rbp)
|
|
31
|
+
Ltmp3:
|
|
32
|
+
.loc 1 7 13 is_stmt 0 ## index.cpp:7:13
|
|
33
|
+
jle LBB0_3
|
|
34
|
+
## %bb.2:
|
|
35
|
+
Ltmp4:
|
|
36
|
+
.loc 1 9 13 is_stmt 1 ## index.cpp:9:13
|
|
37
|
+
jmp LBB0_4
|
|
38
|
+
Ltmp5:
|
|
39
|
+
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
|
|
40
|
+
.loc 1 4 5 ## index.cpp:4:5
|
|
41
|
+
jmp LBB0_1
|
|
42
|
+
LBB0_4:
|
|
43
|
+
.loc 1 12 5 ## index.cpp:12:5
|
|
44
|
+
xorl %eax, %eax
|
|
45
|
+
popq %rbp
|
|
46
|
+
retq
|
|
47
|
+
Ltmp6:
|
|
48
|
+
Lfunc_end0:
|
|
49
|
+
.cfi_endproc
|
|
50
|
+
## -- End function
|
|
51
|
+
.section __DWARF,__debug_abbrev,regular,debug
|
|
52
|
+
Lsection_abbrev:
|
|
53
|
+
.byte 1 ## Abbreviation Code
|
|
54
|
+
.byte 17 ## DW_TAG_compile_unit
|
|
55
|
+
.byte 1 ## DW_CHILDREN_yes
|
|
56
|
+
.byte 37 ## DW_AT_producer
|
|
57
|
+
.byte 14 ## DW_FORM_strp
|
|
58
|
+
.byte 19 ## DW_AT_language
|
|
59
|
+
.byte 5 ## DW_FORM_data2
|
|
60
|
+
.byte 3 ## DW_AT_name
|
|
61
|
+
.byte 14 ## DW_FORM_strp
|
|
62
|
+
.ascii "\202|" ## DW_AT_LLVM_sysroot
|
|
63
|
+
.byte 14 ## DW_FORM_strp
|
|
64
|
+
.ascii "\357\177" ## DW_AT_APPLE_sdk
|
|
65
|
+
.byte 14 ## DW_FORM_strp
|
|
66
|
+
.byte 16 ## DW_AT_stmt_list
|
|
67
|
+
.byte 23 ## DW_FORM_sec_offset
|
|
68
|
+
.byte 27 ## DW_AT_comp_dir
|
|
69
|
+
.byte 14 ## DW_FORM_strp
|
|
70
|
+
.byte 17 ## DW_AT_low_pc
|
|
71
|
+
.byte 1 ## DW_FORM_addr
|
|
72
|
+
.byte 18 ## DW_AT_high_pc
|
|
73
|
+
.byte 6 ## DW_FORM_data4
|
|
74
|
+
.byte 0 ## EOM(1)
|
|
75
|
+
.byte 0 ## EOM(2)
|
|
76
|
+
.byte 2 ## Abbreviation Code
|
|
77
|
+
.byte 46 ## DW_TAG_subprogram
|
|
78
|
+
.byte 1 ## DW_CHILDREN_yes
|
|
79
|
+
.byte 17 ## DW_AT_low_pc
|
|
80
|
+
.byte 1 ## DW_FORM_addr
|
|
81
|
+
.byte 18 ## DW_AT_high_pc
|
|
82
|
+
.byte 6 ## DW_FORM_data4
|
|
83
|
+
.byte 64 ## DW_AT_frame_base
|
|
84
|
+
.byte 24 ## DW_FORM_exprloc
|
|
85
|
+
.byte 3 ## DW_AT_name
|
|
86
|
+
.byte 14 ## DW_FORM_strp
|
|
87
|
+
.byte 58 ## DW_AT_decl_file
|
|
88
|
+
.byte 11 ## DW_FORM_data1
|
|
89
|
+
.byte 59 ## DW_AT_decl_line
|
|
90
|
+
.byte 11 ## DW_FORM_data1
|
|
91
|
+
.byte 73 ## DW_AT_type
|
|
92
|
+
.byte 19 ## DW_FORM_ref4
|
|
93
|
+
.byte 63 ## DW_AT_external
|
|
94
|
+
.byte 25 ## DW_FORM_flag_present
|
|
95
|
+
.byte 0 ## EOM(1)
|
|
96
|
+
.byte 0 ## EOM(2)
|
|
97
|
+
.byte 3 ## Abbreviation Code
|
|
98
|
+
.byte 52 ## DW_TAG_variable
|
|
99
|
+
.byte 0 ## DW_CHILDREN_no
|
|
100
|
+
.byte 2 ## DW_AT_location
|
|
101
|
+
.byte 24 ## DW_FORM_exprloc
|
|
102
|
+
.byte 3 ## DW_AT_name
|
|
103
|
+
.byte 14 ## DW_FORM_strp
|
|
104
|
+
.byte 58 ## DW_AT_decl_file
|
|
105
|
+
.byte 11 ## DW_FORM_data1
|
|
106
|
+
.byte 59 ## DW_AT_decl_line
|
|
107
|
+
.byte 11 ## DW_FORM_data1
|
|
108
|
+
.byte 73 ## DW_AT_type
|
|
109
|
+
.byte 19 ## DW_FORM_ref4
|
|
110
|
+
.byte 0 ## EOM(1)
|
|
111
|
+
.byte 0 ## EOM(2)
|
|
112
|
+
.byte 4 ## Abbreviation Code
|
|
113
|
+
.byte 36 ## DW_TAG_base_type
|
|
114
|
+
.byte 0 ## DW_CHILDREN_no
|
|
115
|
+
.byte 3 ## DW_AT_name
|
|
116
|
+
.byte 14 ## DW_FORM_strp
|
|
117
|
+
.byte 62 ## DW_AT_encoding
|
|
118
|
+
.byte 11 ## DW_FORM_data1
|
|
119
|
+
.byte 11 ## DW_AT_byte_size
|
|
120
|
+
.byte 11 ## DW_FORM_data1
|
|
121
|
+
.byte 0 ## EOM(1)
|
|
122
|
+
.byte 0 ## EOM(2)
|
|
123
|
+
.byte 0 ## EOM(3)
|
|
124
|
+
.section __DWARF,__debug_info,regular,debug
|
|
125
|
+
Lsection_info:
|
|
126
|
+
Lcu_begin0:
|
|
127
|
+
.set Lset0, Ldebug_info_end0-Ldebug_info_start0 ## Length of Unit
|
|
128
|
+
.long Lset0
|
|
129
|
+
Ldebug_info_start0:
|
|
130
|
+
.short 4 ## DWARF version number
|
|
131
|
+
.set Lset1, Lsection_abbrev-Lsection_abbrev ## Offset Into Abbrev. Section
|
|
132
|
+
.long Lset1
|
|
133
|
+
.byte 8 ## Address Size (in bytes)
|
|
134
|
+
.byte 1 ## Abbrev [1] 0xb:0x57 DW_TAG_compile_unit
|
|
135
|
+
.long 0 ## DW_AT_producer
|
|
136
|
+
.short 4 ## DW_AT_language
|
|
137
|
+
.long 49 ## DW_AT_name
|
|
138
|
+
.long 59 ## DW_AT_LLVM_sysroot
|
|
139
|
+
.long 154 ## DW_AT_APPLE_sdk
|
|
140
|
+
.set Lset2, Lline_table_start0-Lsection_line ## DW_AT_stmt_list
|
|
141
|
+
.long Lset2
|
|
142
|
+
.long 165 ## DW_AT_comp_dir
|
|
143
|
+
.quad Lfunc_begin0 ## DW_AT_low_pc
|
|
144
|
+
.set Lset3, Lfunc_end0-Lfunc_begin0 ## DW_AT_high_pc
|
|
145
|
+
.long Lset3
|
|
146
|
+
.byte 2 ## Abbrev [2] 0x32:0x28 DW_TAG_subprogram
|
|
147
|
+
.quad Lfunc_begin0 ## DW_AT_low_pc
|
|
148
|
+
.set Lset4, Lfunc_end0-Lfunc_begin0 ## DW_AT_high_pc
|
|
149
|
+
.long Lset4
|
|
150
|
+
.byte 1 ## DW_AT_frame_base
|
|
151
|
+
.byte 86
|
|
152
|
+
.long 221 ## DW_AT_name
|
|
153
|
+
.byte 1 ## DW_AT_decl_file
|
|
154
|
+
.byte 1 ## DW_AT_decl_line
|
|
155
|
+
.long 90 ## DW_AT_type
|
|
156
|
+
## DW_AT_external
|
|
157
|
+
.byte 3 ## Abbrev [3] 0x4b:0xe DW_TAG_variable
|
|
158
|
+
.byte 2 ## DW_AT_location
|
|
159
|
+
.byte 145
|
|
160
|
+
.byte 120
|
|
161
|
+
.long 230 ## DW_AT_name
|
|
162
|
+
.byte 1 ## DW_AT_decl_file
|
|
163
|
+
.byte 3 ## DW_AT_decl_line
|
|
164
|
+
.long 90 ## DW_AT_type
|
|
165
|
+
.byte 0 ## End Of Children Mark
|
|
166
|
+
.byte 4 ## Abbrev [4] 0x5a:0x7 DW_TAG_base_type
|
|
167
|
+
.long 226 ## DW_AT_name
|
|
168
|
+
.byte 5 ## DW_AT_encoding
|
|
169
|
+
.byte 4 ## DW_AT_byte_size
|
|
170
|
+
.byte 0 ## End Of Children Mark
|
|
171
|
+
Ldebug_info_end0:
|
|
172
|
+
.section __DWARF,__debug_str,regular,debug
|
|
173
|
+
Linfo_string:
|
|
174
|
+
.asciz "Apple clang version 14.0.0 (clang-1400.0.29.102)" ## string offset=0
|
|
175
|
+
.asciz "index.cpp" ## string offset=49
|
|
176
|
+
.asciz "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk" ## string offset=59
|
|
177
|
+
.asciz "MacOSX.sdk" ## string offset=154
|
|
178
|
+
.asciz "/Users/yuta/programming/Typescript/UMT/package/main/lib" ## string offset=165
|
|
179
|
+
.asciz "main" ## string offset=221
|
|
180
|
+
.asciz "int" ## string offset=226
|
|
181
|
+
.asciz "x" ## string offset=230
|
|
182
|
+
.section __DWARF,__apple_names,regular,debug
|
|
183
|
+
Lnames_begin:
|
|
184
|
+
.long 1212240712 ## Header Magic
|
|
185
|
+
.short 1 ## Header Version
|
|
186
|
+
.short 0 ## Header Hash Function
|
|
187
|
+
.long 1 ## Header Bucket Count
|
|
188
|
+
.long 1 ## Header Hash Count
|
|
189
|
+
.long 12 ## Header Data Length
|
|
190
|
+
.long 0 ## HeaderData Die Offset Base
|
|
191
|
+
.long 1 ## HeaderData Atom Count
|
|
192
|
+
.short 1 ## DW_ATOM_die_offset
|
|
193
|
+
.short 6 ## DW_FORM_data4
|
|
194
|
+
.long 0 ## Bucket 0
|
|
195
|
+
.long 2090499946 ## Hash in Bucket 0
|
|
196
|
+
.set Lset5, LNames0-Lnames_begin ## Offset in Bucket 0
|
|
197
|
+
.long Lset5
|
|
198
|
+
LNames0:
|
|
199
|
+
.long 221 ## main
|
|
200
|
+
.long 1 ## Num DIEs
|
|
201
|
+
.long 50
|
|
202
|
+
.long 0
|
|
203
|
+
.section __DWARF,__apple_objc,regular,debug
|
|
204
|
+
Lobjc_begin:
|
|
205
|
+
.long 1212240712 ## Header Magic
|
|
206
|
+
.short 1 ## Header Version
|
|
207
|
+
.short 0 ## Header Hash Function
|
|
208
|
+
.long 1 ## Header Bucket Count
|
|
209
|
+
.long 0 ## Header Hash Count
|
|
210
|
+
.long 12 ## Header Data Length
|
|
211
|
+
.long 0 ## HeaderData Die Offset Base
|
|
212
|
+
.long 1 ## HeaderData Atom Count
|
|
213
|
+
.short 1 ## DW_ATOM_die_offset
|
|
214
|
+
.short 6 ## DW_FORM_data4
|
|
215
|
+
.long -1 ## Bucket 0
|
|
216
|
+
.section __DWARF,__apple_namespac,regular,debug
|
|
217
|
+
Lnamespac_begin:
|
|
218
|
+
.long 1212240712 ## Header Magic
|
|
219
|
+
.short 1 ## Header Version
|
|
220
|
+
.short 0 ## Header Hash Function
|
|
221
|
+
.long 1 ## Header Bucket Count
|
|
222
|
+
.long 0 ## Header Hash Count
|
|
223
|
+
.long 12 ## Header Data Length
|
|
224
|
+
.long 0 ## HeaderData Die Offset Base
|
|
225
|
+
.long 1 ## HeaderData Atom Count
|
|
226
|
+
.short 1 ## DW_ATOM_die_offset
|
|
227
|
+
.short 6 ## DW_FORM_data4
|
|
228
|
+
.long -1 ## Bucket 0
|
|
229
|
+
.section __DWARF,__apple_types,regular,debug
|
|
230
|
+
Ltypes_begin:
|
|
231
|
+
.long 1212240712 ## Header Magic
|
|
232
|
+
.short 1 ## Header Version
|
|
233
|
+
.short 0 ## Header Hash Function
|
|
234
|
+
.long 1 ## Header Bucket Count
|
|
235
|
+
.long 1 ## Header Hash Count
|
|
236
|
+
.long 20 ## Header Data Length
|
|
237
|
+
.long 0 ## HeaderData Die Offset Base
|
|
238
|
+
.long 3 ## HeaderData Atom Count
|
|
239
|
+
.short 1 ## DW_ATOM_die_offset
|
|
240
|
+
.short 6 ## DW_FORM_data4
|
|
241
|
+
.short 3 ## DW_ATOM_die_tag
|
|
242
|
+
.short 5 ## DW_FORM_data2
|
|
243
|
+
.short 4 ## DW_ATOM_type_flags
|
|
244
|
+
.short 11 ## DW_FORM_data1
|
|
245
|
+
.long 0 ## Bucket 0
|
|
246
|
+
.long 193495088 ## Hash in Bucket 0
|
|
247
|
+
.set Lset6, Ltypes0-Ltypes_begin ## Offset in Bucket 0
|
|
248
|
+
.long Lset6
|
|
249
|
+
Ltypes0:
|
|
250
|
+
.long 226 ## int
|
|
251
|
+
.long 1 ## Num DIEs
|
|
252
|
+
.long 90
|
|
253
|
+
.short 36
|
|
254
|
+
.byte 0
|
|
255
|
+
.long 0
|
|
256
|
+
.subsections_via_symbols
|
|
257
|
+
.section __DWARF,__debug_line,regular,debug
|
|
258
|
+
Lsection_line:
|
|
259
|
+
Lline_table_start0:
|
package/lib/Makefile
ADDED