aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/as-secure-log-file.c
blob: 1b753407d4cd3bdc5ba3ed517d7da8ae6ac02604 (plain)
1
2
3
4
5
6
7
8
9
// REQUIRES: x86-registered-target

// RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-obj %s -o %t.o -as-secure-log-file %t.log
// RUN: FileCheck %s -input-file %t.log
// CHECK: "foobar"

void test(void) {
  __asm__(".secure_log_unique \"foobar\"");
}