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
2d1a478c
Commit
2d1a478c
authored
Nov 17, 2018
by
nagayama15
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
リンクエラーと警告を解決
parent
5cd32e7f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
Makefile
Makefile
+3
-2
BlockCounterPass.cpp
src/nykk/pass/BlockCounterPass.cpp
+1
-1
No files found.
Makefile
View file @
2d1a478c
...
@@ -8,7 +8,8 @@ CXXFLAGS := \
...
@@ -8,7 +8,8 @@ CXXFLAGS := \
-Wextra
\
-Wextra
\
-pedantic
\
-pedantic
\
-Werror
\
-Werror
\
${
LLVM_INCLUDE_DIRS
:%
=-I%
}
${
LLVM_INCLUDE_DIRS
:%
=-I%
}
\
-fPIC
LDFLAGS
:=
\
LDFLAGS
:=
\
$(
shell
llvm-config-6.0
--ldflags
)
\
$(
shell
llvm-config-6.0
--ldflags
)
\
...
@@ -38,4 +39,4 @@ test_pass: test/Test.o
...
@@ -38,4 +39,4 @@ test_pass: test/Test.o
${
CXX
}
${
CXXFLAGS
}
-shared
-o
$@
$^
${
LDFLAGS
}
${
CXX
}
${
CXXFLAGS
}
-shared
-o
$@
$^
${
LDFLAGS
}
clean
:
clean
:
${
RM
}
*
.so test_pass src/
*
/
*
.o
test
/
*
.o
${
RM
}
*
.so test_pass src/
*
/
*
.o
src/
*
/
*
/
*
.o
test
/
*
.o
src/nykk/pass/BlockCounterPass.cpp
View file @
2d1a478c
...
@@ -53,7 +53,7 @@ namespace
...
@@ -53,7 +53,7 @@ namespace
*
*
* @return ?
* @return ?
*/
*/
bool
doFinalization
(
llvm
::
Module
&
module
)
override
bool
doFinalization
(
[[
maybe_unused
]]
llvm
::
Module
&
module
)
override
{
{
module_name_
.
clear
();
module_name_
.
clear
();
...
...
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