]> granicus.if.org Git - clang/commit
Implement a new -fstandalone-debug option. rdar://problem/15685848
authorAdrian Prantl <aprantl@apple.com>
Tue, 7 Jan 2014 01:19:08 +0000 (01:19 +0000)
committerAdrian Prantl <aprantl@apple.com>
Tue, 7 Jan 2014 01:19:08 +0000 (01:19 +0000)
commitc44757105021d1429f9430d5ff0da45b02b9f741
tree08e3dcc79fab125389ef5bfc08e0acbbfdf09390
parent24b6a6de3562f3808bb0806e8d8df2ffc7766c76
Implement a new -fstandalone-debug option. rdar://problem/15685848
It controls everything that -flimit-debug-info used to, plus the
vtable type optimization. The old -fno-limit-debug-info option is now an
alias to -fstandalone-debug and vice versa.

Standalone is the default on Darwin until dtrace is updated to work with
non-standalone debug info (rdar://problem/15758808).

Note: I kept the LimitedDebugInfo name in CodeGenOptions::DebugInfoKind
because NoStandaloneDebugInfo sounded even more confusing.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@198655 91177308-0d34-0410-b5e6-96231b3b80d8
15 files changed:
docs/tools/clang.pod
include/clang/Driver/Options.td
include/clang/Frontend/CodeGenOptions.h
lib/CodeGen/CGDebugInfo.cpp
lib/Driver/Tools.cpp
lib/Frontend/CompilerInvocation.cpp
test/CodeGenCXX/debug-info-class-limited.cpp
test/CodeGenCXX/debug-info-class-nolimit.cpp
test/CodeGenCXX/debug-info-dup-fwd-decl.cpp
test/CodeGenCXX/debug-info-method2.cpp
test/CodeGenCXX/debug-info-namespace.cpp
test/CodeGenCXX/debug-info-pubtypes.cpp
test/CodeGenCXX/debug-info-template-limit.cpp
test/CodeGenCXX/debug-info-template-member.cpp
test/CodeGenCXX/debug-info-vtable-optzn.cpp [new file with mode: 0644]