[llvm-commits] [Sanitizer] PATCH: Enable CMake build of llvm-symbolizer used by sanitizer tools

Alexey Samsonov samsonov at google.com
Fri Aug 24 07:39:01 PDT 2012


Hi!

We have a draft binary of symbolizer that uses LLVM libs checked in at
//projects/compiler-rt/lib/sanitizer-common/llvm-symbolizer,
and we need to compile it for targets where ASan is supported. This means
that we have to compile LLVM libraries
for these targets as well to link with them.

I've added a function that allows us to write smth. like:
append_llvm_sources(SYMBOLIZER_SOURCES LLVMDebugInfo LLVMSupport LLVMObject)

Chandler, could you take a look if this is fine (and legal) to do hack like
this?

Code review: http://codereview.appspot.com/6486059/

-- 
Alexey Samsonov, MSK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120824/7aed3fd5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: issue6486059_2001.diff
Type: application/octet-stream
Size: 4089 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120824/7aed3fd5/attachment.obj>


More information about the llvm-commits mailing list