mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Move DebugInfo to DebugInfo/DWARF.
In preparation for adding PDB support to LLVM, this moves the DWARF parsing code to its own subdirectory under DebugInfo, and renames LLVMDebugInfo to LLVMDebugInfoDWARF. This is purely a mechanical / build system change. Differential Revision: http://reviews.llvm.org/D7269 Reviewed by: Eric Christopher llvm-svn: 227586
This commit is contained in:
parent
adcde70583
commit
9a7f59f9ea
@ -8,8 +8,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/ADT/SmallVector.h"
|
||||
#include "llvm/DebugInfo/DWARFFormValue.h"
|
||||
#include "llvm/DebugInfo/DWARFRelocMap.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFFormValue.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFRelocMap.h"
|
||||
#include <cstdint>
|
||||
|
||||
namespace llvm {
|
@ -10,7 +10,7 @@
|
||||
#ifndef LLVM_LIB_DEBUGINFO_DWARFCOMPILEUNIT_H
|
||||
#define LLVM_LIB_DEBUGINFO_DWARFCOMPILEUNIT_H
|
||||
|
||||
#include "llvm/DebugInfo/DWARFUnit.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFUnit.h"
|
||||
|
||||
namespace llvm {
|
||||
|
@ -12,15 +12,15 @@
|
||||
|
||||
#include "llvm/ADT/MapVector.h"
|
||||
#include "llvm/ADT/SmallVector.h"
|
||||
#include "llvm/DebugInfo/DIContext.h"
|
||||
#include "llvm/DebugInfo/DWARFCompileUnit.h"
|
||||
#include "llvm/DebugInfo/DWARFDebugAranges.h"
|
||||
#include "llvm/DebugInfo/DWARFDebugFrame.h"
|
||||
#include "llvm/DebugInfo/DWARFDebugLine.h"
|
||||
#include "llvm/DebugInfo/DWARFDebugLoc.h"
|
||||
#include "llvm/DebugInfo/DWARFDebugRangeList.h"
|
||||
#include "llvm/DebugInfo/DWARFSection.h"
|
||||
#include "llvm/DebugInfo/DWARFTypeUnit.h"
|
||||
#include "llvm/DebugInfo/DWARF/DIContext.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFCompileUnit.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFDebugAranges.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFDebugFrame.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFDebugLine.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFDebugLoc.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFDebugRangeList.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFSection.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFTypeUnit.h"
|
||||
#include <vector>
|
||||
|
||||
namespace llvm {
|
@ -10,7 +10,7 @@
|
||||
#ifndef LLVM_LIB_DEBUGINFO_DWARFDEBUGABBREV_H
|
||||
#define LLVM_LIB_DEBUGINFO_DWARFDEBUGABBREV_H
|
||||
|
||||
#include "llvm/DebugInfo/DWARFAbbreviationDeclaration.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h"
|
||||
#include <list>
|
||||
#include <map>
|
||||
#include <vector>
|
@ -11,9 +11,9 @@
|
||||
#define LLVM_LIB_DEBUGINFO_DWARFDEBUGINFOENTRY_H
|
||||
|
||||
#include "llvm/ADT/SmallVector.h"
|
||||
#include "llvm/DebugInfo/DIContext.h"
|
||||
#include "llvm/DebugInfo/DWARFAbbreviationDeclaration.h"
|
||||
#include "llvm/DebugInfo/DWARFDebugRangeList.h"
|
||||
#include "llvm/DebugInfo/DWARF/DIContext.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFDebugRangeList.h"
|
||||
#include "llvm/Support/DataTypes.h"
|
||||
|
||||
namespace llvm {
|
@ -10,8 +10,8 @@
|
||||
#ifndef LLVM_LIB_DEBUGINFO_DWARFDEBUGLINE_H
|
||||
#define LLVM_LIB_DEBUGINFO_DWARFDEBUGLINE_H
|
||||
|
||||
#include "llvm/DebugInfo/DIContext.h"
|
||||
#include "llvm/DebugInfo/DWARFRelocMap.h"
|
||||
#include "llvm/DebugInfo/DWARF/DIContext.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFRelocMap.h"
|
||||
#include "llvm/Support/DataExtractor.h"
|
||||
#include <map>
|
||||
#include <string>
|
@ -11,7 +11,7 @@
|
||||
#define LLVM_LIB_DEBUGINFO_DWARFDEBUGLOC_H
|
||||
|
||||
#include "llvm/ADT/SmallVector.h"
|
||||
#include "llvm/DebugInfo/DWARFRelocMap.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFRelocMap.h"
|
||||
#include "llvm/Support/DataExtractor.h"
|
||||
|
||||
namespace llvm {
|
@ -10,7 +10,7 @@
|
||||
#ifndef LLVM_LIB_DEBUGINFO_DWARFSECTION_H
|
||||
#define LLVM_LIB_DEBUGINFO_DWARFSECTION_H
|
||||
|
||||
#include "llvm/DebugInfo/DWARFRelocMap.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFRelocMap.h"
|
||||
|
||||
namespace llvm {
|
||||
|
@ -10,7 +10,7 @@
|
||||
#ifndef LLVM_LIB_DEBUGINFO_DWARFTYPEUNIT_H
|
||||
#define LLVM_LIB_DEBUGINFO_DWARFTYPEUNIT_H
|
||||
|
||||
#include "llvm/DebugInfo/DWARFUnit.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFUnit.h"
|
||||
|
||||
namespace llvm {
|
||||
|
@ -10,11 +10,11 @@
|
||||
#ifndef LLVM_LIB_DEBUGINFO_DWARFUNIT_H
|
||||
#define LLVM_LIB_DEBUGINFO_DWARFUNIT_H
|
||||
|
||||
#include "llvm/DebugInfo/DWARFDebugAbbrev.h"
|
||||
#include "llvm/DebugInfo/DWARFDebugInfoEntry.h"
|
||||
#include "llvm/DebugInfo/DWARFDebugRangeList.h"
|
||||
#include "llvm/DebugInfo/DWARFRelocMap.h"
|
||||
#include "llvm/DebugInfo/DWARFSection.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFDebugAbbrev.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFDebugInfoEntry.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFDebugRangeList.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFRelocMap.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFSection.h"
|
||||
#include <vector>
|
||||
|
||||
namespace llvm {
|
@ -1,19 +1,2 @@
|
||||
add_llvm_library(LLVMDebugInfo
|
||||
DIContext.cpp
|
||||
DWARFAbbreviationDeclaration.cpp
|
||||
DWARFAcceleratorTable.cpp
|
||||
DWARFCompileUnit.cpp
|
||||
DWARFContext.cpp
|
||||
DWARFDebugAbbrev.cpp
|
||||
DWARFDebugArangeSet.cpp
|
||||
DWARFDebugAranges.cpp
|
||||
DWARFDebugFrame.cpp
|
||||
DWARFDebugInfoEntry.cpp
|
||||
DWARFDebugLine.cpp
|
||||
DWARFDebugLoc.cpp
|
||||
DWARFDebugRangeList.cpp
|
||||
DWARFFormValue.cpp
|
||||
DWARFTypeUnit.cpp
|
||||
DWARFUnit.cpp
|
||||
SyntaxHighlighting.cpp
|
||||
)
|
||||
|
||||
add_subdirectory(DWARF)
|
19
lib/DebugInfo/DWARF/CMakeLists.txt
Normal file
19
lib/DebugInfo/DWARF/CMakeLists.txt
Normal file
@ -0,0 +1,19 @@
|
||||
add_llvm_library(LLVMDebugInfoDWARF
|
||||
DIContext.cpp
|
||||
DWARFAbbreviationDeclaration.cpp
|
||||
DWARFAcceleratorTable.cpp
|
||||
DWARFCompileUnit.cpp
|
||||
DWARFContext.cpp
|
||||
DWARFDebugAbbrev.cpp
|
||||
DWARFDebugArangeSet.cpp
|
||||
DWARFDebugAranges.cpp
|
||||
DWARFDebugFrame.cpp
|
||||
DWARFDebugInfoEntry.cpp
|
||||
DWARFDebugLine.cpp
|
||||
DWARFDebugLoc.cpp
|
||||
DWARFDebugRangeList.cpp
|
||||
DWARFFormValue.cpp
|
||||
DWARFTypeUnit.cpp
|
||||
DWARFUnit.cpp
|
||||
SyntaxHighlighting.cpp
|
||||
)
|
@ -7,8 +7,8 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/DebugInfo/DIContext.h"
|
||||
#include "llvm/DebugInfo/DWARFContext.h"
|
||||
#include "llvm/DebugInfo/DWARF/DIContext.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFContext.h"
|
||||
using namespace llvm;
|
||||
|
||||
DIContext::~DIContext() {}
|
@ -7,7 +7,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/DebugInfo/DWARFAbbreviationDeclaration.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h"
|
||||
#include "llvm/Support/Dwarf.h"
|
||||
#include "llvm/Support/Format.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
@ -7,7 +7,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/DebugInfo/DWARFAcceleratorTable.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h"
|
||||
#include "llvm/Support/Dwarf.h"
|
||||
#include "llvm/Support/Format.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
@ -7,7 +7,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/DebugInfo/DWARFCompileUnit.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFCompileUnit.h"
|
||||
#include "llvm/Support/Format.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
|
@ -7,11 +7,11 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/DebugInfo/DWARFContext.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFContext.h"
|
||||
#include "llvm/ADT/SmallString.h"
|
||||
#include "llvm/ADT/StringSwitch.h"
|
||||
#include "llvm/DebugInfo/DWARFAcceleratorTable.h"
|
||||
#include "llvm/DebugInfo/DWARFDebugArangeSet.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFDebugArangeSet.h"
|
||||
#include "llvm/Support/Compression.h"
|
||||
#include "llvm/Support/Dwarf.h"
|
||||
#include "llvm/Support/Format.h"
|
@ -7,7 +7,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/DebugInfo/DWARFDebugAbbrev.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFDebugAbbrev.h"
|
||||
#include "llvm/Support/Format.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
using namespace llvm;
|
@ -7,7 +7,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/DebugInfo/DWARFDebugArangeSet.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFDebugArangeSet.h"
|
||||
#include "llvm/Support/Format.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
#include <algorithm>
|
@ -7,10 +7,10 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/DebugInfo/DWARFDebugAranges.h"
|
||||
#include "llvm/DebugInfo/DWARFCompileUnit.h"
|
||||
#include "llvm/DebugInfo/DWARFContext.h"
|
||||
#include "llvm/DebugInfo/DWARFDebugArangeSet.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFDebugAranges.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFCompileUnit.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFContext.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFDebugArangeSet.h"
|
||||
#include "llvm/Support/Format.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
#include <algorithm>
|
@ -7,7 +7,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/DebugInfo/DWARFDebugFrame.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFDebugFrame.h"
|
||||
#include "llvm/ADT/SmallString.h"
|
||||
#include "llvm/Support/DataTypes.h"
|
||||
#include "llvm/Support/Dwarf.h"
|
@ -8,11 +8,11 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "SyntaxHighlighting.h"
|
||||
#include "llvm/DebugInfo/DWARFCompileUnit.h"
|
||||
#include "llvm/DebugInfo/DWARFContext.h"
|
||||
#include "llvm/DebugInfo/DWARFDebugAbbrev.h"
|
||||
#include "llvm/DebugInfo/DWARFDebugInfoEntry.h"
|
||||
#include "llvm/DebugInfo/DWARFFormValue.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFCompileUnit.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFContext.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFDebugAbbrev.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFDebugInfoEntry.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFFormValue.h"
|
||||
#include "llvm/Support/DataTypes.h"
|
||||
#include "llvm/Support/Debug.h"
|
||||
#include "llvm/Support/Dwarf.h"
|
@ -7,7 +7,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/DebugInfo/DWARFDebugLine.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFDebugLine.h"
|
||||
#include "llvm/Support/Dwarf.h"
|
||||
#include "llvm/Support/Format.h"
|
||||
#include "llvm/Support/Path.h"
|
@ -7,7 +7,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/DebugInfo/DWARFDebugLoc.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFDebugLoc.h"
|
||||
#include "llvm/Support/Compiler.h"
|
||||
#include "llvm/Support/Dwarf.h"
|
||||
#include "llvm/Support/Format.h"
|
@ -7,7 +7,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/DebugInfo/DWARFDebugRangeList.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFDebugRangeList.h"
|
||||
#include "llvm/Support/Format.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
|
@ -10,9 +10,9 @@
|
||||
#include "SyntaxHighlighting.h"
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
#include "llvm/DebugInfo/DWARFCompileUnit.h"
|
||||
#include "llvm/DebugInfo/DWARFContext.h"
|
||||
#include "llvm/DebugInfo/DWARFFormValue.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFCompileUnit.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFContext.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFFormValue.h"
|
||||
#include "llvm/Support/Debug.h"
|
||||
#include "llvm/Support/Dwarf.h"
|
||||
#include "llvm/Support/Format.h"
|
@ -7,7 +7,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/DebugInfo/DWARFTypeUnit.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFTypeUnit.h"
|
||||
#include "llvm/Support/Format.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
|
@ -7,9 +7,9 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/DebugInfo/DWARFUnit.h"
|
||||
#include "llvm/DebugInfo/DWARFContext.h"
|
||||
#include "llvm/DebugInfo/DWARFFormValue.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFUnit.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFContext.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFFormValue.h"
|
||||
#include "llvm/Support/Dwarf.h"
|
||||
#include "llvm/Support/Path.h"
|
||||
#include <cstdio>
|
22
lib/DebugInfo/DWARF/LLVMBuild.txt
Normal file
22
lib/DebugInfo/DWARF/LLVMBuild.txt
Normal file
@ -0,0 +1,22 @@
|
||||
;===- ./lib/DebugInfo/DWARF/LLVMBuild.txt ----------------------*- Conf -*--===;
|
||||
;
|
||||
; The LLVM Compiler Infrastructure
|
||||
;
|
||||
; This file is distributed under the University of Illinois Open Source
|
||||
; License. See LICENSE.TXT for details.
|
||||
;
|
||||
;===------------------------------------------------------------------------===;
|
||||
;
|
||||
; This is an LLVMBuild description file for the components in this subdirectory.
|
||||
;
|
||||
; For more information on the LLVMBuild system, please see:
|
||||
;
|
||||
; http://llvm.org/docs/LLVMBuild.html
|
||||
;
|
||||
;===------------------------------------------------------------------------===;
|
||||
|
||||
[component_0]
|
||||
type = Library
|
||||
name = DebugInfoDWARF
|
||||
parent = DebugInfo
|
||||
required_libraries = Object Support
|
14
lib/DebugInfo/DWARF/Makefile
Normal file
14
lib/DebugInfo/DWARF/Makefile
Normal file
@ -0,0 +1,14 @@
|
||||
##===- lib/DebugInfo/DWARF/Makefile ------------------------*- Makefile -*-===##
|
||||
#
|
||||
# The LLVM Compiler Infrastructure
|
||||
#
|
||||
# This file is distributed under the University of Illinois Open Source
|
||||
# License. See LICENSE.TXT for details.
|
||||
#
|
||||
##===----------------------------------------------------------------------===##
|
||||
|
||||
LEVEL = ../../..
|
||||
LIBRARYNAME = LLVMDebugInfoDWARF
|
||||
BUILD_ARCHIVE := 1
|
||||
|
||||
include $(LEVEL)/Makefile.common
|
1
lib/DebugInfo/DWARF/module.modulemap
Normal file
1
lib/DebugInfo/DWARF/module.modulemap
Normal file
@ -0,0 +1 @@
|
||||
module DebugInfoDWARF { requires cplusplus umbrella "." module * { export * } }
|
@ -15,8 +15,10 @@
|
||||
;
|
||||
;===------------------------------------------------------------------------===;
|
||||
|
||||
[common]
|
||||
subdirectories = DWARF
|
||||
|
||||
[component_0]
|
||||
type = Library
|
||||
type = Group
|
||||
name = DebugInfo
|
||||
parent = Libraries
|
||||
required_libraries = Object Support
|
||||
parent = $ROOT
|
||||
|
@ -6,9 +6,10 @@
|
||||
# License. See LICENSE.TXT for details.
|
||||
#
|
||||
##===----------------------------------------------------------------------===##
|
||||
|
||||
LEVEL = ../..
|
||||
LIBRARYNAME = LLVMDebugInfo
|
||||
BUILD_ARCHIVE := 1
|
||||
|
||||
include $(LEVEL)/Makefile.config
|
||||
|
||||
PARALLEL_DIRS := DWARF
|
||||
|
||||
include $(LEVEL)/Makefile.common
|
@ -1 +0,0 @@
|
||||
module DebugInfo { requires cplusplus umbrella "." module * { export * } }
|
@ -17,7 +17,7 @@
|
||||
#include "IntelJITEventsWrapper.h"
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
#include "llvm/CodeGen/MachineFunction.h"
|
||||
#include "llvm/DebugInfo/DIContext.h"
|
||||
#include "llvm/DebugInfo/DWARF/DIContext.h"
|
||||
#include "llvm/ExecutionEngine/JITEventListener.h"
|
||||
#include "llvm/IR/DebugInfo.h"
|
||||
#include "llvm/IR/Function.h"
|
||||
|
@ -21,4 +21,4 @@
|
||||
type = OptionalLibrary
|
||||
name = IntelJITEvents
|
||||
parent = ExecutionEngine
|
||||
required_libraries = Core DebugInfo Support
|
||||
required_libraries = Core DebugInfoDWARF Support
|
||||
|
@ -10,8 +10,8 @@ LEVEL = ..
|
||||
|
||||
include $(LEVEL)/Makefile.config
|
||||
|
||||
PARALLEL_DIRS := IR AsmParser Bitcode Analysis Transforms CodeGen Target \
|
||||
ExecutionEngine Linker LTO MC Object Option DebugInfo \
|
||||
PARALLEL_DIRS := IR AsmParser Bitcode Analysis Transforms CodeGen Target \
|
||||
ExecutionEngine Linker LTO MC Object Option DebugInfo \
|
||||
IRReader LineEditor ProfileData
|
||||
|
||||
include $(LEVEL)/Makefile.common
|
||||
|
@ -1,5 +1,5 @@
|
||||
set(LLVM_LINK_COMPONENTS
|
||||
DebugInfo
|
||||
DebugInfoDWARF
|
||||
Object
|
||||
Support
|
||||
)
|
||||
|
@ -11,8 +11,8 @@
|
||||
#include "BinaryHolder.h"
|
||||
#include "DebugMap.h"
|
||||
#include "dsymutil.h"
|
||||
#include "llvm/DebugInfo/DWARFContext.h"
|
||||
#include "llvm/DebugInfo/DWARFDebugInfoEntry.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFContext.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFDebugInfoEntry.h"
|
||||
#include <string>
|
||||
|
||||
namespace llvm {
|
||||
|
@ -19,4 +19,4 @@
|
||||
type = Tool
|
||||
name = llvm-dsymutil
|
||||
parent = Tools
|
||||
required_libraries = DebugInfo Object Support
|
||||
required_libraries = DebugInfoDWARF Object Support
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
LEVEL := ../..
|
||||
TOOLNAME := llvm-dsymutil
|
||||
LINK_COMPONENTS := DebugInfo Object Support
|
||||
LINK_COMPONENTS := DebugInfoDWARF Object Support
|
||||
|
||||
# This tool has no plugins, optimize startup time.
|
||||
TOOL_NO_EXPORTS := 1
|
||||
|
@ -26,7 +26,7 @@ endif( LLVM_USE_OPROFILE )
|
||||
if( LLVM_USE_INTEL_JITEVENTS )
|
||||
set(LLVM_LINK_COMPONENTS
|
||||
${LLVM_LINK_COMPONENTS}
|
||||
DebugInfo
|
||||
DebugInfoDWARF
|
||||
IntelJITEvents
|
||||
Object
|
||||
)
|
||||
|
@ -1,5 +1,5 @@
|
||||
set(LLVM_LINK_COMPONENTS
|
||||
DebugInfo
|
||||
DebugInfoDWARF
|
||||
Object
|
||||
Support
|
||||
)
|
||||
|
@ -19,4 +19,4 @@
|
||||
type = Tool
|
||||
name = llvm-dwarfdump
|
||||
parent = Tools
|
||||
required_libraries = DebugInfo Object
|
||||
required_libraries = DebugInfoDWARF Object
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
LEVEL := ../..
|
||||
TOOLNAME := llvm-dwarfdump
|
||||
LINK_COMPONENTS := DebugInfo Object
|
||||
LINK_COMPONENTS := DebugInfoDWARF Object
|
||||
|
||||
# This tool has no plugins, optimize startup time.
|
||||
TOOL_NO_EXPORTS := 1
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
#include "llvm/ADT/STLExtras.h"
|
||||
#include "llvm/ADT/Triple.h"
|
||||
#include "llvm/DebugInfo/DIContext.h"
|
||||
#include "llvm/DebugInfo/DWARF/DIContext.h"
|
||||
#include "llvm/Object/ObjectFile.h"
|
||||
#include "llvm/Object/RelocVisitor.h"
|
||||
#include "llvm/Support/CommandLine.h"
|
||||
|
@ -46,7 +46,7 @@ var components = []string{
|
||||
"bitwriter",
|
||||
"codegen",
|
||||
"core",
|
||||
"debuginfo",
|
||||
"debuginfodwarf",
|
||||
"executionengine",
|
||||
"instrumentation",
|
||||
"interpreter",
|
||||
|
@ -1,6 +1,6 @@
|
||||
set(LLVM_LINK_COMPONENTS
|
||||
${LLVM_TARGETS_TO_BUILD}
|
||||
DebugInfo
|
||||
DebugInfoDWARF
|
||||
MC
|
||||
MCDisassembler
|
||||
Object
|
||||
|
@ -19,4 +19,4 @@
|
||||
type = Tool
|
||||
name = llvm-objdump
|
||||
parent = Tools
|
||||
required_libraries = DebugInfo MC MCDisassembler MCParser Object all-targets
|
||||
required_libraries = DebugInfoDWARF MC MCDisassembler MCParser Object all-targets
|
||||
|
@ -17,7 +17,7 @@
|
||||
#include "llvm/ADT/StringExtras.h"
|
||||
#include "llvm/ADT/Triple.h"
|
||||
#include "llvm/Config/config.h"
|
||||
#include "llvm/DebugInfo/DIContext.h"
|
||||
#include "llvm/DebugInfo/DWARF/DIContext.h"
|
||||
#include "llvm/MC/MCAsmInfo.h"
|
||||
#include "llvm/MC/MCContext.h"
|
||||
#include "llvm/MC/MCDisassembler.h"
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
LEVEL := ../..
|
||||
TOOLNAME := llvm-objdump
|
||||
LINK_COMPONENTS := all-targets DebugInfo MC MCParser MCDisassembler Object
|
||||
LINK_COMPONENTS := all-targets DebugInfoDWARF MC MCParser MCDisassembler Object
|
||||
|
||||
# This tool has no plugins, optimize startup time.
|
||||
TOOL_NO_EXPORTS := 1
|
||||
|
@ -1,6 +1,6 @@
|
||||
set(LLVM_LINK_COMPONENTS
|
||||
${LLVM_TARGETS_TO_BUILD}
|
||||
DebugInfo
|
||||
DebugInfoDWARF
|
||||
ExecutionEngine
|
||||
MC
|
||||
Object
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
LEVEL := ../..
|
||||
TOOLNAME := llvm-rtdyld
|
||||
LINK_COMPONENTS := all-targets support MC object RuntimeDyld MCJIT debuginfo
|
||||
LINK_COMPONENTS := all-targets support MC object RuntimeDyld MCJIT DebugInfoDWARF
|
||||
|
||||
# This tool has no plugins, optimize startup time.
|
||||
TOOL_NO_EXPORTS := 1
|
||||
|
@ -12,7 +12,7 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/ADT/StringMap.h"
|
||||
#include "llvm/DebugInfo/DIContext.h"
|
||||
#include "llvm/DebugInfo/DWARF/DIContext.h"
|
||||
#include "llvm/ExecutionEngine/RuntimeDyld.h"
|
||||
#include "llvm/ExecutionEngine/RuntimeDyldChecker.h"
|
||||
#include "llvm/MC/MCAsmInfo.h"
|
||||
|
@ -4,7 +4,7 @@
|
||||
# targets as well. Currently, there is no support for such a build strategy.
|
||||
|
||||
set(LLVM_LINK_COMPONENTS
|
||||
DebugInfo
|
||||
DebugInfoDWARF
|
||||
Object
|
||||
Support
|
||||
)
|
||||
|
@ -14,7 +14,7 @@
|
||||
#define LLVM_TOOLS_LLVM_SYMBOLIZER_LLVMSYMBOLIZE_H
|
||||
|
||||
#include "llvm/ADT/SmallVector.h"
|
||||
#include "llvm/DebugInfo/DIContext.h"
|
||||
#include "llvm/DebugInfo/DWARF/DIContext.h"
|
||||
#include "llvm/Object/MachOUniversal.h"
|
||||
#include "llvm/Object/ObjectFile.h"
|
||||
#include "llvm/Support/DataExtractor.h"
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
LEVEL := ../..
|
||||
TOOLNAME := llvm-symbolizer
|
||||
LINK_COMPONENTS := DebugInfo Object
|
||||
LINK_COMPONENTS := DebugInfoDWARF Object
|
||||
|
||||
# This tool has no plugins, optimize startup time.
|
||||
TOOL_NO_EXPORTS := 1
|
||||
|
@ -1,5 +1,5 @@
|
||||
set(LLVM_LINK_COMPONENTS
|
||||
DebugInfo
|
||||
DebugInfoDWARF
|
||||
)
|
||||
|
||||
set(DebugInfoSources
|
||||
|
@ -7,7 +7,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/DebugInfo/DWARFFormValue.h"
|
||||
#include "llvm/DebugInfo/DWARF/DWARFFormValue.h"
|
||||
#include "llvm/Support/Dwarf.h"
|
||||
#include "gtest/gtest.h"
|
||||
using namespace llvm;
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
LEVEL = ../..
|
||||
TESTNAME = DebugInfo
|
||||
LINK_COMPONENTS := debuginfo object support
|
||||
LINK_COMPONENTS := DebugInfoDWARF object support
|
||||
|
||||
include $(LEVEL)/Makefile.config
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user