Mercurial > hg > CbC > CbC_llvm
comparison llvm/test/Instrumentation/AddressSanitizer/global_addrspace.ll @ 207:2e18cbf3894f
LLVM12
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 08 Jun 2021 06:07:14 +0900 |
parents | 1d019706d866 |
children | c4bab56944e8 |
comparison
equal
deleted
inserted
replaced
173:0572611fdcc8 | 207:2e18cbf3894f |
---|---|
1 ; Only verify that asan don't crash on global variables of different | 1 ; Only verify that asan don't crash on global variables of different |
2 ; address space. The global variable should be unmodified by asan. | 2 ; address space. The global variable should be unmodified by asan. |
3 | 3 |
4 ; RUN: opt < %s -asan -asan-module -S | FileCheck %s | 4 ; RUN: opt < %s -asan -asan-module -enable-new-pm=0 -S | FileCheck %s |
5 ; RUN: opt < %s -passes='asan-pipeline' -S | FileCheck %s | |
5 | 6 |
6 target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" | 7 target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" |
7 target triple = "x86_64-unknown-linux-gnu" | 8 target triple = "x86_64-unknown-linux-gnu" |
8 | 9 |
9 @a = internal addrspace(42) global [1 x i32] zeroinitializer, align 4 | 10 @a = internal addrspace(42) global [1 x i32] zeroinitializer, align 4 |