History log of /frameworks/compile/slang/slang_bitcode_gen.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/slang_bitcode_gen.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/slang_bitcode_gen.cpp