mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-24 14:05:49 -04:00

It already specifies the triples, so the intention was to test x86 for now (or then). Differential Revision: https://reviews.llvm.org/D33692 llvm-svn: 304501
15 lines
721 B
C
15 lines
721 B
C
// REQUIRES: x86-registered-target
|
|
//
|
|
// RUN: %clang_cc1 -o %t -flto=thin -fthin-link-bitcode=%t.nodebug -triple x86_64-unknown-linux-gnu -emit-llvm-bc -debug-info-kind=limited %s
|
|
// RUN: llvm-bcanalyzer -dump %t | FileCheck %s
|
|
// RUN: llvm-bcanalyzer -dump %t.nodebug | FileCheck %s --check-prefix=NO_DEBUG
|
|
// RUN: %clang_cc1 -o %t.newpm -flto=thin -fexperimental-new-pass-manager -fthin-link-bitcode=%t.newpm.nodebug -triple x86_64-unknown-linux-gnu -emit-llvm-bc -debug-info-kind=limited %s
|
|
// RUN: llvm-bcanalyzer -dump %t.newpm | FileCheck %s
|
|
// RUN: llvm-bcanalyzer -dump %t.newpm.nodebug | FileCheck %s --check-prefix=NO_DEBUG
|
|
int main (void) {
|
|
return 0;
|
|
}
|
|
|
|
// CHECK: COMPILE_UNIT
|
|
// NO_DEBUG-NOT: COMPILE_UNIT
|