Age | Commit message (Collapse) | Author |
|
- Add enums corresponding O-MR1 and P.
- Internally, treat them as N since no new APIs added.
Bug: 72969487
Test: mm
Test: llvm-rs-cc can take target api 27 and 28, and generated code works
on N emulator and ToT walleye.
Change-Id: I37979fe359aee117229182cdd198f5305dd22cd1
|
|
Analyzer complaint:
frameworks/compile/slang/slang.cpp:336:12: warning: Potential leak of
memory pointed to by 'OS'
This is a bit tricky: llvm::tool_output_file's ctor might write a
failure value to EC. If so, we'd take the `if (EC) return false;`
branch in Slang::setOutput, and fail to free `OS`.
Using a unique_ptr instead fixes all of our problems.
This also removes a nullptr check; `new` without `std::nothrow` can't
return null, so the null check was unnecessary.
Bug: None
Test: Ran the static analyzer. No complaints about leaky memory.
Change-Id: I22c865ea4ef8caf1d8c3b14939a6d28850f587c4
|
|
am: eeaf7830c8
Change-Id: I14842abc0bd9265acdd2776ef8d599628cb7ee04
|
|
Change-Id: I7334a7d4f7e14bcae80302156ac9123c8fbe2485
|
|
Change-Id: Ic109be4aa648c52ab8ec5e4d529f769fbaad3527
|
|
89d5e3ac60
am: 70b4d018e8
Change-Id: Ibacdb33c46ac278e192bb9813a9316871c61bad7
|
|
am: 89d5e3ac60
Change-Id: I827cec432160823898892b0862196c5f7185baee
|
|
am: 8eafb69d6c
Change-Id: I3a8978e090aed8d88f22a9d25de96c446a6f7e7e
|
|
|
|
Bug: http://b/64121881
The modules built in the Android tree are now named libLLVM_android.so
and libclang_android.so.
Test: aosp_marlin checkbuild with FORCE_BUILD_LLVM_COMPONENTS set and
unset.
Change-Id: I581b85045a744a712e5f667b5d9035bd51e7c491
|
|
f57105d9a5 am: 9f03d2447a am: ad8121015c -s ours
am: 1f9e95650b -s ours
Change-Id: Iaf0838b81021b6d6380438bb11107bfff1b14911
|
|
f57105d9a5 am: 9f03d2447a
am: ad8121015c -s ours
Change-Id: I9e8fe7ce8f693f9a12833f77785742f0933a123f
|
|
am: 9f03d2447a
Change-Id: Id0fcbf81f4aa4d5c96da8cf8e788e29cbd8955a6
|
|
am: f57105d9a5
Change-Id: I805a5ef18f293fe16de85c72c4b490f6e5a574fd
|
|
|
|
libLLVMBitWriter_3_2 and libStripUnkAttr are used by libbcinfo, which is
a vndk-sp library. Mark them as vendor_available:true so that they are
available when building libbcinfo.so
Bug: 64425518
Bug: 64395154
Test: BOARD_VNDK_VERSION=current m -j libbcinfo.so
Merged-In: I7a59aabcae0207d9d4a19df11c89d0008ddbb039
Change-Id: I7a59aabcae0207d9d4a19df11c89d0008ddbb039
(cherry picked from commit 472a71534ac82a590c3ca8b390a9298c7f32057d)
|
|
am: 744a38410d
Change-Id: I93b7bfabc9bd3a1b93a2e03a3ca45eeb910e9695
|
|
am: ed443ee88b
Change-Id: Iecc178fbf24c6f4f2a055c31b5cd67aa02175225
|
|
am: 7368b91323
Change-Id: I8ae8ad0744bbe693c4718596df366eb0679336ea
|
|
am: b20cc6ffbc
Change-Id: If09c8db176fe709c05637054f76085cc38116de9
|
|
|
|
libdl is part of system_shared_libs now. -ldl -lpthread -lm are now defaults
for host_ldlibs on Linux and Darwin. -lrt is a default for host_ldlibs on
Linux.
Test: m host
Change-Id: I5f7b80be0e5990d86d73739cb69e0bbcc1282a50
Exempt-From-Owner-Approval: build system cleanup
|
|
am: e85fa64f78
Change-Id: I469d1fff56ac81da34d81dec2b7b8bc1996b5c21
|
|
am: 3627f9aded
Change-Id: Iadafcee4a208bb8c8b7c83941c8c298bfd10d76e
|
|
am: 29f2fedccd
Change-Id: Ide406a453d2e513654fc56b27042a195f35ec50e
|
|
am: 4c0eb48014
Change-Id: I3110b9c77f0f96a7db446b9d60e8081f7ea602a3
|
|
* changes:
Workaround for outstanding LLVM assertions: Modify test cases.
Fix some LLVM assertions and add workarounds for others.
|
|
This addresses problems that occur only with
FORCE_BUILD_LLVM_DISABLE_NDEBUG=true.
Modify test cases to work around http://b/65210157
temporary fix, removing pieces of the test cases).
Bug: 65210157
Test: with FORCE_BUILD_LLVM_DISABLE_NDEBUG=true, ran the modified test cases
Change-Id: Ib4f6b1b493b95b4fe8b3a7b3f92ee608fe239696
|
|
This addresses problems that occur only with
FORCE_BUILD_LLVM_DISABLE_NDEBUG=true.
(1) Modify ReflectionState::canon() to no longer put empty strings in
StringSet, which was triggering an assertion.
(2) Modify test cases to work around http://b/62295904 (safe permanent fix,
adding a dummy use of some parameters).
Bug: 32780232
Bug: 20260865
Bug: 21597073
Bug: 62295904
Test: with FORCE_BUILD_LLVM_DISABLE_NDEBUG=true, ran slang/tests and built RsTest
Change-Id: Iac340c25616354d973968b48a3923d2af86c32d3
|
|
am: 481ffecdf5
Change-Id: I29ce526e7f98100a0b200d81438691668b63e48f
|
|
am: 472a71534a
Change-Id: I01dc63c233d23566e799b400df6a8a3d2959acd0
|
|
libLLVMBitWriter_3_2 and libStripUnkAttr are used by libbcinfo, which is
a vndk-sp library. Mark them as vendor_available:true so that they are
available when building libbcinfo.so
Bug: 64425518
Test: BOARD_VNDK_VERSION=current m -j libbcinfo.so
Change-Id: I7a59aabcae0207d9d4a19df11c89d0008ddbb039
|
|
-s ours am: e699f05f83 -s ours
am: f076448808 -s ours
Change-Id: I702fb20f08db8021d2d89cd646341ff7d91251eb
|
|
-s ours am: 37ffc4c35a -s ours am: a3db6c8552 -s ours
am: 43d466c9f0 -s ours
Change-Id: Ia4d84b4beb1b57f3f5b7472899f8a9cd40b547f7
|
|
-s ours am: 6af4a3dcc9 -s ours
am: 9f0604b3c5 -s ours
Change-Id: Id93a96ddbeac3e4ce54e5c557f86fc185cb0dfde
|
|
9d5d0b8eb8 -s ours am: fd6a851540 -s ours
am: ee110aa759 -s ours
Change-Id: Iec0951592de889c77c674baa0140ae032246ba21
|
|
b17d22a7c3
am: bd3ff06239
Change-Id: Ifeab87a91b2b005c66865420a62afddd77989a99
|
|
-s ours am: 3179963abc -s ours
am: 1fb76ed477 -s ours
Change-Id: I4385b0e9e3897b8fb5422455bfdd48fbffd5c655
|
|
-s ours am: 37ffc4c35a -s ours am: 0fa9410bb3 -s ours
am: 207c0b464d -s ours
Change-Id: I9c9b1682f4785e4e20ea3e2e7849acd0b992999e
|
|
-s ours am: aa44ddf081 -s ours
am: 921d1daa5f -s ours
Change-Id: I6b3e73352a4ed1e31cc7d66f44e668caed8cb1ab
|
|
9d5d0b8eb8 -s ours am: d413b9f350 -s ours
am: b4b07ca333 -s ours
Change-Id: Ie1fb5b83b71309e39cd6377b959709cd75d48039
|
|
1a8ad64351
am: 5afb46decb
Change-Id: I91c291ae9a3d2c93fe7b62a8fc7ac5134e8b5e51
|
|
-s ours
am: e699f05f83 -s ours
Change-Id: I1e798cc8930b4d6963505c8e21b6eff2a4f2693a
|
|
-s ours am: 37ffc4c35a -s ours
am: a3db6c8552 -s ours
Change-Id: I8c623fa56f4bc4bfe10978d7b022823739fd4f3a
|
|
-s ours
am: 6af4a3dcc9 -s ours
Change-Id: Id74e09bca6ee47ef36a37ab9e61f2a85e75ff8e9
|
|
9d5d0b8eb8 -s ours
am: fd6a851540 -s ours
Change-Id: If91e5f6f64c72f4c25fe504c297bd33dcadd6889
|
|
am: b17d22a7c3
Change-Id: Ie8bc329d3e356e73d1522627dbe996bdfe22d708
|
|
-s ours
am: 3179963abc -s ours
Change-Id: Ie6ed8504b5cfa9180e228bd84aab19963af1c227
|
|
-s ours am: 37ffc4c35a -s ours
am: 0fa9410bb3 -s ours
Change-Id: I86d79ede45dac04ede718c875f2ae97fb9a9e751
|
|
-s ours
am: aa44ddf081 -s ours
Change-Id: I96f824d6394f45a5fd60e68a51d055d579d42d75
|