[PATCH] D28359: [compiler-rt] Use common static library for sanitizer_common.

Mike Aizatsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 5 13:24:01 PST 2017


aizatsky added a comment.

This is all about code duplication, right? When you use static libraries - linking gives you an error. When you use dynamic libraries the code is still duplicated, right? Each .so file will still have its own copy of common functions and data. But loader will just pick the first version.

I say: let's straighten this up for .so files as well. At least we'll have a consistent picture for static/shared runtimes.


Repository:
  rL LLVM

https://reviews.llvm.org/D28359





More information about the llvm-commits mailing list