diff options
author | Pirama Arumuga Nainar <pirama@google.com> | 2016-06-21 21:35:11 +0000 |
---|---|---|
committer | Pirama Arumuga Nainar <pirama@google.com> | 2016-06-21 21:35:11 +0000 |
commit | b4fa826a038f4e5963f4f39c927f536353c1f88f (patch) | |
tree | 4ef92ae2d48b870fb168be78ea6dde904b872571 /test | |
parent | 3870f43fc540a4b8f5431f1844227a40c0a82cdd (diff) |
Emit the DWARF tag for the RenderScript language
Summary:
If the RenderScript LangOpt is set, either via '-x renderscript' or the '.rs'
file extension, set the DWARF language tag to be that of RenderScript.
Reviewers: rsmith
Subscribers: cfe-commits, srhines
Differential Revision: http://reviews.llvm.org/D21451
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@273321 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/debug-info-renderscript-tag.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CodeGen/debug-info-renderscript-tag.rs b/test/CodeGen/debug-info-renderscript-tag.rs new file mode 100644 index 0000000000..ded650d966 --- /dev/null +++ b/test/CodeGen/debug-info-renderscript-tag.rs @@ -0,0 +1,3 @@ +// RUN: %clang -emit-llvm -S -g %s -o - | FileCheck %s + +// CHECK: !DICompileUnit(language: DW_LANG_GOOGLE_RenderScript{{.*}}) |