diff options
| author | Aidan Dodds <aidan@codeplay.com> | 2016-03-10 17:23:33 +0000 |
|---|---|---|
| committer | Aidan Dodds <aidan@codeplay.com> | 2016-03-10 17:23:33 +0000 |
| commit | 8433fdbedfad67239b7658089b3974b3e516d487 (patch) | |
| tree | 9f4af6f8b6707dda852a2edd681a196cbc581ac0 /llvm/lib/Transforms/Utils/Utils.cpp | |
| parent | 92be8e6d95e2df96d0f5c08c36880b22bb355a38 (diff) | |
| download | bcm5719-llvm-8433fdbedfad67239b7658089b3974b3e516d487.tar.gz bcm5719-llvm-8433fdbedfad67239b7658089b3974b3e516d487.zip | |
[Renderscript] Explicitly set the language to evaluate allocations
Currently it is not specified, and since allocations are usually
requested once we hit a renderscript breakpoint, the language will be
inferred being as renderscript by the ExpressionParser.
Actually allocations attempt to invoke functions part of the RS runtime,
written in C/C++, so evaluating the calls in RenderScript could be
misleading.
In particular, in MIPS, the ABI between C/C++ (mips o32) and
renderscript (arm) might introduce subtle bugs when evaluating such
expressions.
This change explicitly sets the language used to evaluate the allocations
as C++.
Committed on behalf of: Dean De Leo <dean@codeplay.com>
llvm-svn: 263129
Diffstat (limited to 'llvm/lib/Transforms/Utils/Utils.cpp')
0 files changed, 0 insertions, 0 deletions

