Imported Upstream version 5.18.0.225

Former-commit-id: 10196d987d5fc5564b9d3b33b1fdf13190f4d0b5
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2018-12-21 19:01:49 +00:00
parent 32d52ae4ca
commit f32dbaf0b2
28477 changed files with 3866961 additions and 38 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