1; Check that we do not create an irsymtab for modules with malformed IR. 2 3; RUN: opt -o %t %s 4; RUN: llvm-bcanalyzer -dump %t | FileCheck %s 5 6; CHECK-NOT: <SYMTAB_BLOCK 7 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 1 12@g2 = global i32 2 13 14@a = alias i32, inttoptr(i32 sub (i32 ptrtoint (i32* @g1 to i32), 15 i32 ptrtoint (i32* @g2 to i32)) to i32*) 16