LCOV - code coverage report
Current view: top level - lib/Target/AArch64/Disassembler - AArch64ExternalSymbolizer.h (source / functions) Hit Total Coverage
Test: llvm-toolchain.info Lines: 1 1 100.0 %
Date: 2018-10-20 13:21:21 Functions: 0 0 -
Legend: Lines: hit not hit

          Line data    Source code
       1             : //===- AArch64ExternalSymbolizer.h - Symbolizer for AArch64 -----*- C++ -*-===//
       2             : //
       3             : //                     The LLVM Compiler Infrastructure
       4             : //
       5             : // This file is distributed under the University of Illinois Open Source
       6             : // License. See LICENSE.TXT for details.
       7             : //
       8             : //===----------------------------------------------------------------------===//
       9             : //
      10             : // Symbolize AArch64 assembly code during disassembly using callbacks.
      11             : //
      12             : //===----------------------------------------------------------------------===//
      13             : 
      14             : #ifndef LLVM_LIB_TARGET_AARCH64_DISASSEMBLER_AARCH64EXTERNALSYMBOLIZER_H
      15             : #define LLVM_LIB_TARGET_AARCH64_DISASSEMBLER_AARCH64EXTERNALSYMBOLIZER_H
      16             : 
      17             : #include "llvm/MC/MCDisassembler/MCExternalSymbolizer.h"
      18             : 
      19             : namespace llvm {
      20             : 
      21             : class AArch64ExternalSymbolizer : public MCExternalSymbolizer {
      22             : public:
      23             :   AArch64ExternalSymbolizer(MCContext &Ctx,
      24             :                             std::unique_ptr<MCRelocationInfo> RelInfo,
      25             :                             LLVMOpInfoCallback GetOpInfo,
      26             :                             LLVMSymbolLookupCallback SymbolLookUp,
      27             :                             void *DisInfo)
      28             :       : MCExternalSymbolizer(Ctx, std::move(RelInfo), GetOpInfo, SymbolLookUp,
      29           9 :                              DisInfo) {}
      30             : 
      31             :   bool tryAddingSymbolicOperand(MCInst &MI, raw_ostream &CommentStream,
      32             :                                 int64_t Value, uint64_t Address, bool IsBranch,
      33             :                                 uint64_t Offset, uint64_t InstSize) override;
      34             : };
      35             : 
      36             : } // namespace llvm
      37             : 
      38             : #endif

Generated by: LCOV version 1.13