[PATCH] D55404: [libcxx] Support building static library with hidden visibility

Marshall Clow via Phabricator reviews at reviews.llvm.org
Fri Dec 7 11:57:45 PST 2018


mclow.lists added a comment.

The current libc++ initialization mechanism depends on it being in a shared library. 
You'll want to make sure stuff like this still works (will probably require code changes):

  	#include <iostream>
  	struct Foo {
  	    Foo () { std::cout << "ctor"; }
  	    ~Foo() { std::cout << "dtor"; }
  	};
  
  	Foo f;
  
  	int main () {}


Repository:
  rCXX libc++

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55404/new/

https://reviews.llvm.org/D55404





More information about the libcxx-commits mailing list