pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lld-git: Add standalone build



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Sat Sep 10 23:36:34 2016 +0200
Changeset:	45c9e1428d8fd2badf11319cc0b9a348c3fcc138

Modified Files:
	lld-git/PLIST
	lld-git/distinfo
Added Files:
	lld-git/patches/patch-CMakeLists.txt
	lld-git/patches/patch-ELF_CMakeLists.txt
	lld-git/patches/patch-lib_ReaderWriter_MachO_MachOLinkingContext.cpp

Log Message:
lld-git: Add standalone build

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=45c9e1428d8fd2badf11319cc0b9a348c3fcc138

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 lld-git/PLIST                                      | 647 ++-------------------
 lld-git/distinfo                                   |   3 +
 lld-git/patches/patch-CMakeLists.txt               | 135 +++++
 lld-git/patches/patch-ELF_CMakeLists.txt           |  11 +
 ...-lib_ReaderWriter_MachO_MachOLinkingContext.cpp |  13 +
 5 files changed, 200 insertions(+), 609 deletions(-)

diffs:
diff --git a/lld-git/PLIST b/lld-git/PLIST
index 7c5ab15..4e02bf6 100644
--- a/lld-git/PLIST
+++ b/lld-git/PLIST
@@ -1,610 +1,39 @@
 @comment $NetBSD$
