Updated LLVM to take some fixes that make the
Intel disassembler usable.

Also flipped the switch: we are now exclusively
using Disassembler.h instead of
EnhancedDisassembly.h for all disassembly in
LLDB.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151306 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp b/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp
index 70e706b..d879956 100644
--- a/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp
+++ b/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp
@@ -358,7 +358,7 @@
     m_disasm_context = ::LLVMCreateDisasm(arch.GetTriple().getTriple().c_str(), 
                                           (void*)this, 
                                           /*TagType=*/1,
-                                          DisassemblerLLVMC::OpInfoCallback,
+                                          NULL,
                                           DisassemblerLLVMC::SymbolLookupCallback);
     
     if (arch.GetTriple().getArch() == llvm::Triple::arm)
@@ -366,7 +366,7 @@
         m_alternate_disasm_context = ::LLVMCreateDisasm("thumbv7-apple-darwin", 
                                                         (void*)this, 
                                                         /*TagType=*/1,
-                                                        DisassemblerLLVMC::OpInfoCallback,
+                                                        NULL,
                                                         DisassemblerLLVMC::SymbolLookupCallback);
     }
 }
@@ -526,26 +526,14 @@
             else
                 target->GetImages().ResolveFileAddress(ReferenceValue, reference_address);
             
-            if (reference_address.IsValid())
+            if (reference_address.IsValid() && reference_address.GetSection())
             {
-                SymbolContext reference_sc;
-                
-                target->GetImages().ResolveSymbolContextForAddress(reference_address, 
-                                                                   eSymbolContextFunction | eSymbolContextSymbol,
-                                                                   reference_sc);
-                
                 StreamString ss;
                 
-                const bool show_fullpaths = false;
-                const bool show_module = true;
-                const bool show_inlined_frames = false;
-                
-                reference_sc.DumpStopContext(&ss, 
-                                             m_exe_scope, 
-                                             reference_address, 
-                                             show_fullpaths, 
-                                             show_module, 
-                                             show_inlined_frames);
+                reference_address.Dump (&ss, 
+                                        target, 
+                                        Address::DumpStyleResolvedDescriptionNoModule, 
+                                        Address::DumpStyleSectionNameOffset);
                 
                 m_inst->AddReferencedAddress(ss.GetString());
             }