File tree 12 files changed +1370
-1
lines changed
12 files changed +1370
-1
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ add_subdirectory(clang-apply-replacements)
2
2
add_subdirectory (clang-modernize)
3
3
add_subdirectory (clang-tidy)
4
4
add_subdirectory (modularize)
5
+ add_subdirectory (pp-trace)
5
6
add_subdirectory (remove-cstr-calls)
6
7
add_subdirectory (tool-template)
7
8
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ CLANG_LEVEL := ../..
11
11
12
12
include $(CLANG_LEVEL ) /../../Makefile.config
13
13
14
- PARALLEL_DIRS := remove-cstr-calls tool-template modularize
14
+ PARALLEL_DIRS := remove-cstr-calls tool-template modularize pp-trace
15
15
DIRS := clang-apply-replacements clang-modernize clang-tidy unittests
16
16
17
17
include $(CLANG_LEVEL ) /Makefile
Original file line number Diff line number Diff line change
1
+ set (LLVM_LINK_COMPONENTS
2
+ ${LLVM_TARGETS_TO_BUILD}
3
+ asmparser
4
+ support
5
+ mc
6
+ )
7
+
8
+ add_clang_executable(pp-trace
9
+ PPTrace.cpp
10
+ PPCallbacksTracker.cpp
11
+ )
12
+
13
+ target_link_libraries (pp-trace
14
+ clangLex
15
+ clangParse
16
+ clangSema
17
+ clangTooling
18
+ )
Original file line number Diff line number Diff line change
1
+ # #===- extra/pp-trace/Makefile --------------------------*- Makefile -*---===##
2
+ #
3
+ # The LLVM Compiler Infrastructure
4
+ #
5
+ # This file is distributed under the University of Illinois Open Source
6
+ # License. See LICENSE.TXT for details.
7
+ #
8
+ # #===---------------------------------------------------------------------===##
9
+
10
+ CLANG_LEVEL := ../../..
11
+
12
+ TOOLNAME = pp-trace
13
+
14
+ # No plugins, optimize startup time.
15
+ TOOL_NO_EXPORTS = 1
16
+
17
+ LINK_COMPONENTS := mcparser bitreader support mc option TransformUtils
18
+ USEDLIBS = clangFrontend.a clangSerialization.a clangDriver.a \
19
+ clangTooling.a clangParse.a clangSema.a clangAnalysis.a \
20
+ clangEdit.a clangAST.a clangLex.a clangBasic.a
21
+
22
+ include $(CLANG_LEVEL ) /Makefile
You can’t perform that action at this time.
0 commit comments