Skip to content
Commit 761447cd authored by Dmitri Gribenko's avatar Dmitri Gribenko
Browse files

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
parent ab349194
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment