Merge "Use RenderScript DWARF tag for bcc generated code."
am: 2413a9a
* commit '2413a9acf2399c145068e85ce38a80c2fc6d612a':
Use RenderScript DWARF tag for bcc generated code.
Change-Id: I81a4012e0ecd254a45d7443f46875184acd302c6
diff --git a/lib/Renderscript/RSAddDebugInfoPass.cpp b/lib/Renderscript/RSAddDebugInfoPass.cpp
index 27aa5de..8a8cec8 100644
--- a/lib/Renderscript/RSAddDebugInfoPass.cpp
+++ b/lib/Renderscript/RSAddDebugInfoPass.cpp
@@ -94,7 +94,7 @@
llvm::LLVMContext &ctx = Module.getContext();
// Start generating debug information for bcc-generated code.
- DebugInfo.createCompileUnit(llvm::dwarf::DW_LANG_C99,
+ DebugInfo.createCompileUnit(llvm::dwarf::DW_LANG_GOOGLE_RenderScript,
DEBUG_GENERATED_FILE, DEBUG_SOURCE_PATH,
"RS", false, "", 0);