libsanitizer mege from upstream r171973

Konstantin Serebryany konstantin.s.serebryany@gmail.com
Thu Jan 10 12:28:00 GMT 2013


On Thu, Jan 10, 2013 at 4:23 PM, Jakub Jelinek <jakub@redhat.com> wrote:
> On Thu, Jan 10, 2013 at 03:57:44PM +0400, Konstantin Serebryany wrote:
>> > That is not sufficient.  You can have PR_SET_NAME defined in the headers,
>> > but still the underlying kernel doesn't need to handle it.
>> >
>> Like this?
>> http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/tests/asan_test.cc?r1=172048&r2=172059&pathrev=172059&diff_format=h
>
> Yeah.  I wouldn't create a separate thread just to call prctl, I believe it
> should work even in the initial thread, doesn't it?  But perhaps you don't
> want to affect the name of the original testcase when running under gtest
> native.
Exactly.

Thanks!

--kcc

>
>         Jakub



More information about the Gcc-patches mailing list