[PATCH] D14411: Use __attribute__((internal_linkage)) when available.
Evgeniy Stepanov via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 9 17:58:10 PST 2015
eugenis added a dependency: D12502: [libcxx] Better constain tuples constructors -- Fix PR23256 and PR22806.
eugenis added a comment.
Note, this breaks tuple_cat.pass.cpp test.
With -O0, replacing always_inline with internal_linkage results in less optimization being done (namely, no inlining happens). This ends up exposing
https://llvm.org/bugs/show_bug.cgi?id=23256
which is fixed by
http://reviews.llvm.org/D12502
The same failure can be reproduced in the current ToT libc++ by running this test with -O2.
This change depends on http://reviews.llvm.org/D12502.
Repository:
rL LLVM
http://reviews.llvm.org/D14411
More information about the cfe-commits
mailing list