move production of .reference directives for static ctor/dtor list on
darwin into common code.

llvm-svn: 93849
7 files changed
tree: 57430d35bc32d0a9143f9c43608caf92c1c5c4bf
  1. clang/
  2. compiler-rt/
  3. llvm/