Go to file
Mark Seaborn edf0d38c9d Use ARM-style representation for C++ method pointers under PNaCl/Emscripten
Before this change, Clang uses the x86 representation for C++ method
pointers when generating code for PNaCl.  However, the resulting code
will assume that function pointers are 0 mod 2.  This assumption is
not safe for PNaCl, where function pointers could have any value
(especially in future sandboxing models).

So, switch to using the ARM representation for PNaCl code, which makes
no assumptions about the alignment of function pointers.

Since we're changing the "le32" target, this change also applies to
Emscripten.  The change is beneficial for Emscripten too.  Emscripten
has a workaround to make function pointers 0 mod 2.  This change would
allow the workaround to be removed.

See: https://code.google.com/p/nativeclient/issues/detail?id=3450
llvm-svn: 187051
2013-07-24 16:25:13 +00:00
clang Use ARM-style representation for C++ method pointers under PNaCl/Emscripten 2013-07-24 16:25:13 +00:00
clang-tools-extra cpp11-migrate: Fix build break on Windows introduced in r187041. 2013-07-24 15:35:24 +00:00
compiler-rt [sanitizer] Change strip_path_prefix flag behavior. 2013-07-22 16:14:38 +00:00
debuginfo-tests Now that we get non-trivial value parameters locations correct, un-XFAIL these tests. 2013-06-19 22:07:11 +00:00
libclc Implement generic upsample() 2013-07-19 16:44:37 +00:00
libcxx Debug mode for unordered_set. I believe this to be fairly complete for 2013-07-23 22:01:58 +00:00
libcxxabi Updated CREDITS.TXT 2013-07-02 19:01:59 +00:00
lld Add lit magic so that lld unittests are run as part of lld test suite 2013-07-23 23:42:17 +00:00
lldb Update www build instructions for FreeBSD 2013-07-24 14:53:48 +00:00
llvm TRE: Move class into anonymous namespace. 2013-07-24 16:12:08 +00:00
polly ScopDetect: Add some test cases for sequential loops 2013-07-24 06:10:37 +00:00