[compiler-rt] r200686 - [sanitizer] Resubmit r200683: disable -ffunction-sections.
Alexey Samsonov
samsonov at google.com
Tue Feb 4 00:34:11 PST 2014
Does r200746 helps with that?
On Tue, Feb 4, 2014 at 1:41 AM, Justin Bogner <mail at justinbogner.com> wrote:
> Evgeniy Stepanov <eugeni.stepanov at gmail.com> writes:
> > [sanitizer] Resubmit r200683: disable -ffunction-sections.
> >
> > Added:
> >
> compiler-rt/trunk/lib/asan/lit_tests/TestCases/Linux/function-sections-are-bad.cc
> > (with props)
> > Modified:
> > compiler-rt/trunk/CMakeLists.txt
> >
> > Modified: compiler-rt/trunk/CMakeLists.txt
> > URL:
> >
> http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/CMakeLists.txt?rev=200686&r1=200685&r2=200686&view=diff==============================================================================
> > --- compiler-rt/trunk/CMakeLists.txt (original)
> > +++ compiler-rt/trunk/CMakeLists.txt Mon Feb 3 05:16:41 2014
> > @@ -142,6 +142,7 @@ if (NOT MSVC)
> > -fno-stack-protector
> > -Wno-gnu # Variadic macros with 0 arguments for ...
> > -fvisibility=hidden
> > + -fno-function-sections
> > )
> > if (NOT COMPILER_RT_DEBUG)
> > list(APPEND SANITIZER_COMMON_CFLAGS -O3)
>
> This breaks the build with -WERROR when building with clang (unless it's
> ToT), and spews warnings without -WERROR.
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
--
Alexey Samsonov, MSK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140204/800289e1/attachment.html>
More information about the llvm-commits
mailing list