Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
llvm-watermarker
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nagayama15
llvm-watermarker
Commits
3a938d16
Commit
3a938d16
authored
Nov 18, 2018
by
nagayama15
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
8ccビルド時の最適化を有効にして実験
parent
4738cf65
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
Makefile
example/8cc/Makefile
+4
-2
No files found.
example/8cc/Makefile
View file @
3a938d16
WATERMARK
:=
0
WATERMARK
:=
3
CC
:=
clang
CC
:=
clang
...
@@ -71,7 +71,7 @@ test/stage1-wm/%-wm.ll: test/stage1-wm/%.ll
...
@@ -71,7 +71,7 @@ test/stage1-wm/%-wm.ll: test/stage1-wm/%.ll
test/stage1-wm/%.ll
:
8cc/%.c
test/stage1-wm/%.ll
:
8cc/%.c
@
mkdir
-p
${
@D
}
@
mkdir
-p
${
@D
}
clang
-DBUILD_DIR
=
'"${PWD}/8cc"'
-o
$@
-emit-llvm
-S
$<
clang
-DBUILD_DIR
=
'"${PWD}/8cc"'
-
O2
-
o
$@
-emit-llvm
-S
$<
test/stage2-wm/%.o
:
8cc/%.c 8cc-stage1-wm
test/stage2-wm/%.o
:
8cc/%.c 8cc-stage1-wm
@
mkdir
-p
${
@D
}
@
mkdir
-p
${
@D
}
...
@@ -82,8 +82,10 @@ test/stage3-wm/%.o: 8cc/%.c 8cc-stage2-wm
...
@@ -82,8 +82,10 @@ test/stage3-wm/%.o: 8cc/%.c 8cc-stage2-wm
./8cc-stage2-wm
-DBUILD_DIR
=
'"${PWD}/8cc"'
-w
-o
$@
-c
$<
./8cc-stage2-wm
-DBUILD_DIR
=
'"${PWD}/8cc"'
-w
-o
$@
-c
$<
test
:
stage3 stage3-wm
test
:
stage3 stage3-wm
objdump
-D
8cc-stage1
>
stage1.s
objdump
-D
8cc-stage2
>
stage2.s
objdump
-D
8cc-stage2
>
stage2.s
objdump
-D
8cc-stage3
>
stage3.s
objdump
-D
8cc-stage3
>
stage3.s
objdump
-D
8cc-stage1-wm
>
stage1-wm.s
objdump
-D
8cc-stage2-wm
>
stage2-wm.s
objdump
-D
8cc-stage2-wm
>
stage2-wm.s
objdump
-D
8cc-stage3-wm
>
stage3-wm.s
objdump
-D
8cc-stage3-wm
>
stage3-wm.s
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment