Imported Upstream version 6.0.0.172

Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2019-04-12 14:10:50 +00:00
parent 8016999e4d
commit 64ac736ec5
32155 changed files with 3981439 additions and 75368 deletions

10
external/llvm/lib/Linker/CMakeLists.txt vendored Normal file
View File

@@ -0,0 +1,10 @@
add_llvm_library(LLVMLinker
IRMover.cpp
LinkModules.cpp
ADDITIONAL_HEADER_DIRS
${LLVM_MAIN_INCLUDE_DIR}/llvm/Linker
DEPENDS
intrinsics_gen
)

1464
external/llvm/lib/Linker/IRMover.cpp vendored Normal file

File diff suppressed because it is too large Load Diff

22
external/llvm/lib/Linker/LLVMBuild.txt vendored Normal file
View File

@@ -0,0 +1,22 @@
;===- ./lib/Linker/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 = Linker
parent = Libraries
required_libraries = Core Support TransformUtils

View File

@@ -0,0 +1,25 @@
//===- LinkDiagnosticInfo.h -------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_LIB_LINKER_LINK_DIAGNOSTIC_INFO_H
#define LLVM_LIB_LINKER_LINK_DIAGNOSTIC_INFO_H
#include "llvm/IR/DiagnosticInfo.h"
namespace llvm {
class LinkDiagnosticInfo : public DiagnosticInfo {
const Twine &Msg;
public:
LinkDiagnosticInfo(DiagnosticSeverity Severity, const Twine &Msg);
void print(DiagnosticPrinter &DP) const override;
};
}
#endif

606
external/llvm/lib/Linker/LinkModules.cpp vendored Normal file

File diff suppressed because it is too large Load Diff