[compiler-rt] r266931 - [asan] Add __strdup interceptor.

Evgenii Stepanov via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 21 11:05:40 PDT 2016


Hi,

it's hard to say w/o seeing the full output, but it looks like the
allocation stack trace is
 #0 0x60e8f in strdup
/home/linaro/buildbot/clang-cmake-armv7-a15-full/llvm/projects/compiler-rt/lib/asan/asan_interceptors.cc:560
  #1 0xe9e1f in _fini
(/home/linaro/buildbot/clang-cmake-armv7-a15-full/stage1/projects/compiler-rt/test/asan/ARMHFLinuxConfig/TestCases/Output/strdup_oob_test.cc.tmp+0xe9e1f)

which does not make any sense. This problem can't be reproduced on
arm-android. I can add an UNSUPPORTED line
(armv7l-unknown-linux-gnueabihf, is it?), but it looks like a genuine
problem with stack unwinding on arm.

On Thu, Apr 21, 2016 at 2:56 AM, Renato Golin <renato.golin at linaro.org> wrote:
> On 20 April 2016 at 23:45, Evgeniy Stepanov via llvm-commits
> <llvm-commits at lists.llvm.org> wrote:
>> Author: eugenis
>> Date: Wed Apr 20 17:45:23 2016
>> New Revision: 266931
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=266931&view=rev
>> Log:
>> [asan] Add __strdup interceptor.
>>
>> This happens on Linux when building as C (not C++) with optimization.
>
> Hi,
>
> This broke our build bot:
>
> http://lab.llvm.org:8011/builders/clang-cmake-armv7-a15-full/builds/11612
>
> cheers,
> --renato


More information about the llvm-commits mailing list