[Lldb-commits] [PATCH] D12962: Use ClangASTContext for compile units with language eLanguageTypeMipsAssembler

Tamas Berghammer via lldb-commits lldb-commits at lists.llvm.org
Mon Sep 21 03:10:21 PDT 2015


This revision was automatically updated to reflect the committed changes.
Closed by commit rL248146: Use ClangASTContext for compile units with language eLanguageTypeMipsAssembler (authored by tberghammer).

Changed prior to commit:
  http://reviews.llvm.org/D12962?vs=35083&id=35218#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D12962

Files:
  lldb/trunk/source/Target/Target.cpp

Index: lldb/trunk/source/Target/Target.cpp
===================================================================
--- lldb/trunk/source/Target/Target.cpp
+++ lldb/trunk/source/Target/Target.cpp
@@ -1898,6 +1898,7 @@
     if (Language::LanguageIsC(language)
        || Language::LanguageIsObjC(language)
        || Language::LanguageIsCPlusPlus(language)
+       || language == eLanguageTypeMipsAssembler // GNU AS and LLVM use it for all assembly code
        || language == eLanguageTypeUnknown)
         return GetScratchClangASTContext(create_on_demand);
     else


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12962.35218.patch
Type: text/x-patch
Size: 565 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150921/99c88367/attachment.bin>


More information about the lldb-commits mailing list