[PATCH] PR5172: Fix for a bug in pragma redefine_extname implementation.

David Chisnall csdavec at swan.ac.uk
Thu Jun 4 05:15:13 PDT 2015


I'm also not completely sure of the semantics - I just made it work well enough for the Solaris headers that libc++ needed to work.  The changes look fine to me though.

Have they been tested with the various things in compiler-rt that use this pragma?  We currently use it as a hack because clang doesn't allow you to implement functions that have the same name as builtins (even when those builtins are ones that need implementing by a function of the same name on some archs).


http://reviews.llvm.org/D10187

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list