[compiler-rt] r268114 - Try to fix clang-cmake-aarch64-42vma by removing a memory leak (have a global var capture it).
Kostya Serebryany via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 29 16:36:14 PDT 2016
Please also fix the leak(s) in this test:
http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux/builds/23751/steps/check-asan%20in%20gcc%20build/logs/stdio
On Fri, Apr 29, 2016 at 2:33 PM, Filipe Cabecinhas via llvm-commits <
llvm-commits at lists.llvm.org> wrote:
> Author: filcab
> Date: Fri Apr 29 16:33:12 2016
> New Revision: 268114
>
> URL: http://llvm.org/viewvc/llvm-project?rev=268114&view=rev
> Log:
> Try to fix clang-cmake-aarch64-42vma by removing a memory leak (have a
> global var capture it).
>
> Modified:
> compiler-rt/trunk/test/asan/TestCases/invalid-pointer-pairs.cc
>
> Modified: compiler-rt/trunk/test/asan/TestCases/invalid-pointer-pairs.cc
> URL:
> http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/invalid-pointer-pairs.cc?rev=268114&r1=268113&r2=268114&view=diff
>
> ==============================================================================
> --- compiler-rt/trunk/test/asan/TestCases/invalid-pointer-pairs.cc
> (original)
> +++ compiler-rt/trunk/test/asan/TestCases/invalid-pointer-pairs.cc Fri Apr
> 29 16:33:12 2016
> @@ -8,11 +8,12 @@
> #include <assert.h>
> #include <stdlib.h>
>
> +char *p;
> int main(int argc, char **argv) {
> // ALL-ERRORS: ERROR: AddressSanitizer: invalid-pointer-pair
> // [[PTR1:0x[0-9a-f]+]] [[PTR2:0x[0-9a-f]+]]
> assert(argc >= 2);
> - char *p = (char *)malloc(42);
> + p = (char *)malloc(42);
> char *q = (char *)malloc(42);
> switch (argv[1][0]) {
> case 'g':
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160429/6b584649/attachment.html>
More information about the llvm-commits
mailing list