Davide Italiano | 967cb19 | 2018-02-23 18:04:55 +0000 | [diff] [blame^] | 1 | // REQUIRES: system-darwin |
| 2 | // Test that clang produces the __apple accelerator tables, |
| 3 | // e.g., __apple_types, correctly. |
| 4 | // RUN: %clang %s %target_itanium_abi_host_triple -O0 -c -g -o %t-ex |
| 5 | // RUN: llvm-objdump -section-headers %t-ex | FileCheck %s |
| 6 | |
| 7 | int main (int argc, char const *argv[]) { return argc; } |
| 8 | |
| 9 | // CHECK: __debug_str |
| 10 | // CHECK-NEXT: __debug_abbrev |
| 11 | // CHECK-NEXT: __debug_info |
| 12 | // CHECK-NEXT: __debug_ranges |
| 13 | // CHECK-NEXT: __debug_macinfo |
| 14 | // CHECK-NEXT: __apple_names |
| 15 | // CHECK-NEXT: __apple_objc |
| 16 | // CHECK-NEXT: __apple_namespac |
| 17 | // CHECK-NEXT: __apple_types |