Changeset View
Changeset View
Standalone View
Standalone View
llvm/test/Transforms/WholeProgramDevirt/vtable-decl.ll
; Check that we don't crash when processing declaration with type metadata | ; Check that we don't crash when processing declaration with type metadata | ||||
; RUN: opt -S -wholeprogramdevirt %s | ; RUN: opt -S -wholeprogramdevirt -whole-program-visibility %s | ||||
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" | target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" | ||||
target triple = "x86_64-none-linux-gnu" | target triple = "x86_64-none-linux-gnu" | ||||
declare i1 @llvm.type.test(i8*, metadata) | declare i1 @llvm.type.test(i8*, metadata) | ||||
declare void @llvm.assume(i1) | declare void @llvm.assume(i1) | ||||
@_ZTVN3foo3barE = external dso_local unnamed_addr constant { [8 x i8*] }, align 8, !type !0 | @_ZTVN3foo3barE = external dso_local unnamed_addr constant { [8 x i8*] }, align 8, !type !0 | ||||
Show All 15 Lines |