Chromium Code Reviews| Index: test/mac/strip/main.c |
| =================================================================== |
| --- test/mac/strip/main.c (revision 0) |
| +++ test/mac/strip/main.c (revision 0) |
| @@ -0,0 +1,11 @@ |
| +// Copyright (c) 2013 Google Inc. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +static void the_static_function() {} |
| +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:
|
| + |
|
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.
|
| +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
|
| + the_function(); |
| + the_static_function(); |
| +} |
| Property changes on: test/mac/strip/main.c |
| ___________________________________________________________________ |
| Added: svn:eol-style |
| + LF |