forked from llvm-mirror/llvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ASan] Add llvm-symbolizer from to tools/
This is the second and last (2/2) part of a change that moves llvm-symbolizer to llvm/tools/, which will allow to build it with both cmake and configure+make. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167723 91177308-0d34-0410-b5e6-96231b3b80d8
- Loading branch information
1 parent
9a5f90a
commit f41954b
Showing
5 changed files
with
413 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# FIXME: As we plan to execute llvm-symbolizer binary from compiler-rt | ||
# libraries, it has to be compiled for all supported targets (x86_64, i386 etc). | ||
# This means that we need LLVM libraries to be compiled for these | ||
# targets as well. Currently, there is no support for such a build strategy. | ||
|
||
set(LLVM_LINK_COMPONENTS | ||
DebugInfo | ||
Object | ||
) | ||
|
||
add_llvm_tool(llvm-symbolizer | ||
llvm-symbolizer.cpp | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
##===- tools/llvm-symbolizer/Makefile ----------------------*- Makefile -*-===## | ||
# | ||
# The LLVM Compiler Infrastructure | ||
# | ||
# This file is distributed under the University of Illinois Open Source | ||
# License. See LICENSE.TXT for details. | ||
# | ||
##===----------------------------------------------------------------------===## | ||
|
||
LEVEL := ../.. | ||
TOOLNAME := llvm-symbolizer | ||
LINK_COMPONENTS := DebugInfo Object | ||
|
||
# This tool has no plugins, optimize startup time. | ||
TOOL_NO_EXPORTS := 1 | ||
|
||
include $(LEVEL)/Makefile.common |
Oops, something went wrong.