Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1477)

Issue 6475069: CMake build rules for ASan/Android runtime.

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 3 months ago by eugenis
Modified:
12 years, 3 months ago
CC:
llvm-commits_cs.uiuc.edu
Base URL:
https://llvm.org/svn/llvm-project/compiler-rt/trunk/
Visibility:
Public.

Patch Set 1 #

Total comments: 4

Patch Set 2 : , #

Patch Set 3 : , #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -0 lines) Patch
M CMakeLists.txt View 1 2 1 chunk +14 lines, -0 lines 0 comments Download
M lib/asan/CMakeLists.txt View 1 chunk +11 lines, -0 lines 0 comments Download
M lib/interception/CMakeLists.txt View 1 chunk +5 lines, -0 lines 0 comments Download
M lib/sanitizer_common/CMakeLists.txt View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 2
samsonov
LGTM http://codereview.appspot.com/6475069/diff/1/CMakeLists.txt File CMakeLists.txt (right): http://codereview.appspot.com/6475069/diff/1/CMakeLists.txt#newcode52 CMakeLists.txt:52: if(EXISTS ${LLVM_ANDROID_TOOLCHAIN_DIR}/lib/gcc/arm-linux-androideabi) Hm-m-m, does Android toolchain dir always ...
12 years, 3 months ago (2012-08-27 14:01:45 UTC) #1
Evgeniy Stepanov
12 years, 3 months ago (2012-08-27 14:18:24 UTC) #2
https://codereview.appspot.com/6475069/diff/1/CMakeLists.txt
File CMakeLists.txt (right):

https://codereview.appspot.com/6475069/diff/1/CMakeLists.txt#newcode52
CMakeLists.txt:52: if(EXISTS
${LLVM_ANDROID_TOOLCHAIN_DIR}/lib/gcc/arm-linux-androideabi)
On 2012/08/27 14:01:45, samsonov wrote:
> Hm-m-m, does Android toolchain dir always have
> lib/gcc/ in it, or it can sometimes have lib/clang/?
> That is, do we need separate CMake variable for this path?

In the distant future we can, theoretically, lose lib/gcc. This is something
Clang driver must detect.

I've changed the path to something that does not mention gcc.

https://codereview.appspot.com/6475069/diff/1/CMakeLists.txt#newcode60
CMakeLists.txt:60: # TODO: support i686 and MIPS Android toolchains
On 2012/08/27 14:01:45, samsonov wrote:
> Maybe you can add set(CAN_TARGET_ARM_ANDROID 0) to elseif()?

Done.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b