-bin/lldb
-bin/${PKGNAME}
-bin/lldb-argdumper
-bin/lldb-mi
-bin/lldb-mi-${PKGVERSION}
-bin/lldb-server
-bin/lldb-server-${PKGVERSION}
-include/lldb/API/LLDB.h
-include/lldb/API/SBAddress.h
-include/lldb/API/SBAttachInfo.h
-include/lldb/API/SBBlock.h
-include/lldb/API/SBBreakpoint.h
-include/lldb/API/SBBreakpointLocation.h
-include/lldb/API/SBBroadcaster.h
-include/lldb/API/SBCommandInterpreter.h
-include/lldb/API/SBCommandReturnObject.h
-include/lldb/API/SBCommunication.h
-include/lldb/API/SBCompileUnit.h
-include/lldb/API/SBData.h
-include/lldb/API/SBDebugger.h
-include/lldb/API/SBDeclaration.h
-include/lldb/API/SBDefines.h
-include/lldb/API/SBError.h
-include/lldb/API/SBEvent.h
-include/lldb/API/SBExecutionContext.h
-include/lldb/API/SBExpressionOptions.h
-include/lldb/API/SBFileSpec.h
-include/lldb/API/SBFileSpecList.h
-include/lldb/API/SBFrame.h
-include/lldb/API/SBFunction.h
-include/lldb/API/SBHostOS.h
-include/lldb/API/SBInstruction.h
-include/lldb/API/SBInstructionList.h
-include/lldb/API/SBLanguageRuntime.h
-include/lldb/API/SBLaunchInfo.h
-include/lldb/API/SBLineEntry.h
-include/lldb/API/SBListener.h
-include/lldb/API/SBMemoryRegionInfo.h
-include/lldb/API/SBMemoryRegionInfoList.h
-include/lldb/API/SBModule.h
-include/lldb/API/SBModuleSpec.h
-include/lldb/API/SBPlatform.h
-include/lldb/API/SBProcess.h
-include/lldb/API/SBQueue.h
-include/lldb/API/SBQueueItem.h
-include/lldb/API/SBSection.h
-include/lldb/API/SBSourceManager.h
-include/lldb/API/SBStream.h
-include/lldb/API/SBStringList.h
-include/lldb/API/SBStructuredData.h
-include/lldb/API/SBSymbol.h
-include/lldb/API/SBSymbolContext.h
-include/lldb/API/SBSymbolContextList.h
-include/lldb/API/SBTarget.h
-include/lldb/API/SBThread.h
-include/lldb/API/SBThreadCollection.h
-include/lldb/API/SBThreadPlan.h
-include/lldb/API/SBType.h
-include/lldb/API/SBTypeCategory.h
-include/lldb/API/SBTypeEnumMember.h
-include/lldb/API/SBTypeFilter.h
-include/lldb/API/SBTypeFormat.h
-include/lldb/API/SBTypeNameSpecifier.h
-include/lldb/API/SBTypeSummary.h
-include/lldb/API/SBTypeSynthetic.h
-include/lldb/API/SBUnixSignals.h
-include/lldb/API/SBValue.h
-include/lldb/API/SBValueList.h
-include/lldb/API/SBVariablesOptions.h
-include/lldb/API/SBWatchpoint.h
-include/lldb/API/SystemInitializerFull.h
-include/lldb/Breakpoint/Breakpoint.h
-include/lldb/Breakpoint/BreakpointID.h
-include/lldb/Breakpoint/BreakpointIDList.h
-include/lldb/Breakpoint/BreakpointList.h
-include/lldb/Breakpoint/BreakpointLocation.h
-include/lldb/Breakpoint/BreakpointLocationCollection.h
-include/lldb/Breakpoint/BreakpointLocationList.h
-include/lldb/Breakpoint/BreakpointOptions.h
-include/lldb/Breakpoint/BreakpointResolver.h
-include/lldb/Breakpoint/BreakpointResolverAddress.h
-include/lldb/Breakpoint/BreakpointResolverFileLine.h
-include/lldb/Breakpoint/BreakpointResolverFileRegex.h
-include/lldb/Breakpoint/BreakpointResolverName.h
-include/lldb/Breakpoint/BreakpointSite.h
-include/lldb/Breakpoint/BreakpointSiteList.h
-include/lldb/Breakpoint/Stoppoint.h
-include/lldb/Breakpoint/StoppointCallbackContext.h
-include/lldb/Breakpoint/StoppointLocation.h
-include/lldb/Breakpoint/Watchpoint.h
-include/lldb/Breakpoint/WatchpointList.h
-include/lldb/Breakpoint/WatchpointOptions.h
-include/lldb/Core/Address.h
-include/lldb/Core/AddressRange.h
-include/lldb/Core/AddressResolver.h
-include/lldb/Core/AddressResolverFileLine.h
-include/lldb/Core/AddressResolverName.h
-include/lldb/Core/ArchSpec.h
-include/lldb/Core/Baton.h
-include/lldb/Core/Broadcaster.h
-include/lldb/Core/ClangForward.h
-include/lldb/Core/Communication.h
-include/lldb/Core/Connection.h
-include/lldb/Core/ConnectionMachPort.h
-include/lldb/Core/ConnectionSharedMemory.h
-include/lldb/Core/ConstString.h
-include/lldb/Core/DataBuffer.h
-include/lldb/Core/DataBufferHeap.h
-include/lldb/Core/DataBufferMemoryMap.h
-include/lldb/Core/DataEncoder.h
-include/lldb/Core/DataExtractor.h
-include/lldb/Core/Debugger.h
-include/lldb/Core/Disassembler.h
-include/lldb/Core/EmulateInstruction.h
-include/lldb/Core/Error.h
-include/lldb/Core/Event.h
-include/lldb/Core/FastDemangle.h
-include/lldb/Core/FileLineResolver.h
-include/lldb/Core/FileSpecList.h
-include/lldb/Core/Flags.h
-include/lldb/Core/FormatEntity.h
-include/lldb/Core/History.h
-include/lldb/Core/IOHandler.h
-include/lldb/Core/IOStreamMacros.h
-include/lldb/Core/Listener.h
-include/lldb/Core/LoadedModuleInfoList.h
-include/lldb/Core/Log.h
-include/lldb/Core/Logging.h
-include/lldb/Core/Mangled.h
-include/lldb/Core/MappedHash.h
-include/lldb/Core/Module.h
-include/lldb/Core/ModuleChild.h
-include/lldb/Core/ModuleList.h
-include/lldb/Core/ModuleSpec.h
-include/lldb/Core/Opcode.h
-include/lldb/Core/PluginInterface.h
-include/lldb/Core/PluginManager.h
-include/lldb/Core/RangeMap.h
-include/lldb/Core/RegisterValue.h
-include/lldb/Core/RegularExpression.h
-include/lldb/Core/STLUtils.h
-include/lldb/Core/Scalar.h
-include/lldb/Core/SearchFilter.h
-include/lldb/Core/Section.h
-include/lldb/Core/SourceManager.h
-include/lldb/Core/State.h
-include/lldb/Core/Stream.h
-include/lldb/Core/StreamAsynchronousIO.h
-include/lldb/Core/StreamBuffer.h
-include/lldb/Core/StreamCallback.h
-include/lldb/Core/StreamFile.h
-include/lldb/Core/StreamGDBRemote.h
-include/lldb/Core/StreamString.h
-include/lldb/Core/StreamTee.h
-include/lldb/Core/StringList.h
-include/lldb/Core/StructuredData.h
-include/lldb/Core/ThreadSafeDenseMap.h
-include/lldb/Core/ThreadSafeDenseSet.h
-include/lldb/Core/ThreadSafeSTLMap.h
-include/lldb/Core/ThreadSafeSTLVector.h
-include/lldb/Core/ThreadSafeValue.h
-include/lldb/Core/Timer.h
-include/lldb/Core/UUID.h
-include/lldb/Core/UniqueCStringMap.h
-include/lldb/Core/UserID.h
-include/lldb/Core/UserSettingsController.h
-include/lldb/Core/VMRange.h
-include/lldb/Core/Value.h
-include/lldb/Core/ValueObject.h
-include/lldb/Core/ValueObjectCast.h
-include/lldb/Core/ValueObjectChild.h
-include/lldb/Core/ValueObjectConstResult.h
-include/lldb/Core/ValueObjectConstResultCast.h
-include/lldb/Core/ValueObjectConstResultChild.h
-include/lldb/Core/ValueObjectConstResultImpl.h
-include/lldb/Core/ValueObjectDynamicValue.h
-include/lldb/Core/ValueObjectList.h
-include/lldb/Core/ValueObjectMemory.h
-include/lldb/Core/ValueObjectRegister.h
-include/lldb/Core/ValueObjectSyntheticFilter.h
-include/lldb/Core/ValueObjectVariable.h
-include/lldb/Core/dwarf.h
-include/lldb/DataFormatters/CXXFunctionPointer.h
-include/lldb/DataFormatters/DataVisualization.h
-include/lldb/DataFormatters/DumpValueObjectOptions.h
-include/lldb/DataFormatters/FormatCache.h
-include/lldb/DataFormatters/FormatClasses.h
-include/lldb/DataFormatters/FormatManager.h
-include/lldb/DataFormatters/FormattersContainer.h
-include/lldb/DataFormatters/FormattersHelpers.h
-include/lldb/DataFormatters/LanguageCategory.h
-include/lldb/DataFormatters/StringPrinter.h
-include/lldb/DataFormatters/TypeCategory.h
-include/lldb/DataFormatters/TypeCategoryMap.h
-include/lldb/DataFormatters/TypeFormat.h
-include/lldb/DataFormatters/TypeSummary.h
-include/lldb/DataFormatters/TypeSynthetic.h
-include/lldb/DataFormatters/TypeValidator.h
-include/lldb/DataFormatters/ValueObjectPrinter.h
-include/lldb/DataFormatters/VectorIterator.h
-include/lldb/DataFormatters/VectorType.h
-include/lldb/Expression/DWARFExpression.h
-include/lldb/Expression/DiagnosticManager.h
-include/lldb/Expression/Expression.h
-include/lldb/Expression/ExpressionParser.h
-include/lldb/Expression/ExpressionSourceCode.h
-include/lldb/Expression/ExpressionTypeSystemHelper.h
-include/lldb/Expression/ExpressionVariable.h
-include/lldb/Expression/FunctionCaller.h
-include/lldb/Expression/IRDynamicChecks.h
-include/lldb/Expression/IRExecutionUnit.h
-include/lldb/Expression/IRInterpreter.h
-include/lldb/Expression/IRMemoryMap.h
-include/lldb/Expression/LLVMUserExpression.h
-include/lldb/Expression/Materializer.h
-include/lldb/Expression/REPL.h
-include/lldb/Expression/UserExpression.h
-include/lldb/Expression/UtilityFunction.h
-include/lldb/Host/Config.h
-include/lldb/Host/ConnectionFileDescriptor.h
-include/lldb/Host/Debug.h
-include/lldb/Host/Editline.h
-include/lldb/Host/Endian.h
-include/lldb/Host/File.h
-include/lldb/Host/FileCache.h
-include/lldb/Host/FileSpec.h
-include/lldb/Host/FileSystem.h
-include/lldb/Host/Host.h
-include/lldb/Host/HostGetOpt.h
-include/lldb/Host/HostInfo.h
-include/lldb/Host/HostInfoBase.h
-include/lldb/Host/HostNativeProcess.h
-include/lldb/Host/HostNativeProcessBase.h
-include/lldb/Host/HostNativeThread.h
-include/lldb/Host/HostNativeThreadBase.h
-include/lldb/Host/HostNativeThreadForward.h
-include/lldb/Host/HostProcess.h
-include/lldb/Host/HostThread.h
-include/lldb/Host/IOObject.h
-include/lldb/Host/LockFile.h
-include/lldb/Host/LockFileBase.h
-include/lldb/Host/MainLoop.h
-include/lldb/Host/MainLoopBase.h
-include/lldb/Host/MonitoringProcessLauncher.h
-include/lldb/Host/OptionParser.h
-include/lldb/Host/Pipe.h
-include/lldb/Host/PipeBase.h
-include/lldb/Host/PosixApi.h
-include/lldb/Host/Predicate.h
-include/lldb/Host/ProcessLauncher.h
-include/lldb/Host/ProcessRunLock.h
-include/lldb/Host/Socket.h
-include/lldb/Host/SocketAddress.h
-include/lldb/Host/StringConvert.h
-include/lldb/Host/Symbols.h
-include/lldb/Host/Terminal.h
-include/lldb/Host/ThisThread.h
-include/lldb/Host/ThreadLauncher.h
-include/lldb/Host/Time.h
-include/lldb/Host/TimeValue.h
-include/lldb/Host/XML.h
-include/lldb/Host/android/Config.h
-include/lldb/Host/android/HostInfoAndroid.h
-include/lldb/Host/common/GetOptInc.h
-include/lldb/Host/common/NativeBreakpoint.h
-include/lldb/Host/common/NativeBreakpointList.h
-include/lldb/Host/common/NativeProcessProtocol.h
-include/lldb/Host/common/NativeRegisterContext.h
-include/lldb/Host/common/NativeRegisterContextRegisterInfo.h
-include/lldb/Host/common/NativeThreadProtocol.h
-include/lldb/Host/common/NativeWatchpointList.h
-include/lldb/Host/common/SoftwareBreakpoint.h
-include/lldb/Host/common/TCPSocket.h
-include/lldb/Host/common/UDPSocket.h
-include/lldb/Host/freebsd/Config.h
-include/lldb/Host/freebsd/HostInfoFreeBSD.h
-include/lldb/Host/freebsd/HostThreadFreeBSD.h
-include/lldb/Host/linux/AbstractSocket.h
-include/lldb/Host/linux/Config.h
-include/lldb/Host/linux/HostInfoLinux.h
-include/lldb/Host/linux/HostThreadLinux.h
-include/lldb/Host/linux/Personality.h
-include/lldb/Host/linux/ProcessLauncherLinux.h
-include/lldb/Host/linux/Ptrace.h
-include/lldb/Host/linux/Uio.h
-include/lldb/Host/macosx/Config.h
-include/lldb/Host/macosx/HostInfoMacOSX.h
-include/lldb/Host/macosx/HostThreadMacOSX.h
-include/lldb/Host/mingw/Config.h
-include/lldb/Host/msvc/Config.h
-include/lldb/Host/netbsd/Config.h
-include/lldb/Host/netbsd/HostInfoNetBSD.h
-include/lldb/Host/netbsd/HostThreadNetBSD.h
-include/lldb/Host/posix/ConnectionFileDescriptorPosix.h
-include/lldb/Host/posix/DomainSocket.h
-include/lldb/Host/posix/Fcntl.h
-include/lldb/Host/posix/HostInfoPosix.h
-include/lldb/Host/posix/HostProcessPosix.h
-include/lldb/Host/posix/HostThreadPosix.h
-include/lldb/Host/posix/LockFilePosix.h
-include/lldb/Host/posix/MainLoopPosix.h
-include/lldb/Host/posix/PipePosix.h
-include/lldb/Host/posix/ProcessLauncherPosix.h
-include/lldb/Host/windows/AutoHandle.h
-include/lldb/Host/windows/ConnectionGenericFileWindows.h
-include/lldb/Host/windows/HostInfoWindows.h
-include/lldb/Host/windows/HostProcessWindows.h
-include/lldb/Host/windows/HostThreadWindows.h
-include/lldb/Host/windows/LockFileWindows.h
-include/lldb/Host/windows/PipeWindows.h
-include/lldb/Host/windows/PosixApi.h
-include/lldb/Host/windows/ProcessLauncherWindows.h
-include/lldb/Host/windows/editlinewin.h
-include/lldb/Host/windows/windows.h
-include/lldb/Initialization/SystemInitializer.h
-include/lldb/Initialization/SystemInitializerCommon.h
-include/lldb/Initialization/SystemLifetimeManager.h
-include/lldb/Interpreter/Args.h
-include/lldb/Interpreter/CommandAlias.h
-include/lldb/Interpreter/CommandCompletions.h
-include/lldb/Interpreter/CommandHistory.h
-include/lldb/Interpreter/CommandInterpreter.h
-include/lldb/Interpreter/CommandObject.h
-include/lldb/Interpreter/CommandObjectMultiword.h
-include/lldb/Interpreter/CommandObjectRegexCommand.h
-include/lldb/Interpreter/CommandOptionValidators.h
-include/lldb/Interpreter/CommandReturnObject.h
-include/lldb/Interpreter/OptionGroupArchitecture.h
-include/lldb/Interpreter/OptionGroupBoolean.h
-include/lldb/Interpreter/OptionGroupFile.h
-include/lldb/Interpreter/OptionGroupFormat.h
-include/lldb/Interpreter/OptionGroupOutputFile.h
-include/lldb/Interpreter/OptionGroupPlatform.h
-include/lldb/Interpreter/OptionGroupString.h
-include/lldb/Interpreter/OptionGroupUInt64.h
-include/lldb/Interpreter/OptionGroupUUID.h
-include/lldb/Interpreter/OptionGroupValueObjectDisplay.h
-include/lldb/Interpreter/OptionGroupVariable.h
-include/lldb/Interpreter/OptionGroupWatchpoint.h
-include/lldb/Interpreter/OptionValue.h
-include/lldb/Interpreter/OptionValueArch.h
-include/lldb/Interpreter/OptionValueArgs.h
-include/lldb/Interpreter/OptionValueArray.h
-include/lldb/Interpreter/OptionValueBoolean.h
-include/lldb/Interpreter/OptionValueChar.h
-include/lldb/Interpreter/OptionValueDictionary.h
-include/lldb/Interpreter/OptionValueEnumeration.h
-include/lldb/Interpreter/OptionValueFileSpec.h
-include/lldb/Interpreter/OptionValueFileSpecList.h
-include/lldb/Interpreter/OptionValueFormat.h
-include/lldb/Interpreter/OptionValueFormatEntity.h
-include/lldb/Interpreter/OptionValueLanguage.h
-include/lldb/Interpreter/OptionValuePathMappings.h
-include/lldb/Interpreter/OptionValueProperties.h
-include/lldb/Interpreter/OptionValueRegex.h
-include/lldb/Interpreter/OptionValueSInt64.h
-include/lldb/Interpreter/OptionValueString.h
-include/lldb/Interpreter/OptionValueUInt64.h
-include/lldb/Interpreter/OptionValueUUID.h
-include/lldb/Interpreter/OptionValues.h
-include/lldb/Interpreter/Options.h
-include/lldb/Interpreter/Property.h
-include/lldb/Interpreter/ScriptInterpreter.h
-include/lldb/Symbol/ArmUnwindInfo.h
-include/lldb/Symbol/Block.h
-include/lldb/Symbol/ClangASTContext.h
-include/lldb/Symbol/ClangASTImporter.h
-include/lldb/Symbol/ClangExternalASTSourceCallbacks.h
-include/lldb/Symbol/ClangExternalASTSourceCommon.h
-include/lldb/Symbol/ClangUtil.h
-include/lldb/Symbol/CompactUnwindInfo.h
-include/lldb/Symbol/CompileUnit.h
-include/lldb/Symbol/CompilerDecl.h
-include/lldb/Symbol/CompilerDeclContext.h
-include/lldb/Symbol/CompilerType.h
-include/lldb/Symbol/DWARFCallFrameInfo.h
-include/lldb/Symbol/DebugMacros.h
-include/lldb/Symbol/DeclVendor.h
-include/lldb/Symbol/Declaration.h
-include/lldb/Symbol/FuncUnwinders.h
-include/lldb/Symbol/Function.h
-include/lldb/Symbol/GoASTContext.h
-include/lldb/Symbol/JavaASTContext.h
-include/lldb/Symbol/LineEntry.h
-include/lldb/Symbol/LineTable.h
-include/lldb/Symbol/OCamlASTContext.h
-include/lldb/Symbol/ObjectContainer.h
-include/lldb/Symbol/ObjectFile.h
-include/lldb/Symbol/Symbol.h
-include/lldb/Symbol/SymbolContext.h
-include/lldb/Symbol/SymbolContextScope.h
-include/lldb/Symbol/SymbolFile.h
-include/lldb/Symbol/SymbolVendor.h
-include/lldb/Symbol/Symtab.h
-include/lldb/Symbol/TaggedASTType.h
-include/lldb/Symbol/Type.h
-include/lldb/Symbol/TypeList.h
-include/lldb/Symbol/TypeMap.h
-include/lldb/Symbol/TypeSystem.h
-include/lldb/Symbol/UnwindPlan.h
-include/lldb/Symbol/UnwindTable.h
-include/lldb/Symbol/Variable.h
-include/lldb/Symbol/VariableList.h
-include/lldb/Symbol/VerifyDecl.h
-include/lldb/Target/ABI.h
-include/lldb/Target/CPPLanguageRuntime.h
-include/lldb/Target/DynamicLoader.h
-include/lldb/Target/ExecutionContext.h
-include/lldb/Target/ExecutionContextScope.h
-include/lldb/Target/FileAction.h
-include/lldb/Target/InstrumentationRuntime.h
-include/lldb/Target/InstrumentationRuntimeStopInfo.h
-include/lldb/Target/JITLoader.h
-include/lldb/Target/JITLoaderList.h
-include/lldb/Target/Language.h
-include/lldb/Target/LanguageRuntime.h
-include/lldb/Target/Memory.h
-include/lldb/Target/MemoryHistory.h
-include/lldb/Target/MemoryRegionInfo.h
-include/lldb/Target/ObjCLanguageRuntime.h
-include/lldb/Target/OperatingSystem.h
-include/lldb/Target/PathMappingList.h
-include/lldb/Target/Platform.h
-include/lldb/Target/Process.h
-include/lldb/Target/ProcessInfo.h
-include/lldb/Target/ProcessLaunchInfo.h
-include/lldb/Target/Queue.h
-include/lldb/Target/QueueItem.h
-include/lldb/Target/QueueList.h
-include/lldb/Target/RegisterCheckpoint.h
-include/lldb/Target/RegisterContext.h
-include/lldb/Target/SectionLoadHistory.h
-include/lldb/Target/SectionLoadList.h
-include/lldb/Target/StackFrame.h
-include/lldb/Target/StackFrameList.h
-include/lldb/Target/StackID.h
-include/lldb/Target/StopInfo.h
-include/lldb/Target/StructuredDataPlugin.h
-include/lldb/Target/SystemRuntime.h
-include/lldb/Target/Target.h
-include/lldb/Target/TargetList.h
-include/lldb/Target/Thread.h
-include/lldb/Target/ThreadCollection.h
-include/lldb/Target/ThreadList.h
-include/lldb/Target/ThreadPlan.h
-include/lldb/Target/ThreadPlanBase.h
-include/lldb/Target/ThreadPlanCallFunction.h
-include/lldb/Target/ThreadPlanCallFunctionUsingABI.h
-include/lldb/Target/ThreadPlanCallOnFunctionExit.h
-include/lldb/Target/ThreadPlanCallUserExpression.h
-include/lldb/Target/ThreadPlanPython.h
-include/lldb/Target/ThreadPlanRunToAddress.h
-include/lldb/Target/ThreadPlanShouldStopHere.h
-include/lldb/Target/ThreadPlanStepInRange.h
-include/lldb/Target/ThreadPlanStepInstruction.h
-include/lldb/Target/ThreadPlanStepOut.h
-include/lldb/Target/ThreadPlanStepOverBreakpoint.h
-include/lldb/Target/ThreadPlanStepOverRange.h
-include/lldb/Target/ThreadPlanStepRange.h
-include/lldb/Target/ThreadPlanStepThrough.h
-include/lldb/Target/ThreadPlanStepUntil.h
-include/lldb/Target/ThreadPlanTracer.h
-include/lldb/Target/ThreadSpec.h
-include/lldb/Target/UnixSignals.h
-include/lldb/Target/Unwind.h
-include/lldb/Target/UnwindAssembly.h
-include/lldb/Utility/AnsiTerminal.h
-include/lldb/Utility/CleanUp.h
-include/lldb/Utility/ConvertEnum.h
-include/lldb/Utility/Either.h
-include/lldb/Utility/Iterable.h
-include/lldb/Utility/JSON.h
-include/lldb/Utility/LLDBAssert.h
-include/lldb/Utility/NameMatches.h
-include/lldb/Utility/PriorityPointerPair.h
-include/lldb/Utility/ProcessStructReader.h
-include/lldb/Utility/PseudoTerminal.h
-include/lldb/Utility/Range.h
-include/lldb/Utility/RegisterNumber.h
-include/lldb/Utility/SafeMachO.h
-include/lldb/Utility/SelectHelper.h
-include/lldb/Utility/SharedCluster.h
-include/lldb/Utility/SharingPtr.h
-include/lldb/Utility/StdStringExtractor.h
-include/lldb/Utility/StringExtractor.h
-include/lldb/Utility/StringLexer.h
-include/lldb/Utility/TaskPool.h
-include/lldb/Utility/Utils.h
-include/lldb/Utility/regcclass.h
-include/lldb/Utility/regcname.h
-include/lldb/Utility/regex2.h
-include/lldb/Utility/regex_impl.h
-include/lldb/Utility/regutils.h
-include/lldb/lldb-defines.h
-include/lldb/lldb-enumerations.h
-include/lldb/lldb-forward.h
-include/lldb/lldb-private-defines.h
-include/lldb/lldb-private-enumerations.h
-include/lldb/lldb-private-forward.h
-include/lldb/lldb-private-interfaces.h
-include/lldb/lldb-private-types.h
-include/lldb/lldb-private.h
-include/lldb/lldb-public.h
-include/lldb/lldb-types.h
-include/lldb/lldb-versioning.h
-lib/liblldb.so
-lib/liblldb.so.${PKGVERSION}
-lib/liblldbBase.a
-lib/liblldbBreakpoint.a
-lib/liblldbCommands.a
-lib/liblldbCore.a
-lib/liblldbDataFormatters.a
-lib/liblldbExpression.a
-lib/liblldbHost.a
-lib/liblldbInitialization.a
-lib/liblldbInterpreter.a
-lib/liblldbPluginABIMacOSX_arm.a
-lib/liblldbPluginABIMacOSX_arm64.a
-lib/liblldbPluginABIMacOSX_i386.a
-lib/liblldbPluginABISysV_arm.a
-lib/liblldbPluginABISysV_arm64.a
-lib/liblldbPluginABISysV_hexagon.a
-lib/liblldbPluginABISysV_i386.a
-lib/liblldbPluginABISysV_mips.a
-lib/liblldbPluginABISysV_mips64.a
-lib/liblldbPluginABISysV_ppc.a
-lib/liblldbPluginABISysV_ppc64.a
-lib/liblldbPluginABISysV_s390x.a
-lib/liblldbPluginABISysV_x86_64.a
-lib/liblldbPluginAppleObjCRuntime.a
-lib/liblldbPluginCPlusPlusLanguage.a
-lib/liblldbPluginCXXItaniumABI.a
-lib/liblldbPluginDisassemblerLLVM.a
-lib/liblldbPluginDynamicLoaderHexagonDYLD.a
-lib/liblldbPluginDynamicLoaderMacOSXDYLD.a
-lib/liblldbPluginDynamicLoaderPosixDYLD.a
-lib/liblldbPluginDynamicLoaderStatic.a
-lib/liblldbPluginDynamicLoaderWindowsDYLD.a
-lib/liblldbPluginExpressionParserClang.a
-lib/liblldbPluginExpressionParserGo.a
-lib/liblldbPluginGoLanguage.a
-lib/liblldbPluginInstructionARM.a
-lib/liblldbPluginInstructionARM64.a
-lib/liblldbPluginInstructionMIPS.a
-lib/liblldbPluginInstructionMIPS64.a
-lib/liblldbPluginInstrumentationRuntimeAddressSanitizer.a
-lib/liblldbPluginInstrumentationRuntimeThreadSanitizer.a
-lib/liblldbPluginJITLoaderGDB.a
-lib/liblldbPluginJavaLanguage.a
-lib/liblldbPluginLanguageRuntimeGo.a
-lib/liblldbPluginLanguageRuntimeJava.a
-lib/liblldbPluginMemoryHistoryASan.a
-lib/liblldbPluginOCamlLanguage.a
-lib/liblldbPluginOSGo.a
-lib/liblldbPluginOSPython.a
-lib/liblldbPluginObjCLanguage.a
-lib/liblldbPluginObjCPlusPlusLanguage.a
-lib/liblldbPluginObjectContainerBSDArchive.a
-lib/liblldbPluginObjectContainerMachOArchive.a
-lib/liblldbPluginObjectFileELF.a
-lib/liblldbPluginObjectFileJIT.a
-lib/liblldbPluginObjectFileMachO.a
-lib/liblldbPluginObjectFilePECOFF.a
-lib/liblldbPluginPlatformAndroid.a
-lib/liblldbPluginPlatformFreeBSD.a
-lib/liblldbPluginPlatformGDB.a
-lib/liblldbPluginPlatformKalimba.a
-lib/liblldbPluginPlatformLinux.a
-lib/liblldbPluginPlatformMacOSX.a
-lib/liblldbPluginPlatformNetBSD.a
-lib/liblldbPluginPlatformPOSIX.a
-lib/liblldbPluginPlatformWindows.a
-lib/liblldbPluginProcessElfCore.a
-lib/liblldbPluginProcessGDBRemote.a
-lib/liblldbPluginProcessMachCore.a
-lib/liblldbPluginProcessMinidump.a
-lib/liblldbPluginProcessPOSIX.a
-lib/liblldbPluginProcessUtility.a
-lib/liblldbPluginRenderScriptRuntime.a
-lib/liblldbPluginScriptInterpreterNone.a
-lib/liblldbPluginScriptInterpreterPython.a
-lib/liblldbPluginStructuredDataDarwinLog.a
-lib/liblldbPluginSymbolFileDWARF.a
-lib/liblldbPluginSymbolFilePDB.a
-lib/liblldbPluginSymbolFileSymtab.a
-lib/liblldbPluginSymbolVendorELF.a
-lib/liblldbPluginSystemRuntimeMacOSX.a
-lib/liblldbPluginUnwindAssemblyInstEmulation.a
-lib/liblldbPluginUnwindAssemblyX86.a
-lib/liblldbSymbol.a
-lib/liblldbTarget.a
-lib/liblldbUtility.a
-${PYSITELIB}/lldb/__init__.py
-${PYSITELIB}/lldb/_lldb.so
-${PYSITELIB}/lldb/embedded_interpreter.py
-${PYSITELIB}/lldb/formatters/Logger.py
-${PYSITELIB}/lldb/formatters/__init__.py
-${PYSITELIB}/lldb/formatters/attrib_fromdict.py
-${PYSITELIB}/lldb/formatters/cache.py
-${PYSITELIB}/lldb/formatters/cpp/__init__.py
-${PYSITELIB}/lldb/formatters/cpp/gnu_libstdcpp.py
-${PYSITELIB}/lldb/formatters/cpp/libcxx.py
-${PYSITELIB}/lldb/formatters/metrics.py
-${PYSITELIB}/lldb/formatters/synth.py
-${PYSITELIB}/lldb/lldb-argdumper
-${PYSITELIB}/lldb/runtime/__init__.py
-${PYSITELIB}/lldb/utils/__init__.py
-${PYSITELIB}/lldb/utils/symbolication.py
-${PYSITELIB}/six.py
+bin/ld.lld
+bin/lld
+bin/lld-link
+include/lld/Config/Version.h
+include/lld/Core/AbsoluteAtom.h
+include/lld/Core/ArchiveLibraryFile.h
+include/lld/Core/Atom.h
+include/lld/Core/DefinedAtom.h
+include/lld/Core/Error.h
+include/lld/Core/File.h
+include/lld/Core/Instrumentation.h
+include/lld/Core/LLVM.h
+include/lld/Core/LinkingContext.h
+include/lld/Core/Node.h
+include/lld/Core/Parallel.h
+include/lld/Core/Pass.h
+include/lld/Core/PassManager.h
+include/lld/Core/Reader.h
+include/lld/Core/Reference.h
+include/lld/Core/Reproduce.h
+include/lld/Core/Resolver.h
+include/lld/Core/SharedLibraryAtom.h
+include/lld/Core/SharedLibraryFile.h
+include/lld/Core/Simple.h
+include/lld/Core/SymbolTable.h
+include/lld/Core/UndefinedAtom.h
+include/lld/Core/Writer.h
+include/lld/Driver/Driver.h
+include/lld/ReaderWriter/MachOLinkingContext.h
+include/lld/ReaderWriter/YamlContext.h
+lib/liblldCOFF.a
+lib/liblldConfig.a
+lib/liblldCore.a
+lib/liblldDriver.a
+lib/liblldELF.a
+lib/liblldMachO.a
+lib/liblldReaderWriter.a
+lib/liblldYAML.a
diff --git a/lld-git/distinfo b/lld-git/distinfo
index 7931384..84e52e0 100644
--- a/lld-git/distinfo
+++ b/lld-git/distinfo
@@ -12,3 +12,6 @@ Size (libcxx-3.6.2.src.tar.xz) = 944020 bytes
 SHA1 (llvm-3.6.2.src.tar.xz) = 7a00257eb2bc9431e4c77c3a36b033072c54bc7e
 RMD160 (llvm-3.6.2.src.tar.xz) = 521cbc5fe2925ea3c6e90c7a31f752a04045c972
 Size (llvm-3.6.2.src.tar.xz) = 12802380 bytes
