• Home
  • History
  • Annotate
  • only in /frameworks/compile/slang/BitWriter_2_9/
History log of /frameworks/compile/slang/BitWriter_2_9/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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