OLD | NEW |
1 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
2 # for details. All rights reserved. Use of this source code is governed by a | 2 # for details. All rights reserved. Use of this source code is governed by a |
3 # BSD-style license that can be found in the LICENSE file. | 3 # BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'dart_debug_optimization_level%': '2', | 7 'dart_debug_optimization_level%': '2', |
8 }, | 8 }, |
9 'target_defaults': { | 9 'target_defaults': { |
10 'configurations': { | 10 'configurations': { |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 '-mhard-float', | 170 '-mhard-float', |
171 '-fno-strict-overflow', | 171 '-fno-strict-overflow', |
172 ], | 172 ], |
173 }, | 173 }, |
174 | 174 |
175 'Dart_Linux_Debug': { | 175 'Dart_Linux_Debug': { |
176 'abstract': 1, | 176 'abstract': 1, |
177 'conditions': [ | 177 'conditions': [ |
178 ['c_frame_pointers==1', { | 178 ['c_frame_pointers==1', { |
179 'cflags': [ | 179 'cflags': [ |
180 '-fno-omit-frame-pointer', | |
181 # Clang on Linux will still omit frame pointers from leaf | |
182 # functions unless told otherwise: | |
183 '-mno-omit-leaf-frame-pointer', | |
184 ], | 180 ], |
185 'defines': [ | 181 'defines': [ |
186 'PROFILE_NATIVE_CODE' | 182 'PROFILE_NATIVE_CODE' |
187 ], | 183 ], |
188 }], | 184 }], |
189 ], | 185 ], |
190 'cflags': [ | 186 'cflags': [ |
191 '-O<(dart_debug_optimization_level)', | 187 '-O<(dart_debug_optimization_level)', |
| 188 '-fno-omit-frame-pointer', |
| 189 # Clang on Linux will still omit frame pointers from leaf |
| 190 # functions unless told otherwise: |
| 191 '-mno-omit-leaf-frame-pointer', |
192 ], | 192 ], |
193 }, | 193 }, |
194 | 194 |
195 'Dart_Linux_Release': { | 195 'Dart_Linux_Release': { |
196 'abstract': 1, | 196 'abstract': 1, |
197 'conditions': [ | 197 'conditions': [ |
198 ['c_frame_pointers==1', { | 198 ['c_frame_pointers==1', { |
199 'cflags': [ | 199 'cflags': [ |
200 '-fno-omit-frame-pointer', | |
201 # Clang on Linux will still omit frame pointers from leaf | |
202 # functions unless told otherwise: | |
203 '-mno-omit-leaf-frame-pointer', | |
204 ], | 200 ], |
205 'defines': [ | 201 'defines': [ |
206 'PROFILE_NATIVE_CODE' | 202 'PROFILE_NATIVE_CODE' |
207 ], | 203 ], |
208 }], | 204 }], |
209 ], | 205 ], |
210 'cflags': [ | 206 'cflags': [ |
211 '-O3', | 207 '-O3', |
| 208 '-fno-omit-frame-pointer', |
| 209 # Clang on Linux will still omit frame pointers from leaf |
| 210 # functions unless told otherwise: |
| 211 '-mno-omit-leaf-frame-pointer', |
212 ], | 212 ], |
213 }, | 213 }, |
214 }, | 214 }, |
215 }, | 215 }, |
216 } | 216 } |
OLD | NEW |