b8f152d3e2b9368717743ebcb1277239a6c00659 |
|
19-Dec-2017 |
Steven Moreland <smoreland@google.com> |
Usage suggestions. Providing alternative suggestions for using C++ stdlib types instead of libutils types: - higher interoperability - fewer "legacy" quirks - ability to use stl algorithms - high optimization levels Test: none Change-Id: If81aa9982ca0ad229fa13c8142387906981b054d
/system/core/libutils/include/utils/SortedVector.h
|
27a7aa0f59cc1af578eecb5565504b341363b8b9 |
|
17-Mar-2017 |
Vishwath Mohan <vishwath@google.com> |
Blacklist some vector functions for CFI. This CL blacklists some vector functions (construct, copy, splat, move) that use reinterpret_cast on freshly allocated memory (where the object doesn't exist yet). This is technically correct, but not friendly for CFI, which enforces stricter checking to catch type confusion errors. Blacklisting these specific functions from CFI does not cause an appreciable coverage loss though, so this should be fine. Bug: 36219323 Test: Builds and boots, and the reinterpret error goes away on CFI builds. Test: All 98 libutils_tests pass Change-Id: I4944b179116bb1e1608d92697e95e182d8c0ac9f
/system/core/libutils/include/utils/SortedVector.h
|
a040114bcba4b202a289a6e8fafd808f779f865c |
|
26-Jan-2017 |
Vijay Venkatraman <vijaykv@google.com> |
Merge "Exporting C++ headers from system/core" am: 812b7d5d52 am: f484dd3401 am: a252f11da3 am: 5a8f555e49 Change-Id: Id449aadc3b9e6e263d351ce031b1f7f7bb4672b8
|
75acc7bf81d43850694d39d2c45a20ca81d99379 |
|
05-Jan-2017 |
Vijay Venkatraman <vijaykv@google.com> |
Exporting C++ headers from system/core Moved headers from include/libutils and include/libsysutils to libutils/include and libsysutils/include respectively, so they can be exported via these libs. They needed to be moved since Soong does not allow export from external folder. Added symlink from old locations. They are needed since Soong includes system/core/include by default. Once all modules are cleaned up to explicitly add the required libs, the symlinks will be removed. Moved headers of libutils to libutils_headers. They should be used by modules for header-only inlines. Added libutils_headers as dependency of libutils. Split of C++ headers into those that have no dependency and those that have dependency on libutils.so will be handled in a later CL. Test: Add above libs to shared lib of local module Change-Id: I122db72056b26b1f39bad1d9a0c2a1c5efda3550
/system/core/libutils/include/utils/SortedVector.h
|