16 lines · plain
1; Check that we do not create an irsymtab for modules with malformed IR.2 3; RUN: opt -o %t %s4; RUN: llvm-bcanalyzer -dump %t | FileCheck %s5 6; CHECK-NOT: <SYMTAB_BLOCK7 8target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"9target triple = "x86_64-unknown-linux-gnu"10 11@g1 = global i32 112@g2 = global i32 213 14@a = alias i32, inttoptr(i32 sub (i32 ptrtoint (ptr @g1 to i32),15 i32 ptrtoint (ptr @g2 to i32)) to ptr)16