18 lines · plain
1; Check that we correctly handle the case where we have inline asm and the2; target is not registered. In this case we shouldn't emit an irsymtab.3 4; RUN: llvm-as -o %t %s5; RUN: llvm-bcanalyzer -dump %t | FileCheck --check-prefix=AS %s6 7; AS-NOT: <SYMTAB_BLOCK8 9; RUN: opt -o %t2 %s10; RUN: llvm-bcanalyzer -dump %t2 | FileCheck --check-prefix=OPT %s11 12; OPT: <SYMTAB_BLOCK13 14target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"15target triple = "x86_64-unknown-linux-gnu"16 17module asm "ret"18