diff options
| author | Nico Weber <thakis@chromium.org> | 2020-01-10 19:18:11 -0500 |
|---|---|---|
| committer | Nico Weber <thakis@chromium.org> | 2020-01-10 19:20:51 -0500 |
| commit | 44e0daf16e6985eb44ea9a629402852dbff9cb0b (patch) | |
| tree | 1a0370d63b678bd4a81ea2408969a2a9516e0747 /clang/test/CodeGen | |
| parent | 9a6f4d451ca7aa06b94a407015fbadb456bc09ef (diff) | |
| download | bcm5719-llvm-44e0daf16e6985eb44ea9a629402852dbff9cb0b.tar.gz bcm5719-llvm-44e0daf16e6985eb44ea9a629402852dbff9cb0b.zip | |
driver: Allow -fdebug-compilation-dir=foo in joined form.
All 130+ f_Group flags that take an argument allow it after a '=',
except for fdebug-complation-dir. Add a Joined<> alias so that
it behaves consistently with all the other f_Group flags.
(Keep the old Separate flag for backwards compat.)
Diffstat (limited to 'clang/test/CodeGen')
| -rw-r--r-- | clang/test/CodeGen/debug-info-compilation-dir.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/CodeGen/debug-info-compilation-dir.c b/clang/test/CodeGen/debug-info-compilation-dir.c index 786d23556de..b49a0f5751f 100644 --- a/clang/test/CodeGen/debug-info-compilation-dir.c +++ b/clang/test/CodeGen/debug-info-compilation-dir.c @@ -1,6 +1,7 @@ // RUN: mkdir -p %t.dir && cd %t.dir // RUN: cp %s rel.c // RUN: %clang_cc1 -fdebug-compilation-dir /nonsense -emit-llvm -debug-info-kind=limited rel.c -o - | FileCheck -check-prefix=CHECK-NONSENSE %s +// RUN: %clang_cc1 -fdebug-compilation-dir=/nonsense -emit-llvm -debug-info-kind=limited rel.c -o - | FileCheck -check-prefix=CHECK-NONSENSE %s // CHECK-NONSENSE: nonsense // RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited %s -o - | FileCheck -check-prefix=CHECK-DIR %s |

