]> granicus.if.org Git - clang/commit
Use backslashes to escape spaces and other backslashes in -dwarf-debug-flags.
authorBob Wilson <bob.wilson@apple.com>
Tue, 4 Nov 2014 22:28:48 +0000 (22:28 +0000)
committerBob Wilson <bob.wilson@apple.com>
Tue, 4 Nov 2014 22:28:48 +0000 (22:28 +0000)
commit257215d560bcfc01f26fce5283d77fc0f9586318
tree62faed0a49c1eb8806873a3d071f391ce5ba6d5e
parentff594930abddaf901f3514e48dbadccd03cc1b5a
Use backslashes to escape spaces and other backslashes in -dwarf-debug-flags.

The command line options are specified in a space-separated list that is an
argument to -dwarf-debug-flags, so that breaks if there are spaces in the
options. This feature came from Apple's internal version of GCC, so I went back
to check how llvm-gcc handled this and matched that behavior.
rdar://problem/18775420

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@221309 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp
test/Driver/darwin-debug-flags.c