diff options
| author | Stephen Hines <srhines@google.com> | 2013-04-18 01:06:29 -0700 |
|---|---|---|
| committer | Stephen Hines <srhines@google.com> | 2013-04-18 01:06:29 -0700 |
| commit | f47e8b4b86bf194e65398032f3f5f47a6da89f3f (patch) | |
| tree | 07ee742d7b733e0562fc56db73f4ba1bf121e276 /cpu_ref/rsCpuScript.cpp | |
| parent | cca3d6ca444bef3b6d75431ec19bd07bfe40a733 (diff) | |
Mark use of a debug context with the RSCompilerDriver.
Bug: 7343201
Change-Id: Idb003a3314247481c38aa70f9991f000135996b3
Diffstat (limited to 'cpu_ref/rsCpuScript.cpp')
| -rw-r--r-- | cpu_ref/rsCpuScript.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpu_ref/rsCpuScript.cpp b/cpu_ref/rsCpuScript.cpp index ca852c1f..d9e0044c 100644 --- a/cpu_ref/rsCpuScript.cpp +++ b/cpu_ref/rsCpuScript.cpp @@ -153,6 +153,7 @@ bool RsdCpuScriptImpl::init(char const *resName, char const *cacheDir, if (mCtx->getContext()->getContextType() == RS_CONTEXT_TYPE_DEBUG) { // Use the libclcore_debug.bc instead of the default library. core_lib = bcc::RSInfo::LibCLCoreDebugPath; + mCompilerDriver->setDebugContext(true); } exec = mCompilerDriver->build(*mCompilerContext, cacheDir, resName, (const char *)bitcode, bitcodeSize, core_lib, |
