Skip to content

Commit a4c38e6

Browse files
committed
1 parent e8e0569 commit a4c38e6

File tree

7 files changed

+684
-3
lines changed

7 files changed

+684
-3
lines changed

tools/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ add_subdirectory(llvm-mcmarkup)
4343

4444
add_subdirectory(llvm-symbolizer)
4545
add_subdirectory(pnacl-abicheck)
46+
add_subdirectory(pnacl-bcanalyzer)
4647
add_subdirectory(pnacl-freeze)
4748
add_subdirectory(pnacl-thaw)
4849
add_subdirectory(bc-wrap)

tools/LLVMBuild.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
;===------------------------------------------------------------------------===;
1717

1818
[common]
19-
subdirectories = bugpoint llc lli llvm-ar llvm-as llvm-bcanalyzer llvm-cov llvm-diff llvm-dis llvm-dwarfdump llvm-extract llvm-jitlistener llvm-link llvm-mc llvm-nm llvm-objdump llvm-prof llvm-ranlib llvm-rtdyld llvm-size macho-dump opt llvm-mcmarkup pnacl-abicheck pnacl-freeze
19+
subdirectories = bugpoint llc lli llvm-ar llvm-as llvm-bcanalyzer llvm-cov llvm-diff llvm-dis llvm-dwarfdump llvm-extract llvm-jitlistener llvm-link llvm-mc llvm-nm llvm-objdump llvm-prof llvm-ranlib llvm-rtdyld llvm-size macho-dump opt llvm-mcmarkup pnacl-abicheck pnacl-bcanalyzer pnacl-freeze pnacl-thaw
2020

2121
[component_0]
2222
type = Group

tools/Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@ PARALLEL_DIRS := opt llvm-as llvm-dis \
3434
bugpoint llvm-bcanalyzer \
3535
llvm-diff macho-dump llvm-objdump llvm-readobj \
3636
llvm-rtdyld llvm-dwarfdump llvm-cov \
37-
llvm-size llvm-stress llvm-mcmarkup bc-wrap pso-stub \
38-
llvm-symbolizer pnacl-abicheck pnacl-freeze pnacl-thaw
37+
llvm-size llvm-stress llvm-mcmarkup bc-wrap pso-stub \
38+
llvm-symbolizer pnacl-abicheck pnacl-bcanalyzer pnacl-freeze \
39+
pnacl-thaw
3940

4041
# If Intel JIT Events support is configured, build an extra tool to test it.
4142
ifeq ($(USE_INTEL_JITEVENTS), 1)

tools/pnacl-bcanalyzer/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
set(LLVM_LINK_COMPONENTS naclbitreader)
2+
3+
add_llvm_tool(pnacl-bcanalyzer
4+
pnacl-bcanalyzer.cpp
5+
)

tools/pnacl-bcanalyzer/LLVMBuild.txt

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
;===- ./tools/pnacl-bcanalyzer/LLVMBuild.txt -------------------*- Conf -*--===;
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+
; This is an LLVMBuild description file for the components in this subdirectory.
11+
;
12+
; For more information on the LLVMBuild system, please see:
13+
;
14+
; http://llvm.org/docs/LLVMBuild.html
15+
;
16+
;===------------------------------------------------------------------------===;
17+
18+
[component_0]
19+
type = Tool
20+
name = pnacl-bcanalyzer
21+
parent = Tools
22+
required_libraries = NaClBitReader

tools/pnacl-bcanalyzer/Makefile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
##===- tools/pnacl-bcanalyzer/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+
LEVEL := ../..
11+
TOOLNAME := pnacl-bcanalyzer
12+
LINK_COMPONENTS := naclbitreader
13+
14+
# This tool has no plugins, optimize startup time.
15+
TOOL_NO_EXPORTS := 1
16+
17+
include $(LEVEL)/Makefile.common

0 commit comments

Comments
 (0)