We don't support anything other than Clang and GCC, and we don't support
GCC earlier than 4.9.
Move the various synonyms for __attribute__(__whatever__) together.
Fix a __STDC__VERSION__ (for __STDC_VERSION__) typo.
Drop support for BSD _ANSI_SOURCE and _C99_SOURCE; there's enough confusing
nonsense here already, and plenty of other ways to ask for obsolete standards.
There are plenty more problems here -- what I really want to do is rationalize
our treatment of __STDC_VERSION__ -- but let's get some of this easy stuff
out of the way first.
Bug: https://code.google.com/p/android/issues/detail?id=194631
Change-Id: I7526b9770fdc01f8a4667781b65e2fb08287b20b
am: d969bb9603
* commit 'd969bb9603fd70edfb801a0433d1538bfa078222':
Fix infinite loop if semaphore test is not run.
Change-Id: Ifd58caa81fe23f0d1d8c143962adc041555771e6
am: d80d42740d
* commit 'd80d42740d9d2ad532c8445fd4835186c252e6e6':
Fix infinite loop if semaphore test is not run.
Change-Id: If34ff256848d37a1768b726473f9a0550d444d9a
When using the --benchmark_filter option, all of the test objects
get created, but not all are run. Previously, if this test didn't run
it would get into an infinite loop waiting for the test to complete.
This change only waits for the test to complete if it was actually
executed.
Change-Id: I5151a0b4b3d5349b978e716ec4a02ebd8b4eae00
am: c1a361a313
* commit 'c1a361a31350777bce06c0f409c74aaf237748fe':
Just use libstdc++ for the cxa stuff inside bionic.
Change-Id: Id5ab9ada875ed995a4616bc8b5f580017c1bd18a
am: 901cc14822
* commit '901cc14822e431185fbe5075ef4f06aa4fba58cf':
Just use libstdc++ for the cxa stuff inside bionic.
Change-Id: I5d256203ebd63f380b572559cbe2d898f5ad3c55
am: 56a81c096d
* commit '56a81c096d85dd4245ebe4be13764cb825ee7cf4':
versioner: whitelist atexit, turn on symbol checking by default.
versioner: add missing test.
versioner: fix false positive with functions only available as inlines.
versioner: improve error output slightly.
versioner: merge stdout and stderr in the test runner.
versioner: clean up tests, test runner.
versioner: ignore functions that are __INTRODUCED_IN_FUTURE.
versioner: autodetect paths when no specified.
versioner: improve usage messages.
Remove __cachectl.
Change-Id: Iab0de231472e06fe5146618c3c6b5be3dc9c203b
am: c5799dd13c
* commit 'c5799dd13c58aae84cffd5e4b4a379556634bd71':
versioner: whitelist atexit, turn on symbol checking by default.
versioner: add missing test.
versioner: fix false positive with functions only available as inlines.
versioner: improve error output slightly.
versioner: merge stdout and stderr in the test runner.
versioner: clean up tests, test runner.
versioner: ignore functions that are __INTRODUCED_IN_FUTURE.
versioner: autodetect paths when no specified.
versioner: improve usage messages.
Remove __cachectl.
Change-Id: I8d24a4ac071ee29004a022546d1225794b6f2940
* changes:
versioner: whitelist atexit, turn on symbol checking by default.
versioner: add missing test.
versioner: fix false positive with functions only available as inlines.
versioner: improve error output slightly.
versioner: merge stdout and stderr in the test runner.
versioner: clean up tests, test runner.
versioner: ignore functions that are __INTRODUCED_IN_FUTURE.
versioner: autodetect paths when no specified.
versioner: improve usage messages.
Remove __cachectl.
Some of the error messages emitted by versioner (the ones where it was
invoked incorrectly) go to stderr, which meant that the test runner
ignored them. Merge stdout and stderr, and switch from testing for
exact equality to endswith, because of the compilation errors test.
Change-Id: I0e2c25bcc9dea4c12ea82a6a05b29e561a61a902
Git doesn't track empty directories, so most of the tests would fail on
a fresh checkout because of dependencies/common being missing. Remove
the use of dependencies from all of the non-dependency related tests.
Change-Id: I09cc5765aae1576914c1c5d7dfa3fb666eab4a3f
Search for the header/dependency/platform directories in a hard-coded
path relative to $ANDROID_BUILD_TOP when they're not specified.
Change-Id: I476385cfc0247e3b2009348ec37c1810a0e9a7f7
bionic doesn't have an implementation for this function, but neither
does the kernel. cachectl has existed in the kernel as a stub that
returns ENOSYS for over a decade.
Bug: http://b/28178111
Change-Id: Id35f85fd143c5ea0d45d04b1021893cf5c0c749d
am: d1b738579f
* commit 'd1b738579f028a6484ba6e175a9add65c185075c':
Do not return with stack address in global variable.
Change-Id: I63faea54ccf4aadad69ecf3ac6ab250601044441
am: a24cc2639f
* commit 'a24cc2639f85d0b0978b18493f4f3bceebbc8ed3':
Do not return with stack address in global variable.
Change-Id: Iaa971070e73cc81690bd853c8de57ca40a4957a2
Clang static analyzer gives warning when address of
local variable 'attr' is saved in a global variable.
This change passes required values down to signal handler
instead of saving local variable address in a signal handler.
Change-Id: I7955939487a5afdf7b1f47eb74a92eb5aa76cfc9
Add a clang-based tool to inspect header availability attributes and
verify them against the NDK platform definitions.
Bug: http://b/28178111
Change-Id: I1bb1925a620e98cc9606cb5a3360b1224c700bd0