diff options
author | Yang Ni <yangni@google.com> | 2017-06-09 21:17:22 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-06-09 21:17:22 +0000 |
commit | caf99a5524e1d15e711a624e323000556dbb440b (patch) | |
tree | 873efec6352b827ce108a1c35c2836a0875f90f4 /cpu_ref | |
parent | 7382acbde75d7eb0e8370eaa677dbd7a2e116df0 (diff) | |
parent | 15b42f591824bd842ca355e9de22c1640c92e426 (diff) | |
download | rs-caf99a5524e1d15e711a624e323000556dbb440b.tar.gz |
Merge "Cleaned up debug variants of libclcore.bc" am: a071ccf642
am: 15b42f5918
Change-Id: Icc96540c7002931893b681eb2cc7fe3af4527c57
Diffstat (limited to 'cpu_ref')
-rw-r--r-- | cpu_ref/rsCpuScript.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpu_ref/rsCpuScript.cpp b/cpu_ref/rsCpuScript.cpp index 60d08be1..cf1b869f 100644 --- a/cpu_ref/rsCpuScript.cpp +++ b/cpu_ref/rsCpuScript.cpp @@ -447,6 +447,9 @@ const char* RsdCpuScriptImpl::findCoreLib(const bcinfo::MetadataExtractor& ME, c // If we're debugging, use the debug library. if (mCtx->getContext()->getContextType() == RS_CONTEXT_TYPE_DEBUG) { + if (ME.hasDebugInfo()) { + return SYSLIBPATH_BC"/libclcore_debug_g.bc"; + } return SYSLIBPATH_BC"/libclcore_debug.bc"; } |