| 1 |
// REQUIRES: x86-registered-target |
| 2 |
|
| 3 |
// RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-obj %s -o %t.o -as-secure-log-file %t.log |
| 4 |
// RUN: FileCheck %s -input-file %t.log |
| 5 |
// CHECK: "foobar" |
| 6 |
|
| 7 |
void test(void) { |
| 8 |
__asm__(".secure_log_unique \"foobar\""); |
| 9 |
} |