Skip generating RenderScript annotations on implicitly defined functions

Implicitly defined functions like .rs.dtor set off assertions in Slang
backend due to lack of source location information under debug builds.

However, before this change there was no good way to check if a function
was generated implicitly by slang or defined by the user.

This change makes the slang backend aware of these declarations by setting
.rs.dtor to implicit and later skip generating annotations for them.

Bug: http://b/19545955
Test: RSTest, CTS, slang test.py on aosp_angler-eng

Change-Id: Ib5e2957906c8f30cdc08fdb207bd47fc50bc44e3
2 files changed