[llvm-bugs] [Bug 24503] New: FAIL: LeakSanitizer-AddressSanitizer :: TestCases/stale_stack_leak.cc
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Aug 19 10:47:34 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=24503
Bug ID: 24503
Summary: FAIL: LeakSanitizer-AddressSanitizer ::
TestCases/stale_stack_leak.cc
Product: new-bugs
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: hjl.tools at gmail.com
CC: eugeni.stepanov at gmail.com, llvm-bugs at lists.llvm.org
Classification: Unclassified
On Fedora 22/x86-64, commit:
254fc49ce2a8fe1e9345db901dbebf9d30150e2 is the first bad commit
commit f254fc49ce2a8fe1e9345db901dbebf9d30150e2
Author: Evgeniy Stepanov <eugeni.stepanov at gmail.com>
Date: Tue Aug 18 20:36:11 2015 +0000
[sanitizer] Add -lutil to static runtime link flags.
This is needed to prevent breakage of -Wl,-as-needed link when
interceptors for functions in libutil are added. See PR15823.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@245344
91177308-0d34-0410-b5e6-96231b3b80d8
caused:
FAIL: LeakSanitizer-AddressSanitizer :: TestCases/stale_stack_leak.cc (24667 of
25822)
******************** TEST 'LeakSanitizer-AddressSanitizer ::
TestCases/stale_stack_leak.cc' FAILED ********************
Script:
--
LSAN_BASE="report_objects=1:use_registers=0:use_stacks=1"
/export/build/gnu/llvm-clang-bootstrap-cmake/stage1/build-x86_64-linux/./bin/clang
--driver-mode=g++ -O0 -m64 -gline-tables-only -fsanitize=address
/export/gnu/import/git/llvm/projects/compiler-rt/test/lsan/TestCases/stale_stack_leak.cc
-o
/export/build/gnu/llvm-clang-bootstrap-cmake/stage1/build-x86_64-linux/projects/compiler-rt/test/lsan/AsanConfig/TestCases/Output/stale_stack_leak.cc.tmp
LSAN_OPTIONS=$LSAN_BASE not
/export/build/gnu/llvm-clang-bootstrap-cmake/stage1/build-x86_64-linux/projects/compiler-rt/test/lsan/AsanConfig/TestCases/Output/stale_stack_leak.cc.tmp
2>&1 | FileCheck
/export/gnu/import/git/llvm/projects/compiler-rt/test/lsan/TestCases/stale_stack_leak.cc
LSAN_OPTIONS=$LSAN_BASE":exitcode=0"
/export/build/gnu/llvm-clang-bootstrap-cmake/stage1/build-x86_64-linux/projects/compiler-rt/test/lsan/AsanConfig/TestCases/Output/stale_stack_leak.cc.tmp
2>&1 | FileCheck --check-prefix=CHECK-sanity
/export/gnu/import/git/llvm/projects/compiler-rt/test/lsan/TestCases/stale_stack_leak.cc
--
Exit Code: 1
Command Output (stderr):
--
/export/gnu/import/git/llvm/projects/compiler-rt/test/lsan/TestCases/stale_stack_leak.cc:40:11:
error: expected string not found in input
// CHECK: LeakSanitizer: detected memory leaks
^
<stdin>:2:1: note: scanning from here
Value after LSan: 0x61a00001f280.
^
<stdin>:2:4: note: possible intended match here
Value after LSan: 0x61a00001f280.
^
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150819/4015786d/attachment-0001.html>
More information about the llvm-bugs
mailing list