+SHA1 (patch-CMakeLists.txt) = cebcd0e7033d5f98123b1347962724b165226c32
+SHA1 (patch-ELF_CMakeLists.txt) = 49f9c0c191a274f8c3ec7bb6b310853c834b8411
+SHA1 (patch-lib_ReaderWriter_MachO_MachOLinkingContext.cpp) = 6a9b951b8b029c9cbb15260f629534e2a82417a0
diff --git a/lld-git/patches/patch-CMakeLists.txt b/lld-git/patches/patch-CMakeLists.txt
new file mode 100644
index 0000000..d69e797
--- /dev/null
+++ b/lld-git/patches/patch-CMakeLists.txt
@@ -0,0 +1,135 @@
+$NetBSD$
+
+--- CMakeLists.txt.orig	2016-09-10 20:15:44.000000000 +0000
++++ CMakeLists.txt
+@@ -1,3 +1,130 @@
++cmake_minimum_required(VERSION 3.4.3)
++
++# If we are not building as a part of LLVM, build LLD as an
++# standalone project, using LLVM as an external library:
++if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
++  project(lld)
++
++  if (POLICY CMP0022)
++    cmake_policy(SET CMP0022 NEW) # automatic when 2.8.12 is required
++  endif()
++
++  option(LLVM_INSTALL_TOOLCHAIN_ONLY "Only include toolchain files in the 'install' target." OFF)
++
++  # Rely on llvm-config.
++  set(CONFIG_OUTPUT)
++  find_program(LLVM_CONFIG "llvm-config")
++  if(LLVM_CONFIG)
++    message(STATUS "Found LLVM_CONFIG as ${LLVM_CONFIG}")
++    set(CONFIG_COMMAND ${LLVM_CONFIG}
++      "--assertion-mode"
++      "--bindir"
++      "--libdir"
++      "--includedir"
++      "--prefix"
++      "--src-root")
++    execute_process(
++      COMMAND ${CONFIG_COMMAND}
++      RESULT_VARIABLE HAD_ERROR
++      OUTPUT_VARIABLE CONFIG_OUTPUT
++    )
++    if(NOT HAD_ERROR)   
++      string(REGEX REPLACE
++        "[ \t]*[\r\n]+[ \t]*" ";"
++        CONFIG_OUTPUT ${CONFIG_OUTPUT})
++    else()
++      string(REPLACE ";" " " CONFIG_COMMAND_STR "${CONFIG_COMMAND}")
++      message(STATUS "${CONFIG_COMMAND_STR}")
++      message(FATAL_ERROR "llvm-config failed with status ${HAD_ERROR}")
++    endif()
++  else()
++    message(FATAL_ERROR "llvm-config not found -- ${LLVM_CONFIG}")
++  endif()
++        
++  list(GET CONFIG_OUTPUT 0 ENABLE_ASSERTIONS)
++  list(GET CONFIG_OUTPUT 1 TOOLS_BINARY_DIR)                                                                                                                 
++  list(GET CONFIG_OUTPUT 2 LIBRARY_DIR)
++  list(GET CONFIG_OUTPUT 3 INCLUDE_DIR)
++  list(GET CONFIG_OUTPUT 4 LLVM_OBJ_ROOT)
++  list(GET CONFIG_OUTPUT 5 MAIN_SRC_DIR)
++
++  if(NOT MSVC_IDE)
++    set(LLVM_ENABLE_ASSERTIONS ${ENABLE_ASSERTIONS}
++      CACHE BOOL "Enable assertions")
++    # Assertions should follow llvm-config's.
++    mark_as_advanced(LLVM_ENABLE_ASSERTIONS)
++  endif()                                                                                                                                                    
++
++  set(LLVM_TOOLS_BINARY_DIR ${TOOLS_BINARY_DIR} CACHE PATH "Path to llvm/bin")
++  set(LLVM_LIBRARY_DIR ${LIBRARY_DIR} CACHE PATH "Path to llvm/lib")
++  set(LLVM_MAIN_INCLUDE_DIR ${INCLUDE_DIR} CACHE PATH "Path to llvm/include")
++  set(LLVM_DIR ${LLVM_OBJ_ROOT}/cmake/modules/CMakeFiles CACHE PATH "Path to LLVM build tree CMake files")
++  set(LLVM_BINARY_DIR ${LLVM_OBJ_ROOT} CACHE PATH "Path to LLVM build tree")
++  set(LLVM_MAIN_SRC_DIR ${MAIN_SRC_DIR} CACHE PATH "Path to LLVM source tree")
++
++  find_program(LLVM_TABLEGEN_EXE "llvm-tblgen" ${LLVM_TOOLS_BINARY_DIR}
++    NO_DEFAULT_PATH)
++                                                                                                                                                             
++  set(LLVM_CMAKE_PATH "${LLVM_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX}/cmake/llvm")
++  set(LLVMCONFIG_FILE "${LLVM_CMAKE_PATH}/LLVMConfig.cmake")
++  if(EXISTS ${LLVMCONFIG_FILE})
++    list(APPEND CMAKE_MODULE_PATH "${LLVM_CMAKE_PATH}")
++    include(${LLVMCONFIG_FILE})
++  else()
++    message(FATAL_ERROR "Not found: ${LLVMCONFIG_FILE}")
++  endif()
++
++  # They are used as destination of target generators.
++  set(LLVM_RUNTIME_OUTPUT_INTDIR ${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/bin)                                                                                
++  set(LLVM_LIBRARY_OUTPUT_INTDIR ${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lib${LLVM_LIBDIR_SUFFIX})
++  if(WIN32 OR CYGWIN)
++    # DLL platform -- put DLLs into bin.
++    set(LLVM_SHLIB_OUTPUT_INTDIR ${LLVM_RUNTIME_OUTPUT_INTDIR})
++  else()
++    set(LLVM_SHLIB_OUTPUT_INTDIR ${LLVM_LIBRARY_OUTPUT_INTDIR})
++  endif()
++
++  include(AddLLVM)
++  include(HandleLLVMOptions)
++  include(CheckAtomic)                                                                                                                                       
++  include(TableGen)
++
++  if (PYTHON_EXECUTABLE STREQUAL "")
++    set(Python_ADDITIONAL_VERSIONS 3.5 3.4 3.3 3.2 3.1 3.0 2.7 2.6 2.5)
++    include(FindPythonInterp)
++    if( NOT PYTHONINTERP_FOUND )
++      message(FATAL_ERROR
++              "Unable to find Python interpreter, required for builds and testing.
++               Please install Python or specify the PYTHON_EXECUTABLE CMake variable.")
++    endif()
++  else()
++    message("-- Found PythonInterp: ${PYTHON_EXECUTABLE}")                                                                                                   
++  endif()
++
++  # Import CMake library targets from LLVM and Clang.
++  include("${LLVM_OBJ_ROOT}/lib${LLVM_LIBDIR_SUFFIX}/cmake/llvm/LLVMConfig.cmake")
++
++  set(PACKAGE_VERSION "${LLVM_PACKAGE_VERSION}")
++                                                                                                                                                             
++  set(LLVM_BINARY_DIR ${CMAKE_BINARY_DIR})
++
++  set(CMAKE_INCLUDE_CURRENT_DIR ON)
++  include_directories("${LLVM_BINARY_DIR}/include" "${LLVM_MAIN_INCLUDE_DIR}")
++  # Next three include directories are needed when llvm-config is located in build directory.
++  # LLVM and Cland are assumed to be built together
++  if (EXISTS "${LLVM_OBJ_ROOT}/include")
++    include_directories("${LLVM_OBJ_ROOT}/include")
++  endif()
++  link_directories("${LLVM_LIBRARY_DIR}")
++
++  set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
++  set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX})
++  set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX})
++
++  set(LLD_BUILT_STANDALONE 1)                                                                                                                               
++endif()
++
++
+ set(LLD_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
+ set(LLD_INCLUDE_DIR ${LLD_SOURCE_DIR}/include )
+ set(LLD_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR})
diff --git a/lld-git/patches/patch-ELF_CMakeLists.txt b/lld-git/patches/patch-ELF_CMakeLists.txt
new file mode 100644
index 0000000..ddf32a0
--- /dev/null
+++ b/lld-git/patches/patch-ELF_CMakeLists.txt
@@ -0,0 +1,11 @@
+$NetBSD$
+
+--- ELF/CMakeLists.txt.orig	2016-09-10 20:15:44.000000000 +0000
++++ ELF/CMakeLists.txt
+@@ -51,4 +51,5 @@ add_lld_library(lldELF
+   ${PTHREAD_LIB}
+   )
+ 
+-add_dependencies(lldELF intrinsics_gen ELFOptionsTableGen)
++#add_dependencies(lldELF intrinsics_gen ELFOptionsTableGen)
++add_dependencies(lldELF ELFOptionsTableGen)
diff --git a/lld-git/patches/patch-lib_ReaderWriter_MachO_MachOLinkingContext.cpp b/lld-git/patches/patch-lib_ReaderWriter_MachO_MachOLinkingContext.cpp
new file mode 100644
index 0000000..92db180
--- /dev/null
+++ b/lld-git/patches/patch-lib_ReaderWriter_MachO_MachOLinkingContext.cpp
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- lib/ReaderWriter/MachO/MachOLinkingContext.cpp.orig	2016-09-10 20:15:44.000000000 +0000
++++ lib/ReaderWriter/MachO/MachOLinkingContext.cpp
+@@ -22,7 +22,7 @@
+ #include "llvm/ADT/STLExtras.h"
+ #include "llvm/ADT/StringExtras.h"
+ #include "llvm/ADT/Triple.h"
+-#include "llvm/Config/config.h"
++#include "llvm/Config/llvm-config.h"
+ #include "llvm/Demangle/Demangle.h"
+ #include "llvm/Support/Debug.h"
+ #include "llvm/Support/Errc.h"


Home | Main Index | Thread Index | Old Index