10ee6af612d585301c6f2b2f0f04e9bc80b338bb |
10-Sep-2014 |
Stephen Hines <srhines@google.com> |
Ensure that we only compile the proper bitwidth bitcode for an architecture. Bug: 16031597 Prior to this change, it was possible to compile 32-bit bitcode for a 64-bit architecture and/or 64-bit bitcode for a 32-bit architecture. This change enforces that the target architecture's pointer width matches the pointer width of the individual RS triples that we work with. Change-Id: Ida65582875fb061911fc6a92cd99454f1ab6c5e6
ompiler.cpp
|
f21590eae009b4f596d7e448d0b8e142c46fc382 |
16-Jul-2014 |
Stephen Hines <srhines@google.com> |
Update libbcc for LLVM rebase to r212749. Change-Id: I40304090ada740c2451d32e01c7deed4f4c8c409
ompiler.cpp
ource.cpp
|
a630078b32eb37a8de91ae09e26babf235d4fc9f |
29-May-2014 |
Stephen Hines <srhines@google.com> |
Update libbcc for LLVM 3.5 rebase (r209713). Change-Id: I0e882c84176d462958db05e4c9c10bfe995b8ed1
ompiler.cpp
ource.cpp
|
ce73d6f365394883dd23b1da97135e4002e784e0 |
06-May-2014 |
Stephen Hines <srhines@google.com> |
Remove Makefile->Header code generation from libbcc. These variables/defines are not often used and they complicate the use of target information in other Android libraries. Change-Id: I93dc71e17ae8ece1be46a3a609639ec8380cdaf9
ndroid.mk
|
c2074caf075818abb6d3689ad924ca09f4a5ba1f |
09-Apr-2014 |
Tim Murray <timmurray@google.com> |
Update libbcc for 64-bit support. Change-Id: I369a82eb6730a33c46b6700408952fe34020ca51
ompiler.cpp
ource.cpp
|
c6e6ee4392390c0888f808220adf33334e1f64a4 |
07-Apr-2014 |
Tim Murray <timmurray@google.com> |
Add DISABLE_LLVM_DEVICE_BUILDS to libbcc. Change-Id: Iaad7b2ea8eea6c89c1c1a3d0e145bbb7bf60c6b9
ndroid.mk
|
b316f58fd790ad302b72f569af3e89734ae09db7 |
15-Aug-2013 |
Tobias Grosser <grosser@google.com> |
Run verifier on RenderScript .bc modules Verify the bitcode to abort gracefully on invalid .bc modules instead of crashing randomly. This patch will not detect all problems with the bitcode writing, but it is likely to catch attribute breakages such as Bug 9503142. It also prevents us from crashing on the incorrect debug info found in Bug 1031440. Change-Id: I2bf626b7aae173dc7238a499b2a0474301197cbe
ource.cpp
|
b10c3a7d91556ef31ce91ef018fee4722b783960 |
08-Aug-2013 |
Stephen Hines <srhines@google.com> |
Update libbcc for LLVM merge to r187914. Switch over to new llvm::sys::path implementation. Remove unused Source::CreateFromFd(). F_Binary is now in llvm::sys::fs. Change-Id: Ib0ebb8a1d8ea04e5cf36c8082cf31dab2e144554
ource.cpp
|
6a5fa14074200a18824defa0bffc64e5f2487152 |
24-Jul-2013 |
Tobias Grosser <grosser@google.com> |
Remove beforeExecuteLTOPasses callback This callback had very unclear semantics and the current use was suprising. Specifically, it took a PassManager parameter, but adding anything to this pass manager would cause the passes to be executed after the other LTO passes The only way to execute passes before the LTO passes, was to create a new pass manager that executes a pass right before all LTO passes (that have already being queued in the pass manager passed in as a parameter) will be executed. The very same behavior can be achieved by just adding our passes to the normal pass manager using the "BeforeAddLTOPasses" callback. We used this callback to schedule the ForEachExpand pass. This pass is now moved to the beforeAddLTOPasses callback. Change-Id: I3916543a4ee282e403174b90dc7b7588baab9ea3
ompiler.cpp
|
5b7f52aff2030d520ee2ac6d3ac7d917f38d550c |
23-Jul-2013 |
Tobias Grosser <grosser@google.com> |
Improve error code to error string translation We now use an explicit switch to translate an error code to an error string as this allows the compiler to statically verify that we covered all cases. While at it we add a new error message for "kErrInvalidSource" which was missing previously. We also remove "kMaxErrorCode" as it was unused. Change-Id: I8ade465697c7fa6cc3e48c5c581e5a4dfcf15959
ompiler.cpp
|
2f6103bb820139d19f709e687f5bf4f86226057e |
01-Jul-2013 |
Tobias Grosser <grosser@google.com> |
Remove manually inlined populateLTOPassManager() Instead of copying the content of llvm::PassManagerBuilder::populateLTOPassManager() we just call it. This does not only reduce code duplication, but also ensures that we do not miss anything. Specifically, the previous code did not run any alias analysis at all. After this change we now always run tbaa and basicaa. This does not give any benefits at the moment, but is a prerequisite for upcoming changes to our alias analysis. Change-Id: I01b352255e958cbc1c996d934a519f5ab71f9f24
ompiler.cpp
|
27fb7edfd3f53f52fba6ee81267c02f7896198a3 |
22-Jun-2013 |
Tobias Grosser <grosser@google.com> |
Dump LLVM-IR before generating target code Dumping the IR earlier prevents target specific passes to modify the IR before it is dumped. Change-Id: I8a61efb7140b0c2025381ea1ad1f4cf3522ec870
ompiler.cpp
|
4e9864870f4a2c15ca8e1c333d92487a87ef0655 |
16-Jun-2013 |
Stephen Hines <srhines@google.com> |
Remove libbcc's dependence on mclinker. These features are no longer being used by libbcc, and static initializers from mclinker are conflicting with tool development (i.e. positional argument specifiers for the new bcc executable). Change-Id: I0da427034c50015607a59d4193547868fa9eeabf
ndroid.mk
inker.cpp
|
86e4506416f974d3c717deaca2b17b0792cc2d49 |
07-May-2013 |
Stephen Hines <srhines@google.com> |
Adapt libbcc for LLVM/Clang/mclinker update. Change-Id: I80260f41b3c80e4cd260480ff32ee35a9215e39a
inker.cpp
|
06731a6150ae8014d37258d5f32ef8bc14a3db63 |
13-Feb-2013 |
Stephen Hines <srhines@google.com> |
Add LinkRuntimeCallback() and supporting functions to RS compiler. Change-Id: I7745406a94ba74896ee98752a3de106d2672159d
ource.cpp
|
b730e239619a546d93e5926ea92d698ab77ec7f6 |
10-Jan-2013 |
Stephen Hines <srhines@google.com> |
Updates for LLVM merge to r171906 on 20130108. Change-Id: I096cb90103b19e3110ea562d60e5eb8ad48d9b67
CCContextImpl.h
ompiler.cpp
ource.cpp
|
ca4f96c0f1fcf7a2bdc5a432b751befff149f73d |
03-Jan-2013 |
Shih-wei Liao <sliao@google.com> |
Apply changes to migrate on MCLinker 2.0.2-1. Change-Id: I8b25ad23c257e8a98069611dde525cc6d37e06e9
inker.cpp
|
52acbab46d32526a42f9015f175ea9a552426966 |
17-Dec-2012 |
Shih-wei Liao <sliao@google.com> |
Apply changes to migrate on MCLinker 2.0.1. Change-Id: I6a3a4fac269a7dbec6ecbf06cccfddf08a03251b
inker.cpp
|
03547495b607bb2293a884c0335fe234de49e1dd |
03-Aug-2012 |
Shih-wei Liao <sliao@google.com> |
Apply changes to migrate on MCLinker 1.4.0-phoenix. Change-Id: Ib83f08c7bb115a5824ee67e8fd7869641a6a561c
inker.cpp
|
6202dda52b7898340aac05e73adebc4fb9199f4d |
27-Jul-2012 |
Shih-wei Liao <sliao@google.com> |
Add Source::CreateFromFd(). BUG=6886348. Change-Id: I70bba15b664d6290931faba0482be1241dcc6ede
ource.cpp
|
f0407796f0c3e16065db7fd61a2b09e27aaac24d |
27-Jul-2012 |
Shih-wei Liao <sliao@google.com> |
Remove MCLinker headers dependency. Change-Id: I265770d4157068a934c9ae9d42fdd621b2683a68
inker.cpp
|
8fe71dd4cd49c426cafa73ab21ab7a95dd15254a |
27-Jul-2012 |
Shih-wei Liao <sliao@google.com> |
Fix McLinker and bcc::Linker default library search path. Shared objects, for example, libm.so, can not be found under the default search pathes (/usr.) This is because the sysroot cannot propagate its value to the default search pathes since it was given after the search pathes has been set. Change-Id: I5e138713d1c061de7ef6ac1599d8c036ed35b3f2
inker.cpp
|
49e6b46052bca8f297d2be362cd1d327185b896d |
18-Jul-2012 |
Shih-wei Liao <sliao@google.com> |
Fix Mac build breakage: Remove 2nd, redundant including of llvm. Change-Id: Ic428ff290ffd1be11687d8bf1dfa7bc14bcf6a42
ndroid.mk
|
93c8832a6916a54d984764bf83a8a77cbae4143b |
16-Jul-2012 |
Shih-wei Liao <sliao@google.com> |
Linker funtionality based on MCLinker. Change-Id: I0c0d105a2538f1f8ccf9f6925c027b32da3c9ca8
ndroid.mk
inker.cpp
|
e6362661bb058a73c63efb11f4f25a63e77cac8c |
16-Jul-2012 |
Shih-wei Liao <sliao@google.com> |
Add MCLinker hooks to libbcc. Change-Id: I3f1260537d719f9501a1d6a140f02c258231b7c2
ndroid.mk
|
7ea913ce7d1151eb9bf455c2dfbe6b32987444f2 |
17-Jul-2012 |
Shih-wei Liao <sliao@google.com> |
Revert "Add MCLinker hooks to libbcc." This reverts commit c441933658023404534825b8348f83650c8a15ee.
ndroid.mk
|
c441933658023404534825b8348f83650c8a15ee |
16-Jul-2012 |
Shih-wei Liao <sliao@google.com> |
Add MCLinker hooks to libbcc. Change-Id: I18117700788b685642498f80bbe0433b2fa2d186
ndroid.mk
|
7bcec85228c1eceade6efc9cd7d02ef81c8d55e9 |
25-Apr-2012 |
Shih-wei Liao <sliao@google.com> |
Remove all deprecated BCC C APIs. This commit revises RSCompilerDriver::build(...) method which is custom-made for RenderScript. It also removes RSScript::SourceDependency since RSScript no longer needs to keep dependency information for its associated source. Change-Id: Ic70f6db9fd7dd57a42f0b464132636b9d8ddf5c0
ndroid.mk
cc.cpp
cc_internal.h
|
2665c2f94ed14c1d15925d83b47aa519a11dafe5 |
25-Apr-2012 |
Shih-wei Liao <sliao@google.com> |
Link libclcore.bc for RenderScript by default. Change-Id: I6278bb4183a13ae3485a2afecb6b87ea849ad01e
cc.cpp
|
f290793bc65b8483332ac8b568962395c4a63927 |
13-Apr-2012 |
Zonr Chang <zonr.net@gmail.com> |
Refine SHA-1 related stuffs. 1. Introduce libbcc.sha1.so instead of raw file libbcc.so.sha1 * Now tools/build/gen-sha1-stamp.py generated assembly contains symbols libbcc_so_SHA1 and libRS_so_SHA1 associated with their SHA-1 digests. * In that way, their SHA-1 information can be obtained via dlopen(). 2. Refine Sha1Helper to Sha1Util. 2. Remove unused tools/build/dataconvert.py by the way. Change-Id: I345e1a09e6206748fb8dfabf891154de97a063ec
cc.cpp
|
ef73a242762bcd8113b9b65ceccbe7d909b5acbc |
12-Apr-2012 |
Zonr Chang <zonr.net@gmail.com> |
Refine DebugHelper.h into Log.h. This removes USE_FUNC_LOGGER from libbcc-config.mk. Change-Id: Ia496d41388135706a501bd362075f53d1c0eb6aa
CCContext.cpp
ompiler.cpp
ource.cpp
cc.cpp
|
7a5d423014e1cc95e34764b3ddf8e80ace3509b8 |
12-Apr-2012 |
Zonr Chang <zonr.net@gmail.com> |
Get build information in C++ way. Change-Id: I5d2d2c18192bf9e5d2b9aa5a2bc1cce331191572
cc.cpp
|
c72c4ddfcd79c74f70713da91a69569451b5c19e |
12-Apr-2012 |
Zonr Chang <zonr.net@gmail.com> |
Make libbcc public. This commit is not expected to change any functionality. Change-Id: I364e8bad32d946281b78b1ce36a1b26bf60e3055
ndroid.mk
CCContext.cpp
CCContextImpl.cpp
CCContextImpl.h
ompiler.cpp
cript.cpp
ource.cpp
cc.cpp
cc_internal.h
|
2f6a493aea1b6e5ad318a759fedb58713a5a374c |
03-May-2012 |
Stephen Hines <srhines@google.com> |
Revert "Make libbcc public." This reverts commit 80232dd16c0affb2afae01cde6c94abf23ac1ba8.
ndroid.mk
CCContext.cpp
CCContextImpl.cpp
CCContextImpl.h
ompiler.cpp
cript.cpp
ource.cpp
cc.cpp
cc_internal.h
|
aa72a210b0f73671b01984020a74360c10427e31 |
03-May-2012 |
Stephen Hines <srhines@google.com> |
Revert "Get build information in C++ way." This reverts commit 44d991658dbd5b80648a3944f1760ad19bbcac09.
cc.cpp
|
5b948190e3b311d06526addbb8f0e77a76da2467 |
03-May-2012 |
Stephen Hines <srhines@google.com> |
Revert "Refine DebugHelper.h into Log.h." This reverts commit b519fe3f1d780873608f41d69316054e05c7e918.
CCContext.cpp
ompiler.cpp
ource.cpp
cc.cpp
|
6975a6653f5c433ba2fc009b4400c1c8157b512f |
03-May-2012 |
Stephen Hines <srhines@google.com> |
Revert "Refine SHA-1 related stuffs." This reverts commit 6378d8f50449d79b8937c238b968ceeb9dbd4ee1. Conflicts: Android.mk Change-Id: Ib8988583a0b916d21e9314e919269f02c4dd600e
cc.cpp
|
c4fba3156a3fefef4d5893031d37a5b6b4373896 |
03-May-2012 |
Stephen Hines <srhines@google.com> |
Revert "Link libclcore.bc for RenderScript by default." This reverts commit 0467d9a53b20f8c9069019cde9f035c127acbc9a.
cc.cpp
|
7dfc4d8e7c29fb65ee8c0bef6ad91bf3928a77d1 |
03-May-2012 |
Stephen Hines <srhines@google.com> |
Revert "Remove all deprecated BCC C APIs." This reverts commit 170d420231f10d5b914fde505202c58f11f43e27.
ndroid.mk
cc.cpp
cc_internal.h
|
170d420231f10d5b914fde505202c58f11f43e27 |
25-Apr-2012 |
Shih-wei Liao <sliao@google.com> |
Remove all deprecated BCC C APIs. This commit revises RSCompilerDriver::build(...) method which is custom-made for RenderScript. It also removes RSScript::SourceDependency since RSScript no longer needs to keep dependency information for its associated source. Change-Id: I74335b52d0f9fe91343c30caada2a4df07008e5b
ndroid.mk
cc.cpp
cc_internal.h
|
0467d9a53b20f8c9069019cde9f035c127acbc9a |
25-Apr-2012 |
Shih-wei Liao <sliao@google.com> |
Link libclcore.bc for RenderScript by default. Change-Id: I93eb5a09689373afa973b8c08dd0842152220217
cc.cpp
|
6378d8f50449d79b8937c238b968ceeb9dbd4ee1 |
13-Apr-2012 |
Zonr Chang <zonr.net@gmail.com> |
Refine SHA-1 related stuffs. 1. Introduce libbcc.sha1.so instead of raw file libbcc.so.sha1 * Now tools/build/gen-sha1-stamp.py generated assembly contains symbols libbcc_so_SHA1 and libRS_so_SHA1 associated with their SHA-1 digests. * In that way, their SHA-1 information can be obtained via dlopen(). 2. Refine Sha1Helper to Sha1Util. 2. Remove unused tools/build/dataconvert.py by the way.
cc.cpp
|
b519fe3f1d780873608f41d69316054e05c7e918 |
12-Apr-2012 |
Zonr Chang <zonr.net@gmail.com> |
Refine DebugHelper.h into Log.h. This removes USE_FUNC_LOGGER from libbcc-config.mk.
CCContext.cpp
ompiler.cpp
ource.cpp
cc.cpp
|
44d991658dbd5b80648a3944f1760ad19bbcac09 |
12-Apr-2012 |
Zonr Chang <zonr.net@gmail.com> |
Get build information in C++ way.
cc.cpp
|
80232dd16c0affb2afae01cde6c94abf23ac1ba8 |
12-Apr-2012 |
Zonr Chang <zonr.net@gmail.com> |
Make libbcc public. This commit is not expected to change any functionality.
ndroid.mk
CCContext.cpp
CCContextImpl.cpp
CCContextImpl.h
ompiler.cpp
cript.cpp
ource.cpp
cc.cpp
cc_internal.h
|