|
OLD | NEW |
---|---|
(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 } | |
OLD | NEW |