History log of /frameworks/compile/slang/llvm-rs-as.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b130e157d3a5c2256e7aa0005d7134f3ac060c56 23-Jul-2015 Stephen McGroarty <stephen@codeplay.com> Added in fix to allow generation of valid debug info

Changed the bitcode writer of the llvm-rs-cc compiler
to use the current version of llvm when generating debug
metadata. If the debug info is generated with the current
fixed version writers the resulting bitcode is invalid and
will fail verification in the bcc compiler. However, this
means that, currently, only revisions which have compatible
versions of llvm will work. The incompatibility is in the
debug info generation in slang and the verification/backend
in bcc. If bcc is expecting the debug info to be in a different
format that slang outputs the verification stage will fail. As
things stand only the newest revision will work, as the debug
info in AOSP LLVM was updated a few weeks ago. If the debug
bitcode is ahead of the reader on the device it will fail the
bitcode verification stage in bcc.

Change-Id: Iddb7adfe6639900f9917cb05941378019ecc37ba
Signed-off-by: Stephen McGroarty <stephen@codeplay.com>
/frameworks/compile/slang/llvm-rs-as.cpp
dabd246c169fe8bc7d80a31779311bfc583b2ea0 16-Jul-2015 Matt Wala <wala@google.com> llvm-rs-as: Wrap bitcode with the RS bitcode wrapper.

Change llvm-rs-as and llvm-rs-cc to use the same code path when it comes
to writing bitcode. As a result llvm-rs-as can take a *.ll file and
output a *.bc file containing the RenderScript bitcode wrapper, so that
code produced by llvm-rs-as can be read by bcinfo.

Change-Id: I3f9aed3764cbafddb219a21abd89490ca8019bc1
/frameworks/compile/slang/llvm-rs-as.cpp
3eb819ad8beec566a73b288204f9b75c2bb1d4e6 25-Nov-2014 Stephen Hines <srhines@google.com> Update slang for LLVM rebase to r222494.

Change-Id: I19e441e193637ddb39b3afb3bc95579755ac0a90
/frameworks/compile/slang/llvm-rs-as.cpp
2eb9a3f7c48fe54eb4e813d80e3363bc79553a1e 16-Jul-2014 Stephen Hines <srhines@google.com> Update slang for LLVM rebase to r212749.

Change-Id: I5819f9df3212ffcfa8f34c11d3cea29f1fd04878
/frameworks/compile/slang/llvm-rs-as.cpp
75d471819f1810e0e65224d6e57fe1106af0d340 28-May-2014 Stephen Hines <srhines@google.com> Update slang for LLVM 3.5 rebase (r209713).

Change-Id: If0f510085358d2e48c865257851d9ff7f5846eb8
/frameworks/compile/slang/llvm-rs-as.cpp
ee4016d1247d3fbe50822de279d3da273d8aef4c 11-Apr-2014 Tim Murray <timmurray@google.com> Update Slang for Clang/LLVM 3.5a.

Change-Id: Icd59efa1197098076555c505c31939866e504a83
/frameworks/compile/slang/llvm-rs-as.cpp
a1f95ee8df425089100148a42954cf61dc285015 09-Aug-2013 Stephen Hines <srhines@google.com> Update slang for LLVM merge up to r187914.

Move OptParser.td dependency to use LLVM's version.
Switch to llvm::sys::fs::F_* enums.
Switch to LLVM Option handling library (not in Clang any more).
Add new ALIASARGS field to OPTION macro.
Switch to clang::getLastArgIntValue() helper function.
Use llvm::sys::fs::OpenFlags as enum and not unsigned int.
Remove unused DisableSimplifyLibCalls().
Switch to llvm::sys::fs::create_directories().

Change-Id: I9b12e18b759536c762ea0dd43356907ee53dbddb
/frameworks/compile/slang/llvm-rs-as.cpp
c908b90b45448af6c39ce407b607f46b0e0461d6 21-Jun-2013 Tobias Grosser <grosser@google.com> Add llvm-rs-as tool.

This tool takes an .ll file as input and generates bitcode from it.
The -bitcode-version flags allows to specify the version of the
bitcode that should be emitted.

Change-Id: I08b4f1fd0d7b218613e217249e648c9ca4393e38
/frameworks/compile/slang/llvm-rs-as.cpp