Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kirill Smelkov
bpftrace
Commits
0d7561dd
Commit
0d7561dd
authored
8 years ago
by
Alastair Robertson
Browse files
Options
Download
Email Patches
Plain Diff
Rename files codegen.* -> codegen_llvm.*
parent
d6922022
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
3 deletions
+3
-3
src/CMakeLists.txt
src/CMakeLists.txt
+1
-1
src/codegen_llvm.cpp
src/codegen_llvm.cpp
+1
-1
src/codegen_llvm.h
src/codegen_llvm.h
+0
-0
src/driver.cpp
src/driver.cpp
+1
-1
No files found.
src/CMakeLists.txt
View file @
0d7561dd
...
...
@@ -13,7 +13,7 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR})
include_directories
(
${
LLVM_INCLUDE_DIRS
}
)
add_definitions
(
${
LLVM_DEFINITIONS
}
)
add_executable
(
bpftrace main.cpp driver.cpp parser.tab.cc lex.yy.cc ast.cpp printer.cpp codegen.cpp map.cpp
)
add_executable
(
bpftrace main.cpp driver.cpp parser.tab.cc lex.yy.cc ast.cpp printer.cpp codegen
_llvm
.cpp map.cpp
)
llvm_map_components_to_libnames
(
llvm_libs irreader bpfcodegen mcjit
)
target_link_libraries
(
bpftrace
${
llvm_libs
}
)
This diff is collapsed.
Click to expand it.
src/codegen.cpp
→
src/codegen
_llvm
.cpp
View file @
0d7561dd
#include "codegen.h"
#include "codegen
_llvm
.h"
#include "ast.h"
#include "parser.tab.hh"
...
...
This diff is collapsed.
Click to expand it.
src/codegen.h
→
src/codegen
_llvm
.h
View file @
0d7561dd
File moved
This diff is collapsed.
Click to expand it.
src/driver.cpp
View file @
0d7561dd
...
...
@@ -3,7 +3,7 @@
#include "driver.h"
#include "printer.h"
#include "codegen.h"
#include "codegen
_llvm
.h"
#include <llvm/Support/TargetRegistry.h>
...
...
This diff is collapsed.
Click to expand it.
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