Chromium Code Reviews
DescriptionAdd nacl-clang testing to SCons
This CL adds a nacl_clang flag to SCons to use nacl-clang.
It adds an implicit dependence on -lpthread to nexes because nacl-clang
always links with it (because libc++ requires it). It's also enabled
for PNaCl; if this ends up working out well for nacl-clang maybe we can
remove the really ugly special-casing for pthread_private in pnacl-ld.
It modifies or disables a few tests, so that everything now build with
nacl-clang (or has a bug filed for why not).
It also ifdefs out the .init and .fini sections from crti/crtn, because
we do not use them with clang.
R=jvoung@chromium.org, mcgrathr@chromium.org, ncbray@chromium.org
BUG= https://code.google.com/p/nativeclient/issues/detail?id=3946
Committed: https://src.chromium.org/viewvc/native_client?view=rev&revision=13888
Patch Set 1 #
Total comments: 4
Patch Set 2 : review, add libc++ pthread link fix #
Total comments: 13
Patch Set 3 : review 2 #
Total comments: 6
Patch Set 4 : fix gdb path, fix libstdc++ #Patch Set 5 : fix other libstdc++ test #
Total comments: 8
Patch Set 6 : ncbray comment #
Messages
Total messages: 19 (2 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||