commit | cfce4153aec576c7c9abfd364c24dfab457c8e88 | [log] [tgz] |
---|---|---|
author | Dmitri Gribenko <gribozavr@gmail.com> | Wed Jul 18 16:30:42 2012 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Sep 16 23:01:49 2020 -0700 |
tree | 9a666fde7ce415cdb7fcb8a1c87629e4d99fac80 | |
parent | abf3099bf39a69fd5e568af43f673fc13370614e [diff] |
On Darwin, the linker removes functions in CommentDumper.o (Comment::dump()) despite __attribute__(__used__). As explained by Argyrios, > .a archive files do some stripping of their own and they remove .o files that > contain functions that are not referenced by any other .o file. The fix is to use these functions from another .o file. Thanks, Argyrios! llvm-svn: 160437 GitOrigin-RevId: 761447cd98eb6547f815f08fb1593733c26de2a8