[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / CodeGen / thinlto-distributed-backend-skip.ll
blobd7b8225ee2693db7ae5e4b2073752e20fe9da7ca
1 ; REQUIRES: x86-registered-target
3 ; Check that ThinLTO backend respects "SkipModuleByDistributedBackend"
4 ; flag which can be set by indexing.
6 ; RUN: opt -thinlto-bc -o %t.o %s
8 ; RUN: %clang_cc1 -triple x86_64-grtev4-linux-gnu \
9 ; RUN:   -fthinlto-index=%S/Inputs/thinlto-distributed-backend-skip.bc \
10 ; RUN:   -emit-llvm -o - -x ir %t.o | FileCheck %s
12 target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
13 target triple = "x86_64-grtev4-linux-gnu"
15 ; CHECK: "empty"
16 ; CHECK: target triple =
17 ; CHECK-NOT: @main
18 define i32 @main() {
19 entry:
20   ret i32 0