Revert of Enable extended debugging symbols to including macro expansion. (https://codereview.chromium.org/198363002/)

Reason for revert:
Linux dbg builder runs out of memory

Original issue's description:
> Adding -g3 to get macro expansion support. (Default is -g2.)
> Adding -gdwarf-4 for macro expansion support.
> 
>  * gcc 4.6 outputs DWARF-2 by default
>  * gcc 4.7 outputs DWARF-4 by default
>  * clang <3.4 outputs DWARF-3 by default
>  * clang >3.4 outputs DWARF-4 by default
> 
> From http://gcc.gnu.org/onlinedocs/gcc/Debugging-Options.html
> > -g3
> >  Level 3 includes extra information, such as all the macro
> >  definitions present in the program. Some debuggers support macro
> >  expansion when you use -g3.
> >
> > -gdwarf-4
> >  Produce debugging information in DWARF format (if that is
> >  supported). The value of version may be either 2, 3 or 4; the
> >  default version for most targets is 4.  Note that with DWARF
> >  Version 2, some ports require and always use some non-conflicting
> >  DWARF 3 extensions in the unwind tables.
> >
> >  Version 4 may require GDB 7.0 and -fvar-tracking-assignments for
> >  maximum benefit.
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=257944
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=280980

TBR=mark@chromium.org,mithro@mithis.com,thestig@chromium.org
NOTRY=true
NOTREECHECKS=true

Review URL: https://codereview.chromium.org/366963002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@280986 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
jochen@chromium.org 2014-07-02 09:31:33 +00:00
Родитель 635765c29b
Коммит 2de75c3040
1 изменённых файлов: 1 добавлений и 6 удалений

Просмотреть файл

@ -3384,14 +3384,9 @@
],
'cflags': [
'-O>(debug_optimize)',
'-gdwarf-4',
'-g',
],
'conditions' : [
['fastbuild==0', {
'cflags': [
'-g3',
],
}],
['OS=="android"', {
'ldflags': [
# Warn in case of text relocations.