diff options
| author | Mehdi Amini <mehdi.amini@apple.com> | 2017-01-06 23:18:09 +0000 |
|---|---|---|
| committer | Mehdi Amini <mehdi.amini@apple.com> | 2017-01-06 23:18:09 +0000 |
| commit | 7f873070c4b60ed1854caea29788603a630c4621 (patch) | |
| tree | 9e8b6dd6d8c2ee6986a518377d5ee191753c8e45 /clang/test | |
| parent | 25657e8c5d47e2bf9a79c265b47e8f8906b9882f (diff) | |
| download | bcm5719-llvm-7f873070c4b60ed1854caea29788603a630c4621.tar.gz bcm5719-llvm-7f873070c4b60ed1854caea29788603a630c4621.zip | |
Add a cc1 option to force disabling lifetime-markers emission from clang
Summary: This intended as a debugging/development flag only.
Differential Revision: https://reviews.llvm.org/D28385
llvm-svn: 291300
Diffstat (limited to 'clang/test')
| -rw-r--r-- | clang/test/CodeGen/lifetime2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/CodeGen/lifetime2.c b/clang/test/CodeGen/lifetime2.c index 0d22282fdd4..4374b3c279c 100644 --- a/clang/test/CodeGen/lifetime2.c +++ b/clang/test/CodeGen/lifetime2.c @@ -1,4 +1,6 @@ // RUN: %clang -S -emit-llvm -o - -O2 %s | FileCheck %s -check-prefixes=CHECK,O2 +// RUN: %clang -S -emit-llvm -o - -O2 -Xclang -disable-lifetime-markers %s \ +// RUN: | FileCheck %s -check-prefixes=CHECK,O0 // RUN: %clang -S -emit-llvm -o - -O0 %s | FileCheck %s -check-prefixes=CHECK,O0 extern int bar(char *A, int n); |

