[PATCH] D25026: [asan] Move instrumented null-terminated strings to a special section

Filipe Cabecinhas via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 21 03:25:35 PDT 2016


filcab added inline comments.


================
Comment at: projects/compiler-rt/test/asan/TestCases/Darwin/odr-lto.cc:6
 
-// RUN: %clangxx_asan -DPART=0 -c %s -o %t-1.o -flto
-// RUN: %clangxx_asan -DPART=1 -c %s -o %t-2.o -flto
-// RUN: %clangxx_asan %t-1.o %t-2.o -o %t -flto
-// RUN: not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-ODR
-
 // RUN: %clangxx_asan -DPART=0 -c %s -o %t-1.o -flto -mllvm -asan-use-private-alias
 // RUN: %clangxx_asan -DPART=1 -c %s -o %t-2.o -flto -mllvm -asan-use-private-alias
----------------
What happened here? There's no error any more? Do we still need to use `-asan-use-private-alias`, etc?



https://reviews.llvm.org/D25026





More information about the llvm-commits mailing list