03c0037aa2da86b9eb58c783e7dee5aaf83deff9 |
08-Feb-2017 |
Luis A. Lozano <llozano@google.com> |
Disable clang tidy checks under BitWriter*. We don't control those files. We cannot fix warnings in them. No point in getting tidy warnings on them. Bug: 26936282 Test: WITH_TIDY=1 WITH_STATIC_ANALYZER=1 mm has no more warnings. Change-Id: I694d7a0fd365c79057357071914dd1a4802fefec
ndroid.bp
|
50eeccb37e08ef075d68ff36d086c2a4aaa4a2d2 |
07-Dec-2016 |
Colin Cross <ccross@android.com> |
Convert slang to Android.bp See build/soong/README.md for more information. Test: mma -j Change-Id: Ida43985ff7e3790e03e598f842fce578de0c76d9
ndroid.bp
ndroid.mk
|
b6a143562bda2117824a0515c208504e9a2830f1 |
26-Jul-2016 |
Pirama Arumuga Nainar <pirama@google.com> |
Fix slang to compile with LLVM r275480 Bug: http://b/31320715 In addition to fixing compilation with the new LLVM sources, this change also switches to using LLVM's RenderScript triples. Clang also uses this triple to set the size and alignment of 'long' data type to 64-bits. We no longer need/have the '+long64' CPU feature. Test: Run RenderScript tests (host tests for slang and libbcc, RsTest, CTS) Change-Id: I3d2795bc0253a10d6fb36bfb0c28eb0c2e9a2922
itcodeWriter.cpp
|
e2ead846c1d78a6e7108e521ffd15850bd9eed3c |
13-Aug-2016 |
Chih-Hung Hsieh <chh@google.com> |
Fix clang-tidy warnings in slang. These are proposed changes, looking for upstream changes. * Add explicit keyword to conversion constructors. Bug: 28341362 * Use const reference type for read-only parameters. Bug: 30407689 * Use const reference type to avoid unnecessary copy. Bug: 30413862 Test: build with WITH_TIDY=1 Change-Id: I2aeba0ff19fe0581d9c177d9b340e4402fdad3f9
alueEnumerator.h
|
98cfae456bb1831336bce2b21979a04e2e31fed4 |
04-Mar-2016 |
Pirama Arumuga Nainar <pirama@google.com> |
Update slang for LLVM rebase to r256229 Bug: http://b/26987366 Change-Id: I816e6ad4a1d43d681f3d022d119e3082702251a1
ndroid.mk
itcodeWriter.cpp
alueEnumerator.cpp
|
c8b0cda5299441cf5793c940a248adfde8fb4255 |
19-Aug-2015 |
Dan Willemsen <dwillemsen@google.com> |
Stop checking HOST_OS, whitelist windows modules Bug: 23566667 Change-Id: I048140d0fa740fb162653b3540d999d6097515fb
ndroid.mk
|
d1d6a832ab9571fedabac37d476d38ca9beb0e4a |
25-Aug-2015 |
Stephen Hines <srhines@google.com> |
Fix invalid opcode encoding in BitWriter_2_9. Bug: 23445219 We were mistakenly just using an invalid Code for structures, and relying on the abbreviated opcode to do the right thing (which it does, thankfully). This fixes one assertion that actually checks that the Opcode and the abbreviated opcode match in value. llvm-rs-cc: frameworks/compile/slang/BitWriter_2_9/../../../../external/llvm/include/llvm/Bitcode/BitstreamWriter.h:264: void llvm::BitstreamWriter::EmitAbbreviatedLiteral(const llvm::BitCodeAbbrevOp &, uintty) [uintty = unsigned long]: Assertion `V == Op.getLiteralValue() && "Invalid abbrev for record!"' failed. Change-Id: Ic80dd55553d6a7802a6d2da137579c73f261ae67
itcodeWriter.cpp
|
1906a00dce8e32fe3bb8a957e333ebbbee0888e3 |
29-Jun-2015 |
Pirama Arumuga Nainar <pirama@google.com> |
Update Slang for LLVM rebase to r239765 Change-Id: I397b780af624f4a78382e9ec74e58e038aa9d2dc
itcodeWriter.cpp
alueEnumerator.cpp
alueEnumerator.h
|
21cc01860b95cad7ae60c686e511e8f4ae034e39 |
06-May-2015 |
Pirama Arumuga Nainar <pirama@google.com> |
Update slang for rebase to LLVM r235153 - Include a tiny fix to an upstream bug (https://llvm.org/bugs/show_bug.cgi?id=23436) - Use BufferOutputStream instead of FormattedOutputStream in slang_backend Change-Id: I9c53b6bbbcccc95513b45d8f0374ced35f7baccd
itcodeWriter.cpp
alueEnumerator.cpp
|
c706907a8041faaa882f9bd87f1d1c1669023a62 |
18-Mar-2015 |
Stephen Hines <srhines@google.com> |
Update slang for LLVM rebase to r230699. Change-Id: I6fa2c59b1445735e2eb95deb4ac503cb9ed369ee
itcodeWriter.cpp
alueEnumerator.cpp
alueEnumerator.h
|
231f578e0b0c2467e1b71e3ba5cd035caf1a9d88 |
26-May-2014 |
Logan Chien <tzuhsiang.chien@gmail.com> |
Use gcc instead of clang when building Windows SDK. Also, we should use the libstdc++ from GCC toolchain instead of libc++ since gcc does not support _Atomic type yet. Change-Id: Ib901811278ed5cac2c5a64ef2d2cbdfa7c3a1081
ndroid.mk
|
19bb5f5a3fd5146956de28127b88089f3538a4cd |
08-May-2014 |
Andrew Hsieh <andrewhsieh@google.com> |
Use clang for llvm-related project clang/llvm 3.5 depends on libcxx's <atomic> which uses _Atomic not available in gcc until 4.9. Even then, the _Atomic support is in C11 mode, not C++11 mode. Change-Id: I211afa5a7ebaa4de88cbedcd44e70bf9e2bac879
ndroid.mk
|
ee4016d1247d3fbe50822de279d3da273d8aef4c |
11-Apr-2014 |
Tim Murray <timmurray@google.com> |
Update Slang for Clang/LLVM 3.5a. Change-Id: Icd59efa1197098076555c505c31939866e504a83
itcodeWriter.cpp
|
eeb251e8db802b836af7461d0f6eb1252c527ab8 |
11-Feb-2014 |
Stephen Hines <srhines@google.com> |
Update slang for LLVM 3.4 rebase. Remove LinkOnceODRAutoHideLinkage, since it is now just a special case of LinkOnceODRLinkage. Remove CaseRange expansion code from all bitcode writers, since it is now dead. Fix up HeaderSearch constructor. Change-Id: I38547486be509b16ea5d8218b43c31ae35b37d3b
itcodeWriter.cpp
itcodeWriterPass.cpp
|
8bb06b7c40b14ce2dae414b0aa034e9b23b278c9 |
21-Jun-2013 |
Stephen Hines <srhines@google.com> |
Write legacy function attributes properly. Bug: 9503142 A prior LLVM rebase accidentally overwrote the various bitcode writer implementations with respect to function attributes. They were writing a new style section, which would not be able to be parsed/used on older devices. This change restores the generation of the legacy function attribute bitcode format. Change-Id: Ib6afc5ae405303881605c51c34b6966e4754c29d
ndroid.mk
itcodeWriter.cpp
|
0da7f6c8201b27938d3b9f048d71fd784cd1df9a |
06-Mar-2013 |
Stephen Hines <srhines@google.com> |
Updates for LLVM merge to r176139. Change-Id: I0d0d32893b4638eef298c99ac8c862c9a9bca1a6
itcodeWriter.cpp
alueEnumerator.cpp
alueEnumerator.h
|
23c4358f12bd9d0ba7166eceebd683db95a41b3f |
10-Jan-2013 |
Stephen Hines <srhines@google.com> |
Updates for LLVM merge to r171906 on 20130108. Change-Id: I4cf3718041d8876d4a23a412b6b4fa4226ec3b50
itcodeWriter.cpp
itcodeWriterPass.cpp
alueEnumerator.cpp
alueEnumerator.h
|
376dc03c6bb42050ddd8a56d1a3e3c6f5d6f6e1d |
23-Aug-2012 |
Stephen Hines <srhines@google.com> |
Fix up slang for LLVM upstream merge to r162314. Change-Id: Id3471daa7eee87c19c46dab8ffd972d52183440a
itcodeWriter.cpp
|
dbfe3fabb0b82d9c73e4a48a0bc3ebb6a9cda593 |
06-Aug-2012 |
Shih-wei Liao <sliao@google.com> |
Expand case range values for legacy BitcodeWriter. Change-Id: I8a9319c751c37f42d90476fd8de213a9a10bd07d
itcodeWriter.cpp
itcodeWriterPass.cpp
|
72ee9e3d44e1b70a1913a1d67932e1e2a5323f2f |
17-Jul-2012 |
Stephen Hines <srhines@google.com> |
resolved conflicts for merge of 5e9ab711 to jb-dev-plus-aosp Change-Id: I0ea465b274d208f6731f04069802e0684690d3c7
|
2790c9fb2da9efde8d82f1c7758315c42f4847a6 |
17-Jul-2012 |
Stephen Hines <srhines@google.com> |
resolved conflicts for merge of b856e3fc to jb-dev-plus-aosp Change-Id: I4ba117e8af6f3ffa5f17e21d63d4fb434bc19cc5
|
01a90ee2d2f65a01931d932d437a8f79c35c0553 |
13-Jul-2012 |
Stephen Hines <srhines@google.com> |
Update ValueEnumerator.* to be more like external/llvm/. This change makes ValueEnumerator.cpp and ValueEnumerator.h more like the copy in external/llvm on which they are already based. This allows us to make sure that we are not missing any additional functionality (in this case, the only differences were related to internal debugging dump() functions). Change-Id: I9a0eb1818fbd6436030482f7c290eb80aee8de8a
alueEnumerator.cpp
alueEnumerator.h
|
331994bf987efa0d40f33b5fdcdc01330c2aefe7 |
13-Jul-2012 |
Stephen Hines <srhines@google.com> |
Place each ValueEnumerator in its own namespace. Without this change, we are actually picking up llvm::ValueEnumerator, which is improper for our specialized writers. Change-Id: I95990f592524293ce40092e069437febc5b2c49a
itcodeWriter.cpp
alueEnumerator.cpp
alueEnumerator.h
|
db37c900ebe6f0ae62a1f77327dd9e5a469ff11e |
13-Jul-2012 |
Stephen Hines <srhines@google.com> |
Fix ConstantDataSequential bitcode encoding issue. BUG=6806165 This resolves the issue with ConstantDataSequential being emitted incorrectly for legacy bitcode formats that we support. Change-Id: Ibb76e6b3e55cb80f2224bc77957c123cd1fcb287
itcodeWriter.cpp
alueEnumerator.cpp
|
a44912f8876b6f830a4829286c27ef90c763469e |
13-Jul-2012 |
Stephen Hines <srhines@google.com> |
Update ValueEnumerator.* to be more like external/llvm/. This change makes ValueEnumerator.cpp and ValueEnumerator.h more like the copy in external/llvm on which they are already based. This allows us to make sure that we are not missing any additional functionality (in this case, the only differences were related to internal debugging dump() functions). Change-Id: I9a0eb1818fbd6436030482f7c290eb80aee8de8a
alueEnumerator.cpp
alueEnumerator.h
|
9937d116e09feb32d46a4c76eca1be6afcd3bed5 |
13-Jul-2012 |
Stephen Hines <srhines@google.com> |
Place each ValueEnumerator in its own namespace. Without this change, we are actually picking up llvm::ValueEnumerator, which is improper for our specialized writers. Change-Id: I95990f592524293ce40092e069437febc5b2c49a
itcodeWriter.cpp
alueEnumerator.cpp
alueEnumerator.h
|
0444de0c0e7cfc8d8f8fed6f64cd97812bdd6a41 |
03-Mar-2012 |
Stephen Hines <srhines@google.com> |
Adapt to upstream Clang/LLVM changes. Change-Id: Ib81ad97246dbee060341e2690fb7f27e9e0298f4
itcodeWriter.cpp
eaderWriter_2_9.h
alueEnumerator.cpp
|
ac4e18584b8768b3f68535fa5f16232e03974323 |
16-Dec-2011 |
Logan Chien <loganchien@google.com> |
Apply changes to migrate to upstream (Dec 16th 2011) - clang::ModuleLoader has changed the interface of loadModule. - Following constants has been removed from llvm::bitc by the upstream, so we have to define our version. - TYPE_BLOCK_ID_OLD 10 - TYPE_SYMTAB_BLOCK_ID_OLD 13 - TYPE_CODE_STRUCT_OLD 10 - llvm::TargetMachine::createTargetMachine now takes a new parameter for options, such as float ABI, soft float, and no frame elimination, and etc. Change-Id: I75e51da9d2265207060a449735342b426cedf243
itcodeWriter.cpp
|
8ec3bc862ac51f49e06bc465a6eb51871ce9d5da |
22-Nov-2011 |
Stephen Hines <srhines@google.com> |
Fix bitcode function encoding error. BUG=5650262 This error occurred because the bitcode opcode for TYPE_CODE_FUNCTION changed from 9 to 21 in The SVN cl mentioned below. commit 9923d389f5a3c7817a3bd603b989ef762226ba07 Author: Chad Rosier <mcrosier@apple.com> Date: Thu Nov 3 00:14:01 2011 +0000 Remove some cruft from the BitcodeWriter, while still maintaining backward compatibility in the BitcodeReader. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143598 91177308-0d34-0410-b5e6-96231b3b80d8 Change-Id: I88ae3c65128714fbea6beb4665271c87ff552fd1
itcodeWriter.cpp
|
9207a2e495c8363606861e4f034504ec5c153dab |
21-Oct-2011 |
Logan Chien <loganchien@google.com> |
Apply changes to migrate to LLVM upstream Oct 20th 2011. - StructType::isAnonymous is renamed to StructType::isLiteral. - PassManagerBuilder has been moved from llvm/Support/PassManagerBuilder.h to llvm/Transforms/IPO/PassManagerBuilder.h - Include llvm/Transforms/IPO.h for llvm::createInternalizePass. - clang::DiagClient has be renamed to clang::DiagnosticConsumer. Besides, we have to implement one additional pure virtual method 'clone' for create a clone of slang::DiagnosticBuffer. - llvm::Linker::LinkModules comes with one additional parameter. Passing llvm::Linker::DestroySource should be equivalent to the old code we were using. - slang::Slang is now derived from clang::ModuleLoader and implemented loadModule pure virtual method (though we will always return NULL.) - clang::Preprocessor is taking one additional parameter for clang::ModuleLoader. - clang::Diagnostic has been changed. A lot of the method has been moved to clang::DiagnosticsEngine, and we can no longer 'Report' a diagnostic from clang::Diagnostic. We have to use clang::DiagnosticEngine instead. - llvm::setCodeModel has been removed. Change-Id: I1f2a4cbeaf61a8ed1d0d635a5a0e1baa90d99d07
itcodeWriter.cpp
alueEnumerator.cpp
|
a546cb661a8ab70577827b8310e2b56a0773c1e1 |
30-Aug-2011 |
Stephen Hines <srhines@google.com> |
Support HC bitcode generation in modern llvm-rs-cc. BUG=5206223 Change-Id: Ia1377cb13dd3f702716770e46ca4af6f7b206ef5
itcodeWriter.cpp
|
4cc499d6e5ec602309501873449c938af61170b2 |
25-Aug-2011 |
Stephen Hines <srhines@google.com> |
Start basic support for LLVM 2.9 bitcode writer. Change-Id: I6a54158a32e485f506f0b991f89125b8a0e60267
ndroid.mk
itcodeWriter.cpp
itcodeWriterPass.cpp
MakeLists.txt
akefile
eaderWriter_2_9.h
alueEnumerator.cpp
alueEnumerator.h
|