| Puyan Lotfi | 8df7f1a | 2019-06-17 22:46:54 +0000 | [diff] [blame] | 1 | // RUN: %clang -target x86_64-unknown-linux-gnu -o - -emit-interface-stubs \ | 
|  | 2 | // RUN: -interface-stub-version=experimental-tapi-elf-v1 %s | \ | 
|  | 3 | // RUN: FileCheck -check-prefix=CHECK-TAPI %s | 
|  | 4 |  | 
|  | 5 | // RUN: %clang -target x86_64-unknown-linux-gnu -o - -emit-interface-stubs \ | 
|  | 6 | // RUN: -interface-stub-version=experimental-tapi-elf-v1 %s | \ | 
|  | 7 | // RUN: FileCheck -check-prefix=CHECK-SYMBOLS %s | 
|  | 8 | // RUN: %clang -target x86_64-unknown-linux-gnu -o - -c %s | llvm-nm - 2>&1 | \ | 
|  | 9 | // RUN: FileCheck -check-prefix=CHECK-SYMBOLS %s | 
|  | 10 |  | 
|  | 11 | // CHECK-TAPI: data: { Type: Object, Size: 4 } | 
|  | 12 | // CHECK-SYMBOLS: data | 
|  | 13 | int data = 42; |