Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(136)

Side by Side Diff: test/mac/strip/main.c

Issue 23600042: ninja&make/mac: Only pass -x for loadable_modules. (Closed) Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2013 Google Inc. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 static void the_static_function() {}
6 void the_function() {}
Mark Mentovai 2013/09/13 16:09:05 Without any stripping but with dead code stripping
Nico 2013/09/13 20:11:07 Oh, you mean due to inlining. Done.
Mark Mentovai 2013/09/13 21:31:32 Nico wrote:
Nico 2013/09/13 21:41:07 Since it's called it's not dead code without inlin
Mark Mentovai 2013/09/13 21:50:35 Nico wrote:
7
Mark Mentovai 2013/09/13 16:09:05 Let’s also add a couple of more attributed functio
Mark Mentovai 2013/09/13 16:09:05 Can we get some non-text symbols too? A file-scope
Nico 2013/09/13 20:11:07 I had that at first, but removed it again since it
Mark Mentovai 2013/09/13 21:31:32 Nico wrote:
Nico 2013/09/13 21:41:07 Done.
8 int main() {
Mark Mentovai 2013/09/13 16:09:05 To make this test a little more realistic, let’s n
Nico 2013/09/13 20:11:07 The non-executable targets use file.c, not main.c
9 the_function();
10 the_static_function();
11 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698