1ad35fbd78f6965bb59572e1cf6a2223ee767c57 |
|
26-Mar-2012 |
Stephen Hines <srhines@google.com> |
Check infile arguments for BitcodeWrapperer. It would be better to use a const reference for infile, but unfortunately, we must mutate it during the lifetime of BitcodeWrapperer - Seek() is the primary issue here. Since we don't want to use a non-const reference, we instead insert appropriate NULL checks into the various functions where infile is used. Change-Id: Ic408c9dba684b57237cc8e29fff61c103161f7b3
/frameworks/compile/libbcc/bcinfo/Wrap/bitcode_wrapperer.cpp
|