Please use GitHub pull requests for new patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
llvm/test/Instrumentation/AddressSanitizer/str-nobuiltin.ll
; Test marking string functions as nobuiltin in address sanitizer. | ; Test marking string functions as nobuiltin in address sanitizer. | ||||
; | ; | ||||
; RUN: opt < %s -asan -S | FileCheck %s | ; RUN: %opt_asan < %s -asan -S | FileCheck %s | ||||
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64" | target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64" | ||||
target triple = "x86_64-unknown-linux-gnu" | target triple = "x86_64-unknown-linux-gnu" | ||||
declare i8* @memchr(i8* %a, i32 %b, i64 %c) | declare i8* @memchr(i8* %a, i32 %b, i64 %c) | ||||
declare i32 @memcmp(i8* %a, i8* %b, i64 %c) | declare i32 @memcmp(i8* %a, i8* %b, i64 %c) | ||||
declare i32 @strcmp(i8* %a, i8* %b) | declare i32 @strcmp(i8* %a, i8* %b) | ||||
declare i8* @strcpy(i8* %a, i8* %b) | declare i8* @strcpy(i8* %a, i8* %b) | ||||
declare i8* @stpcpy(i8* %a, i8* %b) | declare i8* @stpcpy(i8* %a, i8* %b) | ||||
Show All 22 Lines |