commit | 7f3260764a3614e22dcf24d71c1155f14a9b4e6e | [log] [tgz] |
---|---|---|
author | Alexey Samsonov <samsonov@google.com> | Thu Jun 21 08:22:39 2012 +0000 |
committer | Alexey Samsonov <samsonov@google.com> | Thu Jun 21 08:22:39 2012 +0000 |
tree | 52a9a2c573e74ae7aaee25bcde138863ef107d50 | |
parent | 81a5641e5f446d0e879595d3659e76845c7a9410 [diff] |
Improve support for -g options accepted by Clang: 1. Accept flags -g[0-3], -ggdb[0-3], -gdwarf-[2-4] and collapse them to simple -g (except -g0/-ggdb0). 2. Produce driver error on unsupported formats (-gcoff, -gstabs, -gvms) and options (-gtoggle). 3. Recognize and ignore flags -g[no-]strict-dwarf, -g[no-]record-gcc-switches. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158906 91177308-0d34-0410-b5e6-96231b3b80d8