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

Side by Side Diff: test/mac/strip/file.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
OLDNEW
1 // Copyright (c) 2011 Google Inc. All rights reserved. 1 // Copyright (c) 2011 Google Inc. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 static void the_static_function() {} 5 static void the_static_function() {}
6 __attribute__((used)) void the_used_function() {}
7
8 __attribute__((visibility("hidden"))) __attribute__((used))
9 void the_hidden_function() {}
10 __attribute__((visibility("default"))) __attribute__((used))
11 void the_visible_function() {}
12
13 extern const int eci;
14 __attribute__((used)) int i;
15 __attribute__((used)) const int ci = 34623;
6 16
7 void the_function() { 17 void the_function() {
8 the_static_function(); 18 the_static_function();
19 the_used_function();
20 the_hidden_function();
21 the_visible_function();
9 } 22 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698