diff options
author | Devang Patel <dpatel@apple.com> | 2011-11-04 20:05:58 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2011-11-04 20:05:58 +0000 |
commit | 033be8bd33e0f84db8158771e13528e071563b73 (patch) | |
tree | bf2a52e77315f5565aa8ebd816269a737bcd6d5c /include/clang | |
parent | 2875bda1505bce995f745002affb20862765ed04 (diff) |
Enable -flimit-debug-info by default. Now, clang lazily emits debug info for structs. Original behavior can be restored using -fno-limit-debug-info.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143733 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang')
-rw-r--r-- | include/clang/Driver/CC1Options.td | 2 | ||||
-rw-r--r-- | include/clang/Driver/Options.td | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/clang/Driver/CC1Options.td b/include/clang/Driver/CC1Options.td index bfcdc935e8..e7540a180a 100644 --- a/include/clang/Driver/CC1Options.td +++ b/include/clang/Driver/CC1Options.td @@ -131,6 +131,8 @@ def no_implicit_float : Flag<"-no-implicit-float">, HelpText<"Don't generate implicit floating point instructions (x86-only)">; def finstrument_functions : Flag<"-finstrument-functions">, HelpText<"Generate calls to instrument function entry and exit">; +def fno_limit_debug_info : Flag<"-fno-limit-debug-info">, + HelpText<"Do not limit debug information produced to reduce size of debug binary">; def fno_merge_all_constants : Flag<"-fno-merge-all-constants">, HelpText<"Disallow merging of constants.">; def fno_threadsafe_statics : Flag<"-fno-threadsafe-statics">, diff --git a/include/clang/Driver/Options.td b/include/clang/Driver/Options.td index 40a814ee75..61e5967717 100644 --- a/include/clang/Driver/Options.td +++ b/include/clang/Driver/Options.td @@ -384,6 +384,8 @@ def fno_inline_functions : Flag<"-fno-inline-functions">, Group<clang_ignored_f_ def fno_inline : Flag<"-fno-inline">, Group<clang_ignored_f_Group>; def fno_keep_inline_functions : Flag<"-fno-keep-inline-functions">, Group<clang_ignored_f_Group>; def fno_lax_vector_conversions : Flag<"-fno-lax-vector-conversions">, Group<f_Group>; +def fno_limit_debug_info : Flag<"-fno-limit-debug-info">, Group<f_Group>, + HelpText<"Do not limit debug information produced to reduce size of debug binary">; def fno_math_errno : Flag<"-fno-math-errno">, Group<f_Group>; def fno_merge_all_constants : Flag<"-fno-merge-all-constants">, Group<f_Group>; def fno_ms_extensions : Flag<"-fno-ms-extensions">, Group<f_Group>; |