xref: /llvm-project/llvm/test/Object/X86/irsymtab-asm.ll (revision 92648c25a451bbb547ea22a88481bef9526d727b)
1; Check that we correctly handle the case where we have inline asm and the
2; target is not registered. In this case we shouldn't emit an irsymtab.
3
4; RUN: llvm-as -o %t %s
5; RUN: llvm-bcanalyzer -dump %t | FileCheck --check-prefix=AS %s
6
7; AS-NOT: <SYMTAB_BLOCK
8
9; RUN: opt -o %t2 %s
10; RUN: llvm-bcanalyzer -dump %t2 | FileCheck --check-prefix=OPT %s
11
12; OPT: <SYMTAB_BLOCK
13
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