Ravenports generated: 11 Apr 2020 21:29
[ravenports.git] / bucket_B9 / llvm40
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               llvm40
4 VERSION=                4.0.1
5 REVISION=               2
6 KEYWORDS=               devel lang
7 VARIANTS=               standard
8 SDESC[standard]=        LLVM 4.0 and Clang
9 HOMEPAGE=               http://llvm.org/
10 CONTACT=                nobody
11
12 DOWNLOAD_GROUPS=        main
13 SITES[main]=            http://llvm.org/releases/4.0.1/
14 DISTFILE[1]=            llvm-4.0.1.src.tar.xz:main
15 DISTFILE[2]=            cfe-4.0.1.src.tar.xz:main
16 DF_INDEX=               1 2
17 SPKGS[standard]=        complete
18                         clang
19                         llvm
20
21 OPTIONS_AVAILABLE=      GOLD
22 OPTIONS_STANDARD=       GOLD
23 OPT_ON[dragonfly]=      GOLD//x86_64
24
25 ONLY_FOR_OPSYS=         sunos
26
27 USES=                   cmake ninja ncurses perl:build python:build
28                         shebangfix zlib c++:llvm,clang
29 GNOME_COMPONENTS=       libxml2
30
31 DISTNAME=               llvm-4.0.1.src
32
33 LICENSE=                CUSTOM1:llvm
34 LICENSE_NAME=           CUSTOM1:"LLVM Release License"
35 LICENSE_FILE=           CUSTOM1:{{WRKSRC}}/LICENSE.TXT
36 LICENSE_SCHEME=         solo
37
38 CMAKE_BUILD_TYPE=       Release
39 CMAKE_INSTALL_PREFIX=   {{PREFIX}}/llvm40
40 SHEBANG_FILES=          tools/clang/tools/scan-view/bin/scan-view
41                         tools/clang/tools/clang-format/git-clang-format
42                         tools/clang/tools/clang-format/clang-format-diff.py
43
44 PLIST_SUB=              NAMEBASE="llvm40"
45                         LLVM_RELEASE="4.0.1"
46                         LLVM_MAJOR="4.0"
47
48 CMAKE_ARGS=             -DLLVM_BUILD_LLVM_DYLIB=ON
49                         -DCMAKE_BUILD_WITH_INSTALL_RPATH=1
50                         -DCMAKE_INSTALL_RPATH:STRING="{{LOCALBASE}}/llvm40/lib"
51                         -DLLVM_HOST_TRIPLE:STRING="{{CONFIGURE_TARGET}}"
52                         -DLLVM_PARALLEL_LINK_JOBS=1
53                         -DLLVM_PARALLEL_COMPILE_JOBS={{MAKE_JOBS_NUMBER}}
54
55 [GOLD].DESCRIPTION=                     Build the LLVM Gold plugin for LTO
56 [GOLD].CMAKE_ARGS_ON=                   -DLLVM_BINUTILS_INCDIR={{LOCALBASE}}/toolchain/include
57
58 post-patch:
59         ${REINPLACE_CMD} -e 's,/usr/local/,${LOCALBASE}/,' \
60                 ${WRKSRC}/CMakeLists.txt \
61                 ${WRKSRC}/tools/clang/lib/Driver/Tools.cpp
62         ${REINPLACE_CMD} -e 's|@RAVEN_GCC@|${LOCALBASE}/toolchain/gcc9/lib|' \
63                 -e 's|@RAVEN_GCC_TARGET@|${LOCALBASE}/toolchain/gcc9/lib/gcc/${CONFIGURE_TARGET}/9.3.0|' \
64                 ${WRKSRC}/tools/clang/lib/Driver/ToolChains.cpp \
65                 ${WRKSRC}/tools/clang/lib/Driver/Tools.cpp
66         ${REINPLACE_CMD} \
67                 -e 's|@RAVEN_GXX_HEADERS_DIR@|${LOCALBASE}/toolchain/gcc9/include/c++/9.3.0|' \
68                 ${WRKSRC}/tools/clang/lib/Driver/ToolChains.cpp \
69                 ${WRKSRC}/tools/clang/lib/Frontend/InitHeaderSearch.cpp
70
71 post-install:
72         ${RM} -r ${STAGEDIR}${MANPREFIX}/man
73         ${RM} -r ${STAGEDIR}${PREFIX}/llvm40/share/man
74         ${RM} -r ${STAGEDIR}${PREFIX}/llvm40/include/llvm/MC/MCAnalysis
75         ${INSTALL_PROGRAM} ${WRKDIR}/.build/bin/clang-tblgen \
76             ${STAGEDIR}${PREFIX}/llvm40/bin/
77         ${FIND} ${STAGEDIR}${PREFIX}/llvm40/bin/ -type f ! \( -name git-clang-format -o -name "scan-*" \) \
78                 | ${XARGS} ${STRIP_CMD}
79         ${FIND} ${STAGEDIR}${PREFIX}/llvm40/lib/ -type f -name "*.so*" \
80                 | ${XARGS} ${STRIP_CMD}
81
82 post-extract:
83         ${MV} ${WRKDIR}/cfe-4.0.1.src ${WRKSRC}/tools/clang
84
85 [FILE:842:descriptions/desc.clang]
86 The LLVM Project is a collection of modular and reusable compiler and
87 toolchain technologies. Despite its name, LLVM has little to do with
88 traditional virtual machines, though it does provide helpful libraries
89 that can be used to build them. The name "LLVM" itself is not an
90 acronym; it is the full name of the project.
91
92 This package contains Clang is an "LLVM native" C/C++/Objective-C
93 compiler, which aims to deliver amazingly fast compiles (e.g. about 3x
94 faster than GCC when compiling Objective-C code in a debug
95 configuration), extremely useful error and warning messages and to
96 provide a platform for building great source level tools. The Clang
97 Static Analyzer is a tool that automatically finds bugs in your code,
98 and is a great example of the sort of tool that can be built using
99 the Clang frontend as a library to parse C/C++ code.
100
101
102 [FILE:834:descriptions/desc.llvm]
103 The LLVM Project is a collection of modular and reusable compiler and
104 toolchain technologies. Despite its name, LLVM has little to do with
105 traditional virtual machines, though it does provide helpful libraries
106 that can be used to build them. The name "LLVM" itself is not an
107 acronym; it is the full name of the project.
108
109 This package contains the LLVM Core libraries which provide a modern
110 source- and target-independent optimizer, along with code generation
111 support for many popular CPUs (as well as some less common ones!)
112 These libraries are built around a well specified code representation
113 known as the LLVM intermediate representation ("LLVM IR"). The LLVM
114 Core libraries are well documented, and it is particularly easy to
115 invent your own language (or port an existing compiler) to use LLVM
116 as an optimizer and code generator.
117
118
119 [FILE:199:distinfo]
120 da783db1f82d516791179fe103c71706046561f7972b18f0049242dee6712b51     21065652 llvm-4.0.1.src.tar.xz
121 61738a735852c23c3bdbe52d035488cdb2083013f384d67c1ba36fabebd8769b     10933628 cfe-4.0.1.src.tar.xz
122
123
124 [FILE:12321:manifests/plist.clang]
125 %%NAMEBASE%%/bin/
126  c-index-test
127  clang
128  clang++
129  clang-%%LLVM_MAJOR%%
130  clang-check
131  clang-cl
132  clang-cpp
133  clang-format
134  clang-import-test
135  clang-offload-bundler
136  clang-tblgen
137  git-clang-format
138  scan-build
139  scan-view
140 %%NAMEBASE%%/include/clang-c/
141  BuildSystem.h
142  CXCompilationDatabase.h
143  CXErrorCode.h
144  CXString.h
145  Documentation.h
146  Index.h
147  Platform.h
148 %%NAMEBASE%%/include/clang/ARCMigrate/
149  ARCMT.h
150  ARCMTActions.h
151  FileRemapper.h
152 %%NAMEBASE%%/include/clang/AST/
153  APValue.h
154  AST.h
155  ASTConsumer.h
156  ASTContext.h
157  ASTDiagnostic.h
158  ASTFwd.h
159  ASTImporter.h
160  ASTLambda.h
161  ASTMutationListener.h
162  ASTTypeTraits.h
163  ASTUnresolvedSet.h
164  ASTVector.h
165  Attr.h
166  AttrDump.inc
167  AttrImpl.inc
168  AttrIterator.h
169  AttrVisitor.inc
170  Attrs.inc
171  Availability.h
172  BaseSubobject.h
173  BuiltinTypes.def
174  CXXInheritance.h
175  CanonicalType.h
176  CharUnits.h
177  Comment.h
178  CommentBriefParser.h
179  CommentCommandInfo.inc
180  CommentCommandList.inc
181  CommentCommandTraits.h
182  CommentDiagnostic.h
183  CommentHTMLNamedCharacterReferences.inc
184  CommentHTMLTags.inc
185  CommentHTMLTagsProperties.inc
186  CommentLexer.h
187  CommentNodes.inc
188  CommentParser.h
189  CommentSema.h
190  CommentVisitor.h
191  Decl.h
192  DeclAccessPair.h
193  DeclBase.h
194  DeclCXX.h
195  DeclContextInternals.h
196  DeclFriend.h
197  DeclGroup.h
198  DeclLookups.h
199  DeclNodes.inc
200  DeclObjC.h
201  DeclOpenMP.h
202  DeclTemplate.h
203  DeclVisitor.h
204  DeclarationName.h
205  DependentDiagnostic.h
206  EvaluatedExprVisitor.h
207  Expr.h
208  ExprCXX.h
209  ExprObjC.h
210  ExprOpenMP.h
211  ExternalASTSource.h
212  GlobalDecl.h
213  LambdaCapture.h
214  LocInfoType.h
215  Mangle.h
216  MangleNumberingContext.h
217  NSAPI.h
218  NestedNameSpecifier.h
219  OpenMPClause.h
220  OperationKinds.def
221  OperationKinds.h
222  ParentMap.h
223  PrettyPrinter.h
224  RawCommentList.h
225  RecordLayout.h
226  RecursiveASTVisitor.h
227  Redeclarable.h
228  SelectorLocationsKind.h
229  Stmt.h
230  StmtCXX.h
231  StmtGraphTraits.h
232  StmtIterator.h
233  StmtNodes.inc
234  StmtObjC.h
235  StmtOpenMP.h
236  StmtVisitor.h
237  TemplateBase.h
238  TemplateName.h
239  Type.h
240  TypeLoc.h
241  TypeLocNodes.def
242  TypeLocVisitor.h
243  TypeNodes.def
244  TypeOrdering.h
245  TypeVisitor.h
246  UnresolvedSet.h
247  VTTBuilder.h
248  VTableBuilder.h
249 %%NAMEBASE%%/include/clang/ASTMatchers/
250  ASTMatchFinder.h
251  ASTMatchers.h
252  ASTMatchersInternal.h
253  ASTMatchersMacros.h
254 %%NAMEBASE%%/include/clang/ASTMatchers/Dynamic/
255  Diagnostics.h
256  Parser.h
257  Registry.h
258  VariantValue.h
259 %%NAMEBASE%%/include/clang/Analysis/
260  AnalysisContext.h
261  AnalysisDiagnostic.h
262  CFG.h
263  CFGStmtMap.h
264  CallGraph.h
265  CloneDetection.h
266  CodeInjector.h
267  ProgramPoint.h
268 %%NAMEBASE%%/include/clang/Analysis/Analyses/
269  CFGReachabilityAnalysis.h
270  Consumed.h
271  Dominators.h
272  FormatString.h
273  LiveVariables.h
274  OSLog.h
275  PostOrderCFGView.h
276  PseudoConstantAnalysis.h
277  ReachableCode.h
278  ThreadSafety.h
279  ThreadSafetyCommon.h
280  ThreadSafetyLogical.h
281  ThreadSafetyOps.def
282  ThreadSafetyTIL.h
283  ThreadSafetyTraverse.h
284  ThreadSafetyUtil.h
285  UninitializedValues.h
286 %%NAMEBASE%%/include/clang/Analysis/DomainSpecific/
287  CocoaConventions.h
288  ObjCNoReturn.h
289 %%NAMEBASE%%/include/clang/Analysis/FlowSensitive/DataflowValues.h
290 %%NAMEBASE%%/include/clang/Analysis/Support/BumpVector.h
291 %%NAMEBASE%%/include/clang/Basic/
292  ABI.h
293  AddressSpaces.h
294  AllDiagnostics.h
295  AttrHasAttributeImpl.inc
296  AttrKinds.h
297  AttrList.inc
298  Attributes.h
299  Builtins.def
300  Builtins.h
301  BuiltinsAArch64.def
302  BuiltinsAMDGPU.def
303  BuiltinsARM.def
304  BuiltinsHexagon.def
305  BuiltinsLe64.def
306  BuiltinsMips.def
307  BuiltinsNEON.def
308  BuiltinsNVPTX.def
309  BuiltinsPPC.def
310  BuiltinsSystemZ.def
311  BuiltinsWebAssembly.def
312  BuiltinsX86.def
313  BuiltinsX86_64.def
314  BuiltinsXCore.def
315  CapturedStmt.h
316  CharInfo.h
317  CommentOptions.h
318  Cuda.h
319  DebugInfoOptions.h
320  Diagnostic.h
321  DiagnosticASTKinds.inc
322  DiagnosticAnalysisKinds.inc
323  DiagnosticCategories.h
324  DiagnosticCommentKinds.inc
325  DiagnosticCommonKinds.inc
326  DiagnosticDriverKinds.inc
327  DiagnosticFrontendKinds.inc
328  DiagnosticGroups.inc
329  DiagnosticIDs.h
330  DiagnosticIndexName.inc
331  DiagnosticLexKinds.inc
332  DiagnosticOptions.def
333  DiagnosticOptions.h
334  DiagnosticParseKinds.inc
335  DiagnosticSemaKinds.inc
336  DiagnosticSerializationKinds.inc
337  ExceptionSpecificationType.h
338  ExpressionTraits.h
339  FileManager.h
340  FileSystemOptions.h
341  FileSystemStatCache.h
342  IdentifierTable.h
343  LLVM.h
344  Lambda.h
345  LangOptions.def
346  LangOptions.h
347  Linkage.h
348  MacroBuilder.h
349  Module.h
350  ObjCRuntime.h
351  OpenCLExtensions.def
352  OpenCLImageTypes.def
353  OpenCLOptions.h
354  OpenMPKinds.def
355  OpenMPKinds.h
356  OperatorKinds.def
357  OperatorKinds.h
358  OperatorPrecedence.h
359  PartialDiagnostic.h
360  PlistSupport.h
361  PragmaKinds.h
362  PrettyStackTrace.h
363  SanitizerBlacklist.h
364  Sanitizers.def
365  Sanitizers.h
366  SourceLocation.h
367  SourceManager.h
368  SourceManagerInternals.h
369  Specifiers.h
370  TargetBuiltins.h
371  TargetCXXABI.h
372  TargetInfo.h
373  TargetOptions.h
374  TemplateKinds.h
375  TokenKinds.def
376  TokenKinds.h
377  TypeTraits.h
378  Version.h
379  Version.inc
380  VersionTuple.h
381  VirtualFileSystem.h
382  Visibility.h
383  arm_neon.inc
384 %%NAMEBASE%%/include/clang/CodeGen/
385  BackendUtil.h
386  CGFunctionInfo.h
387  CodeGenABITypes.h
388  CodeGenAction.h
389  ModuleBuilder.h
390  ObjectFilePCHContainerOperations.h
391  SwiftCallingConv.h
392 %%NAMEBASE%%/include/clang/Config/config.h
393 %%NAMEBASE%%/include/clang/Driver/
394  Action.h
395  Compilation.h
396  Distro.h
397  Driver.h
398  DriverDiagnostic.h
399  Job.h
400  Multilib.h
401  Options.h
402  Options.inc
403  Phases.h
404  SanitizerArgs.h
405  Tool.h
406  ToolChain.h
407  Types.def
408  Types.h
409  Util.h
410 %%NAMEBASE%%/include/clang/Edit/
411  Commit.h
412  EditedSource.h
413  EditsReceiver.h
414  FileOffset.h
415  Rewriters.h
416 %%NAMEBASE%%/include/clang/Format/Format.h
417 %%NAMEBASE%%/include/clang/Frontend/
418  ASTConsumers.h
419  ASTUnit.h
420  ChainedDiagnosticConsumer.h
421  CodeGenOptions.def
422  CodeGenOptions.h
423  CommandLineSourceLoc.h
424  CompilerInstance.h
425  CompilerInvocation.h
426  DependencyOutputOptions.h
427  DiagnosticRenderer.h
428  FrontendAction.h
429  FrontendActions.h
430  FrontendDiagnostic.h
431  FrontendOptions.h
432  FrontendPluginRegistry.h
433  LangStandard.h
434  LangStandards.def
435  LayoutOverrideSource.h
436  LogDiagnosticPrinter.h
437  MigratorOptions.h
438  MultiplexConsumer.h
439  PCHContainerOperations.h
440  PreprocessorOutputOptions.h
441  SerializedDiagnosticPrinter.h
442  SerializedDiagnosticReader.h
443  SerializedDiagnostics.h
444  TextDiagnostic.h
445  TextDiagnosticBuffer.h
446  TextDiagnosticPrinter.h
447  Utils.h
448  VerifyDiagnosticConsumer.h
449 %%NAMEBASE%%/include/clang/FrontendTool/Utils.h
450 %%NAMEBASE%%/include/clang/Index/
451  CodegenNameGenerator.h
452  CommentToXML.h
453  IndexDataConsumer.h
454  IndexSymbol.h
455  IndexingAction.h
456  USRGeneration.h
457 %%NAMEBASE%%/include/clang/Lex/
458  CodeCompletionHandler.h
459  DirectoryLookup.h
460  ExternalPreprocessorSource.h
461  HeaderMap.h
462  HeaderMapTypes.h
463  HeaderSearch.h
464  HeaderSearchOptions.h
465  LexDiagnostic.h
466  Lexer.h
467  LiteralSupport.h
468  MacroArgs.h
469  MacroInfo.h
470  ModuleLoader.h
471  ModuleMap.h
472  MultipleIncludeOpt.h
473  PPCallbacks.h
474  PPConditionalDirectiveRecord.h
475  PTHLexer.h
476  PTHManager.h
477  Pragma.h
478  PreprocessingRecord.h
479  Preprocessor.h
480  PreprocessorLexer.h
481  PreprocessorOptions.h
482  ScratchBuffer.h
483  Token.h
484  TokenConcatenation.h
485  TokenLexer.h
486 %%NAMEBASE%%/include/clang/Parse/
487  AttrParserStringSwitches.inc
488  ParseAST.h
489  ParseDiagnostic.h
490  Parser.h
491 %%NAMEBASE%%/include/clang/Rewrite/Core/
492  DeltaTree.h
493  HTMLRewrite.h
494  RewriteBuffer.h
495  RewriteRope.h
496  Rewriter.h
497  TokenRewriter.h
498 %%NAMEBASE%%/include/clang/Rewrite/Frontend/
499  ASTConsumers.h
500  FixItRewriter.h
501  FrontendActions.h
502  Rewriters.h
503 %%NAMEBASE%%/include/clang/Sema/
504  AnalysisBasedWarnings.h
505  AttrParsedAttrImpl.inc
506  AttrParsedAttrKinds.inc
507  AttrParsedAttrList.inc
508  AttrSpellingListIndex.inc
509  AttrTemplateInstantiate.inc
510  AttributeList.h
511  CXXFieldCollector.h
512  CleanupInfo.h
513  CodeCompleteConsumer.h
514  CodeCompleteOptions.h
515  DeclSpec.h
516  DelayedDiagnostic.h
517  Designator.h
518  ExternalSemaSource.h
519  IdentifierResolver.h
520  Initialization.h
521  Lookup.h
522  LoopHint.h
523  MultiplexExternalSemaSource.h
524  ObjCMethodList.h
525  Overload.h
526  Ownership.h
527  ParsedTemplate.h
528  PrettyDeclStackTrace.h
529  Scope.h
530  ScopeInfo.h
531  Sema.h
532  SemaConsumer.h
533  SemaDiagnostic.h
534  SemaFixItUtils.h
535  SemaInternal.h
536  SemaLambda.h
537  Template.h
538  TemplateDeduction.h
539  TypoCorrection.h
540  Weak.h
541 %%NAMEBASE%%/include/clang/Serialization/
542  ASTBitCodes.h
543  ASTDeserializationListener.h
544  ASTReader.h
545  ASTWriter.h
546  AttrPCHRead.inc
547  AttrPCHWrite.inc
548  ContinuousRangeMap.h
549  GlobalModuleIndex.h
550  Module.h
551  ModuleFileExtension.h
552  ModuleManager.h
553  SerializationDiagnostic.h
554 %%NAMEBASE%%/include/clang/StaticAnalyzer/Checkers/
555  Checkers.inc
556  ClangCheckers.h
557  LocalCheckers.h
558  MPIFunctionClassifier.h
559  ObjCRetainCount.h
560  SValExplainer.h
561 %%NAMEBASE%%/include/clang/StaticAnalyzer/Core/
562  Analyses.def
563  AnalyzerOptions.h
564  Checker.h
565  CheckerManager.h
566  CheckerOptInfo.h
567  CheckerRegistry.h
568  IssueHash.h
569  PathDiagnosticConsumers.h
570 %%NAMEBASE%%/include/clang/StaticAnalyzer/Core/BugReporter/
571  BugReporter.h
572  BugReporterVisitor.h
573  BugType.h
574  CommonBugCategories.h
575  PathDiagnostic.h
576 %%NAMEBASE%%/include/clang/StaticAnalyzer/Core/PathSensitive/
577  APSIntType.h
578  AnalysisManager.h
579  BasicValueFactory.h
580  BlockCounter.h
581  CallEvent.h
582  CheckerContext.h
583  CheckerHelpers.h
584  ConstraintManager.h
585  CoreEngine.h
586  DynamicTypeInfo.h
587  DynamicTypeMap.h
588  Environment.h
589  ExplodedGraph.h
590  ExprEngine.h
591  FunctionSummary.h
592  LoopWidening.h
593  MemRegion.h
594  ProgramState.h
595  ProgramStateTrait.h
596  ProgramState_Fwd.h
597  Regions.def
598  SValBuilder.h
599  SValVisitor.h
600  SVals.def
601  SVals.h
602  Store.h
603  StoreRef.h
604  SubEngine.h
605  SummaryManager.h
606  SymExpr.h
607  SymbolManager.h
608  Symbols.def
609  TaintManager.h
610  TaintTag.h
611  WorkList.h
612 %%NAMEBASE%%/include/clang/StaticAnalyzer/Frontend/
613  AnalysisConsumer.h
614  CheckerRegistration.h
615  FrontendActions.h
616  ModelConsumer.h
617 %%NAMEBASE%%/include/clang/Tooling/
618  ArgumentsAdjusters.h
619  CommonOptionsParser.h
620  CompilationDatabase.h
621  CompilationDatabasePluginRegistry.h
622  DiagnosticsYaml.h
623  FileMatchTrie.h
624  FixIt.h
625  JSONCompilationDatabase.h
626  Refactoring.h
627  RefactoringCallbacks.h
628  ReplacementsYaml.h
629  Tooling.h
630 %%NAMEBASE%%/include/clang/Tooling/Core/
631  Diagnostic.h
632  Lookup.h
633  QualTypeNames.h
634  Replacement.h
635 %%NAMEBASE%%/lib/
636  libclang.so
637  libclang.so.%%LLVM_MAJOR%%
638  libclang.so.4
639  libclangARCMigrate.a
640  libclangAST.a
641  libclangASTMatchers.a
642  libclangAnalysis.a
643  libclangBasic.a
644  libclangCodeGen.a
645  libclangDriver.a
646  libclangDynamicASTMatchers.a
647  libclangEdit.a
648  libclangFormat.a
649  libclangFrontend.a
650  libclangFrontendTool.a
651  libclangIndex.a
652  libclangLex.a
653  libclangParse.a
654  libclangRewrite.a
655  libclangRewriteFrontend.a
656  libclangSema.a
657  libclangSerialization.a
658  libclangStaticAnalyzerCheckers.a
659  libclangStaticAnalyzerCore.a
660  libclangStaticAnalyzerFrontend.a
661  libclangTooling.a
662  libclangToolingCore.a
663 %%NAMEBASE%%/lib/clang/%%LLVM_RELEASE%%/include/
664  __clang_cuda_builtin_vars.h
665  __clang_cuda_cmath.h
666  __clang_cuda_complex_builtins.h
667  __clang_cuda_intrinsics.h
668  __clang_cuda_math_forward_declares.h
669  __clang_cuda_runtime_wrapper.h
670  __stddef_max_align_t.h
671  __wmmintrin_aes.h
672  __wmmintrin_pclmul.h
673  adxintrin.h
674  altivec.h
675  ammintrin.h
676  arm_acle.h
677  arm_neon.h
678  armintr.h
679  avx2intrin.h
680  avx512bwintrin.h
681  avx512cdintrin.h
682  avx512dqintrin.h
683  avx512erintrin.h
684  avx512fintrin.h
685  avx512ifmaintrin.h
686  avx512ifmavlintrin.h
687  avx512pfintrin.h
688  avx512vbmiintrin.h
689  avx512vbmivlintrin.h
690  avx512vlbwintrin.h
691  avx512vlcdintrin.h
692  avx512vldqintrin.h
693  avx512vlintrin.h
694  avxintrin.h
695  bmi2intrin.h
696  bmiintrin.h
697  clflushoptintrin.h
698  cpuid.h
699  emmintrin.h
700  f16cintrin.h
701  float.h
702  fma4intrin.h
703  fmaintrin.h
704  fxsrintrin.h
705  htmintrin.h
706  htmxlintrin.h
707  ia32intrin.h
708  immintrin.h
709  intrin.h
710  inttypes.h
711  iso646.h
712  lzcntintrin.h
713  mm3dnow.h
714  mm_malloc.h
715  mmintrin.h
716  module.modulemap
717  msa.h
718  mwaitxintrin.h
719  nmmintrin.h
720  opencl-c.h
721  pkuintrin.h
722  pmmintrin.h
723  popcntintrin.h
724  prfchwintrin.h
725  rdseedintrin.h
726  rtmintrin.h
727  s390intrin.h
728  shaintrin.h
729  smmintrin.h
730  tbmintrin.h
731  tgmath.h
732  tmmintrin.h
733  unwind.h
734  vadefs.h
735  vecintrin.h
736  wmmintrin.h
737  x86intrin.h
738  xmmintrin.h
739  xopintrin.h
740  xsavecintrin.h
741  xsaveintrin.h
742  xsaveoptintrin.h
743  xsavesintrin.h
744  xtestintrin.h
745 %%NAMEBASE%%/lib/clang/%%LLVM_RELEASE%%/include/cuda_wrappers/
746  algorithm
747  complex
748  new
749 %%NAMEBASE%%/lib/cmake/clang/
750  ClangConfig.cmake
751  ClangTargets-%%CMAKE_BUILD_TYPE%%.cmake
752  ClangTargets.cmake
753 %%NAMEBASE%%/libexec/
754  c++-analyzer
755  ccc-analyzer
756 %%NAMEBASE%%/share/clang/
757  clang-format-bbedit.applescript
758  clang-format-diff.py
759  clang-format-sublime.py
760  clang-format.el
761  clang-format.py
762 %%NAMEBASE%%/share/scan-build/
763  scanview.css
764  sorttable.js
765 %%NAMEBASE%%/share/scan-view/
766  FileRadar.scpt
767  GetRadarVersion.scpt
768  Reporter.py
769  ScanView.py
770  bugcatcher.ico
771  startfile.py
772 %%ONLY-SUNOS%%%%NAMEBASE%%/lib/clang/%%LLVM_RELEASE%%/include/
773  limits.h
774  stdalign.h
775  stdarg.h
776  stdatomic.h
777  stdbool.h
778  stddef.h
779  stdint.h
780  stdnoreturn.h
781  varargs.h
782
783
784 [FILE:23927:manifests/plist.llvm]
785 %%GOLD-ON%%%%NAMEBASE%%/lib/LLVMgold.so
786 %%NAMEBASE%%/bin/
787  bugpoint
788  llc
789  lli
790  llvm-ar
791  llvm-as
792  llvm-bcanalyzer
793  llvm-c-test
794  llvm-cat
795  llvm-config
796  llvm-cov
797  llvm-cxxdump
798  llvm-cxxfilt
799  llvm-diff
800  llvm-dis
801  llvm-dsymutil
802  llvm-dwarfdump
803  llvm-dwp
804  llvm-extract
805  llvm-lib
806  llvm-link
807  llvm-lto
808  llvm-lto2
809  llvm-mc
810  llvm-mcmarkup
811  llvm-modextract
812  llvm-nm
813  llvm-objdump
814  llvm-opt-report
815  llvm-pdbdump
816  llvm-profdata
817  llvm-ranlib
818  llvm-readobj
819  llvm-rtdyld
820  llvm-size
821  llvm-split
822  llvm-stress
823  llvm-strings
824  llvm-symbolizer
825  llvm-tblgen
826  llvm-xray
827  obj2yaml
828  opt
829  sancov
830  sanstats
831  verify-uselistorder
832  yaml2obj
833 %%NAMEBASE%%/include/llvm/
834  InitializePasses.h
835  LinkAllIR.h
836  LinkAllPasses.h
837  Pass.h
838  PassAnalysisSupport.h
839  PassInfo.h
840  PassRegistry.h
841  PassSupport.h
842 %%NAMEBASE%%/include/llvm-c/
843  Analysis.h
844  BitReader.h
845  BitWriter.h
846  Core.h
847  Disassembler.h
848  ErrorHandling.h
849  ExecutionEngine.h
850  IRReader.h
851  Initialization.h
852  LinkTimeOptimizer.h
853  Linker.h
854  Object.h
855  OrcBindings.h
856  Support.h
857  Target.h
858  TargetMachine.h
859  Types.h
860  lto.h
861 %%NAMEBASE%%/include/llvm-c/Transforms/
862  IPO.h
863  PassManagerBuilder.h
864  Scalar.h
865  Vectorize.h
866 %%NAMEBASE%%/include/llvm/ADT/
867  APFloat.h
868  APInt.h
869  APSInt.h
870  AllocatorList.h
871  ArrayRef.h
872  BitVector.h
873  BitmaskEnum.h
874  CachedHashString.h
875  DAGDeltaAlgorithm.h
876  DeltaAlgorithm.h
877  DenseMap.h
878  DenseMapInfo.h
879  DenseSet.h
880  DepthFirstIterator.h
881  EpochTracker.h
882  EquivalenceClasses.h
883  FoldingSet.h
884  GraphTraits.h
885  Hashing.h
886  ImmutableList.h
887  ImmutableMap.h
888  ImmutableSet.h
889  IndexedMap.h
890  IntEqClasses.h
891  IntervalMap.h
892  IntrusiveRefCntPtr.h
893  MapVector.h
894  None.h
895  Optional.h
896  PackedVector.h
897  PointerEmbeddedInt.h
898  PointerIntPair.h
899  PointerSumType.h
900  PointerUnion.h
901  PostOrderIterator.h
902  PriorityQueue.h
903  PriorityWorklist.h
904  SCCIterator.h
905  STLExtras.h
906  ScopeExit.h
907  ScopedHashTable.h
908  Sequence.h
909  SetOperations.h
910  SetVector.h
911  SmallBitVector.h
912  SmallPtrSet.h
913  SmallSet.h
914  SmallString.h
915  SmallVector.h
916  SparseBitVector.h
917  SparseMultiSet.h
918  SparseSet.h
919  Statistic.h
920  StringExtras.h
921  StringMap.h
922  StringRef.h
923  StringSet.h
924  StringSwitch.h
925  TinyPtrVector.h
926  Triple.h
927  Twine.h
928  UniqueVector.h
929  VariadicFunction.h
930  edit_distance.h
931  ilist.h
932  ilist_base.h
933  ilist_iterator.h
934  ilist_node.h
935  ilist_node_base.h
936  ilist_node_options.h
937  iterator.h
938  iterator_range.h
939  simple_ilist.h
940 %%NAMEBASE%%/include/llvm/Analysis/
941  AliasAnalysis.h
942  AliasAnalysisEvaluator.h
943  AliasSetTracker.h
944  AssumptionCache.h
945  BasicAliasAnalysis.h
946  BlockFrequencyInfo.h
947  BlockFrequencyInfoImpl.h
948  BranchProbabilityInfo.h
949  CFG.h
950  CFGPrinter.h
951  CFLAndersAliasAnalysis.h
952  CFLSteensAliasAnalysis.h
953  CGSCCPassManager.h
954  CallGraph.h
955  CallGraphSCCPass.h
956  CallPrinter.h
957  CaptureTracking.h
958  CodeMetrics.h
959  ConstantFolding.h
960  DOTGraphTraitsPass.h
961  DemandedBits.h
962  DependenceAnalysis.h
963  DivergenceAnalysis.h
964  DomPrinter.h
965  DominanceFrontier.h
966  DominanceFrontierImpl.h
967  EHPersonalities.h
968  GlobalsModRef.h
969  IVUsers.h
970  IndirectCallPromotionAnalysis.h
971  IndirectCallSiteVisitor.h
972  InlineCost.h
973  InstructionSimplify.h
974  Interval.h
975  IntervalIterator.h
976  IntervalPartition.h
977  IteratedDominanceFrontier.h
978  LazyBlockFrequencyInfo.h
979  LazyBranchProbabilityInfo.h
980  LazyCallGraph.h
981  LazyValueInfo.h
982  Lint.h
983  Loads.h
984  LoopAccessAnalysis.h
985  LoopAnalysisManager.h
986  LoopInfo.h
987  LoopInfoImpl.h
988  LoopIterator.h
989  LoopPass.h
990  LoopUnrollAnalyzer.h
991  MemoryBuiltins.h
992  MemoryDependenceAnalysis.h
993  MemoryLocation.h
994  ModuleSummaryAnalysis.h
995  ObjCARCAliasAnalysis.h
996  ObjCARCAnalysisUtils.h
997  ObjCARCInstKind.h
998  OptimizationDiagnosticInfo.h
999  OrderedBasicBlock.h
1000  PHITransAddr.h
1001  Passes.h
1002  PostDominators.h
1003  ProfileSummaryInfo.h
1004  PtrUseVisitor.h
1005  RegionInfo.h
1006  RegionInfoImpl.h
1007  RegionIterator.h
1008  RegionPass.h
1009  RegionPrinter.h
1010  ScalarEvolution.h
1011  ScalarEvolutionAliasAnalysis.h
1012  ScalarEvolutionExpander.h
1013  ScalarEvolutionExpressions.h
1014  ScalarEvolutionNormalization.h
1015  ScopedNoAliasAA.h
1016  SparsePropagation.h
1017  TargetFolder.h
1018  TargetLibraryInfo.def
1019  TargetLibraryInfo.h
1020  TargetTransformInfo.h
1021  TargetTransformInfoImpl.h
1022  Trace.h
1023  TypeBasedAliasAnalysis.h
1024  TypeMetadataUtils.h
1025  ValueTracking.h
1026  VectorUtils.h
1027 %%NAMEBASE%%/include/llvm/AsmParser/
1028  Parser.h
1029  SlotMapping.h
1030 %%NAMEBASE%%/include/llvm/Bitcode/
1031  BitCodes.h
1032  BitcodeReader.h
1033  BitcodeWriter.h
1034  BitcodeWriterPass.h
1035  BitstreamReader.h
1036  BitstreamWriter.h
1037  LLVMBitCodes.h
1038 %%NAMEBASE%%/include/llvm/CodeGen/
1039  Analysis.h
1040  AsmPrinter.h
1041  AtomicExpandUtils.h
1042  BasicTTIImpl.h
1043  CalcSpillWeights.h
1044  CallingConvLower.h
1045  CommandFlags.h
1046  DAGCombine.h
1047  DFAPacketizer.h
1048  DIE.h
1049  DIEValue.def
1050  DwarfStringPoolEntry.h
1051  EdgeBundles.h
1052  FastISel.h
1053  FaultMaps.h
1054  FunctionLoweringInfo.h
1055  GCMetadata.h
1056  GCMetadataPrinter.h
1057  GCStrategy.h
1058  GCs.h
1059  ISDOpcodes.h
1060  IntrinsicLowering.h
1061  LatencyPriorityQueue.h
1062  LexicalScopes.h
1063  LinkAllAsmWriterComponents.h
1064  LinkAllCodegenComponents.h
1065  LiveInterval.h
1066  LiveIntervalAnalysis.h
1067  LiveIntervalUnion.h
1068  LivePhysRegs.h
1069  LiveRangeEdit.h
1070  LiveRegMatrix.h
1071  LiveStackAnalysis.h
1072  LiveVariables.h
1073  LowLevelType.h
1074  MIRYamlMapping.h
1075  MachORelocation.h
1076  MachineBasicBlock.h
1077  MachineBlockFrequencyInfo.h
1078  MachineBranchProbabilityInfo.h
1079  MachineCombinerPattern.h
1080  MachineConstantPool.h
1081  MachineDominanceFrontier.h
1082  MachineDominators.h
1083  MachineFrameInfo.h
1084  MachineFunction.h
1085  MachineFunctionInitializer.h
1086  MachineFunctionPass.h
1087  MachineInstr.h
1088  MachineInstrBuilder.h
1089  MachineInstrBundle.h
1090  MachineInstrBundleIterator.h
1091  MachineJumpTableInfo.h
1092  MachineLoopInfo.h
1093  MachineMemOperand.h
1094  MachineModuleInfo.h
1095  MachineModuleInfoImpls.h
1096  MachineOperand.h
1097  MachinePassRegistry.h
1098  MachinePostDominators.h
1099  MachineRegionInfo.h
1100  MachineRegisterInfo.h
1101  MachineSSAUpdater.h
1102  MachineScheduler.h
1103  MachineTraceMetrics.h
1104  MachineValueType.h
1105  PBQPRAConstraint.h
1106  ParallelCG.h
1107  Passes.h
1108  PreISelIntrinsicLowering.h
1109  PseudoSourceValue.h
1110  RegAllocPBQP.h
1111  RegAllocRegistry.h
1112  RegisterClassInfo.h
1113  RegisterPressure.h
1114  RegisterScavenging.h
1115  RegisterUsageInfo.h
1116  ResourcePriorityQueue.h
1117  RuntimeLibcalls.h
1118  ScheduleDAG.h
1119  ScheduleDAGInstrs.h
1120  ScheduleDAGMutation.h
1121  ScheduleDFS.h
1122  ScheduleHazardRecognizer.h
1123  SchedulerRegistry.h
1124  ScoreboardHazardRecognizer.h
1125  SelectionDAG.h
1126  SelectionDAGISel.h
1127  SelectionDAGNodes.h
1128  SelectionDAGTargetInfo.h
1129  SlotIndexes.h
1130  StackMaps.h
1131  StackProtector.h
1132  TailDuplicator.h
1133  TargetLoweringObjectFileImpl.h
1134  TargetPassConfig.h
1135  TargetSchedule.h
1136  UnreachableBlockElim.h
1137  ValueTypes.h
1138  ValueTypes.td
1139  VirtRegMap.h
1140  WinEHFuncInfo.h
1141 %%NAMEBASE%%/include/llvm/CodeGen/GlobalISel/
1142  CallLowering.h
1143  GISelAccessor.h
1144  IRTranslator.h
1145  InstructionSelect.h
1146  InstructionSelector.h
1147  Legalizer.h
1148  LegalizerHelper.h
1149  LegalizerInfo.h
1150  MachineIRBuilder.h
1151  RegBankSelect.h
1152  RegisterBank.h
1153  RegisterBankInfo.h
1154  Types.h
1155  Utils.h
1156 %%NAMEBASE%%/include/llvm/CodeGen/MIRParser/MIRParser.h
1157 %%NAMEBASE%%/include/llvm/CodeGen/PBQP/
1158  CostAllocator.h
1159  Graph.h
1160  Math.h
1161  ReductionRules.h
1162  Solution.h
1163 %%NAMEBASE%%/include/llvm/Config/
1164  AsmParsers.def
1165  AsmPrinters.def
1166  Disassemblers.def
1167  Targets.def
1168  abi-breaking.h
1169  llvm-config.h
1170 %%NAMEBASE%%/include/llvm/DebugInfo/DIContext.h
1171 %%NAMEBASE%%/include/llvm/DebugInfo/CodeView/
1172  CVDebugRecord.h
1173  CVRecord.h
1174  CVSymbolTypes.def
1175  CVSymbolVisitor.h
1176  CVTypeDumper.h
1177  CVTypeVisitor.h
1178  CodeView.h
1179  CodeViewError.h
1180  CodeViewRecordIO.h
1181  EnumTables.h
1182  FunctionId.h
1183  Line.h
1184  ModuleSubstream.h
1185  ModuleSubstreamVisitor.h
1186  RecordSerialization.h
1187  SymbolDeserializer.h
1188  SymbolDumpDelegate.h
1189  SymbolDumper.h
1190  SymbolRecord.h
1191  SymbolRecordMapping.h
1192  SymbolSerializer.h
1193  SymbolVisitorCallbackPipeline.h
1194  SymbolVisitorCallbacks.h
1195  SymbolVisitorDelegate.h
1196  TypeDatabase.h
1197  TypeDatabaseVisitor.h
1198  TypeDeserializer.h
1199  TypeDumpVisitor.h
1200  TypeDumperBase.h
1201  TypeIndex.h
1202  TypeRecord.h
1203  TypeRecordBuilder.h
1204  TypeRecordMapping.h
1205  TypeRecords.def
1206  TypeSerializer.h
1207  TypeStreamMerger.h
1208  TypeSymbolEmitter.h
1209  TypeTableBuilder.h
1210  TypeVisitorCallbackPipeline.h
1211  TypeVisitorCallbacks.h
1212 %%NAMEBASE%%/include/llvm/DebugInfo/DWARF/
1213  DWARFAbbreviationDeclaration.h
1214  DWARFAcceleratorTable.h
1215  DWARFCompileUnit.h
1216  DWARFContext.h
1217  DWARFDebugAbbrev.h
1218  DWARFDebugArangeSet.h
1219  DWARFDebugAranges.h
1220  DWARFDebugFrame.h
1221  DWARFDebugInfoEntry.h
1222  DWARFDebugLine.h
1223  DWARFDebugLoc.h
1224  DWARFDebugMacro.h
1225  DWARFDebugPubTable.h
1226  DWARFDebugRangeList.h
1227  DWARFDie.h
1228  DWARFFormValue.h
1229  DWARFGdbIndex.h
1230  DWARFRelocMap.h
1231  DWARFSection.h
1232  DWARFTypeUnit.h
1233  DWARFUnit.h
1234  DWARFUnitIndex.h
1235 %%NAMEBASE%%/include/llvm/DebugInfo/MSF/
1236  ByteStream.h
1237  IMSFFile.h
1238  MSFBuilder.h
1239  MSFCommon.h
1240  MSFError.h
1241  MSFStreamLayout.h
1242  MappedBlockStream.h
1243  SequencedItemStream.h
1244  StreamArray.h
1245  StreamInterface.h
1246  StreamReader.h
1247  StreamRef.h
1248  StreamWriter.h
1249 %%NAMEBASE%%/include/llvm/DebugInfo/PDB/
1250  ConcreteSymbolEnumerator.h
1251  GenericError.h
1252  IPDBDataStream.h
1253  IPDBEnumChildren.h
1254  IPDBLineNumber.h
1255  IPDBRawSymbol.h
1256  IPDBSession.h
1257  IPDBSourceFile.h
1258  PDB.h
1259  PDBContext.h
1260  PDBExtras.h
1261  PDBSymDumper.h
1262  PDBSymbol.h
1263  PDBSymbolAnnotation.h
1264  PDBSymbolBlock.h
1265  PDBSymbolCompiland.h
1266  PDBSymbolCompilandDetails.h
1267  PDBSymbolCompilandEnv.h
1268  PDBSymbolCustom.h
1269  PDBSymbolData.h
1270  PDBSymbolExe.h
1271  PDBSymbolFunc.h
1272  PDBSymbolFuncDebugEnd.h
1273  PDBSymbolFuncDebugStart.h
1274  PDBSymbolLabel.h
1275  PDBSymbolPublicSymbol.h
1276  PDBSymbolThunk.h
1277  PDBSymbolTypeArray.h
1278  PDBSymbolTypeBaseClass.h
1279  PDBSymbolTypeBuiltin.h
1280  PDBSymbolTypeCustom.h
1281  PDBSymbolTypeDimension.h
1282  PDBSymbolTypeEnum.h
1283  PDBSymbolTypeFriend.h
1284  PDBSymbolTypeFunctionArg.h
1285  PDBSymbolTypeFunctionSig.h
1286  PDBSymbolTypeManaged.h
1287  PDBSymbolTypePointer.h
1288  PDBSymbolTypeTypedef.h
1289  PDBSymbolTypeUDT.h
1290  PDBSymbolTypeVTable.h
1291  PDBSymbolTypeVTableShape.h
1292  PDBSymbolUnknown.h
1293  PDBSymbolUsingNamespace.h
1294  PDBTypes.h
1295 %%NAMEBASE%%/include/llvm/DebugInfo/PDB/DIA/
1296  DIADataStream.h
1297  DIAEnumDebugStreams.h
1298  DIAEnumLineNumbers.h
1299  DIAEnumSourceFiles.h
1300  DIAEnumSymbols.h
1301  DIAError.h
1302  DIALineNumber.h
1303  DIARawSymbol.h
1304  DIASession.h
1305  DIASourceFile.h
1306  DIASupport.h
1307 %%NAMEBASE%%/include/llvm/DebugInfo/PDB/Raw/
1308  DbiStream.h
1309  DbiStreamBuilder.h
1310  EnumTables.h
1311  GlobalsStream.h
1312  Hash.h
1313  ISectionContribVisitor.h
1314  InfoStream.h
1315  InfoStreamBuilder.h
1316  ModInfo.h
1317  ModStream.h
1318  NameHashTable.h
1319  NameMap.h
1320  NameMapBuilder.h
1321  PDBFile.h
1322  PDBFileBuilder.h
1323  PublicsStream.h
1324  RawConstants.h
1325  RawError.h
1326  RawSession.h
1327  RawTypes.h
1328  SymbolStream.h
1329  TpiHashing.h
1330  TpiStream.h
1331  TpiStreamBuilder.h
1332 %%NAMEBASE%%/include/llvm/DebugInfo/Symbolize/
1333  DIPrinter.h
1334  SymbolizableModule.h
1335  Symbolize.h
1336 %%NAMEBASE%%/include/llvm/Demangle/Demangle.h
1337 %%NAMEBASE%%/include/llvm/ExecutionEngine/
1338  ExecutionEngine.h
1339  GenericValue.h
1340  Interpreter.h
1341  JITEventListener.h
1342  JITSymbol.h
1343  MCJIT.h
1344  OProfileWrapper.h
1345  ObjectCache.h
1346  ObjectMemoryBuffer.h
1347  OrcMCJITReplacement.h
1348  RTDyldMemoryManager.h
1349  RuntimeDyld.h
1350  RuntimeDyldChecker.h
1351  SectionMemoryManager.h
1352 %%NAMEBASE%%/include/llvm/ExecutionEngine/Orc/
1353  CompileOnDemandLayer.h
1354  CompileUtils.h
1355  ExecutionUtils.h
1356  GlobalMappingLayer.h
1357  IRCompileLayer.h
1358  IRTransformLayer.h
1359  IndirectionUtils.h
1360  LambdaResolver.h
1361  LazyEmittingLayer.h
1362  NullResolver.h
1363  ObjectLinkingLayer.h
1364  ObjectTransformLayer.h
1365  OrcABISupport.h
1366  OrcError.h
1367  OrcRemoteTargetClient.h
1368  OrcRemoteTargetRPCAPI.h
1369  OrcRemoteTargetServer.h
1370  RPCSerialization.h
1371  RPCUtils.h
1372  RawByteChannel.h
1373 %%NAMEBASE%%/include/llvm/IR/
1374  Argument.h
1375  AssemblyAnnotationWriter.h
1376  Attributes.gen
1377  Attributes.h
1378  Attributes.td
1379  AutoUpgrade.h
1380  BasicBlock.h
1381  CFG.h
1382  CallSite.h
1383  CallingConv.h
1384  Comdat.h
1385  Constant.h
1386  ConstantFolder.h
1387  ConstantRange.h
1388  Constants.h
1389  DIBuilder.h
1390  DataLayout.h
1391  DebugInfo.h
1392  DebugInfoFlags.def
1393  DebugInfoMetadata.h
1394  DebugLoc.h
1395  DerivedTypes.h
1396  DiagnosticInfo.h
1397  DiagnosticPrinter.h
1398  Dominators.h
1399  Function.h
1400  GVMaterializer.h
1401  GetElementPtrTypeIterator.h
1402  GlobalAlias.h
1403  GlobalIFunc.h
1404  GlobalIndirectSymbol.h
1405  GlobalObject.h
1406  GlobalValue.h
1407  GlobalVariable.h
1408  IRBuilder.h
1409  IRPrintingPasses.h
1410  InlineAsm.h
1411  InstIterator.h
1412  InstVisitor.h
1413  InstrTypes.h
1414  Instruction.def
1415  Instruction.h
1416  Instructions.h
1417  IntrinsicInst.h
1418  Intrinsics.gen
1419  Intrinsics.h
1420  Intrinsics.td
1421  IntrinsicsAArch64.td
1422  IntrinsicsAMDGPU.td
1423  IntrinsicsARM.td
1424  IntrinsicsBPF.td
1425  IntrinsicsHexagon.td
1426  IntrinsicsMips.td
1427  IntrinsicsNVVM.td
1428  IntrinsicsPowerPC.td
1429  IntrinsicsSystemZ.td
1430  IntrinsicsWebAssembly.td
1431  IntrinsicsX86.td
1432  IntrinsicsXCore.td
1433  LLVMContext.h
1434  LegacyPassManager.h
1435  LegacyPassManagers.h
1436  LegacyPassNameParser.h
1437  MDBuilder.h
1438  Mangler.h
1439  Metadata.def
1440  Metadata.h
1441  Module.h
1442  ModuleSlotTracker.h
1443  ModuleSummaryIndex.h
1444  ModuleSummaryIndexYAML.h
1445  NoFolder.h
1446  OperandTraits.h
1447  Operator.h
1448  OptBisect.h
1449  PassManager.h
1450  PassManagerInternal.h
1451  PatternMatch.h
1452  PredIteratorCache.h
1453  ProfileSummary.h
1454  Statepoint.h
1455  SymbolTableListTraits.h
1456  TrackingMDRef.h
1457  Type.h
1458  TypeBuilder.h
1459  TypeFinder.h
1460  Use.h
1461  UseListOrder.h
1462  User.h
1463  Value.def
1464  Value.h
1465  ValueHandle.h
1466  ValueMap.h
1467  ValueSymbolTable.h
1468  Verifier.h
1469 %%NAMEBASE%%/include/llvm/IRReader/IRReader.h
1470 %%NAMEBASE%%/include/llvm/LTO/
1471  Caching.h
1472  Config.h
1473  LTO.h
1474  LTOBackend.h
1475 %%NAMEBASE%%/include/llvm/LTO/legacy/
1476  LTOCodeGenerator.h
1477  LTOModule.h
1478  ThinLTOCodeGenerator.h
1479  UpdateCompilerUsed.h
1480 %%NAMEBASE%%/include/llvm/LibDriver/LibDriver.h
1481 %%NAMEBASE%%/include/llvm/LineEditor/LineEditor.h
1482 %%NAMEBASE%%/include/llvm/Linker/
1483  IRMover.h
1484  Linker.h
1485 %%NAMEBASE%%/include/llvm/MC/
1486  ConstantPools.h
1487  LaneBitmask.h
1488  MCAsmBackend.h
1489  MCAsmInfo.h
1490  MCAsmInfoCOFF.h
1491  MCAsmInfoDarwin.h
1492  MCAsmInfoELF.h
1493  MCAsmLayout.h
1494  MCAssembler.h
1495  MCCodeEmitter.h
1496  MCCodeView.h
1497  MCContext.h
1498  MCDirectives.h
1499  MCDwarf.h
1500  MCELFObjectWriter.h
1501  MCELFStreamer.h
1502  MCExpr.h
1503  MCFixedLenDisassembler.h
1504  MCFixup.h
1505  MCFixupKindInfo.h
1506  MCFragment.h
1507  MCInst.h
1508  MCInstBuilder.h
1509  MCInstPrinter.h
1510  MCInstrAnalysis.h
1511  MCInstrDesc.h
1512  MCInstrInfo.h
1513  MCInstrItineraries.h
1514  MCLabel.h
1515  MCLinkerOptimizationHint.h
1516  MCMachObjectWriter.h
1517  MCObjectFileInfo.h
1518  MCObjectStreamer.h
1519  MCObjectWriter.h
1520  MCRegisterInfo.h
1521  MCSchedule.h
1522  MCSection.h
1523  MCSectionCOFF.h
1524  MCSectionELF.h
1525  MCSectionMachO.h
1526  MCStreamer.h
1527  MCSubtargetInfo.h
1528  MCSymbol.h
1529  MCSymbolCOFF.h
1530  MCSymbolELF.h
1531  MCSymbolMachO.h
1532  MCTargetOptions.h
1533  MCTargetOptionsCommandFlags.h
1534  MCValue.h
1535  MCWin64EH.h
1536  MCWinCOFFObjectWriter.h
1537  MCWinCOFFStreamer.h
1538  MCWinEH.h
1539  MachineLocation.h
1540  SectionKind.h
1541  StringTableBuilder.h
1542  SubtargetFeature.h
1543 %%NAMEBASE%%/include/llvm/MC/MCDisassembler/
1544  MCDisassembler.h
1545  MCExternalSymbolizer.h
1546  MCRelocationInfo.h
1547  MCSymbolizer.h
1548 %%NAMEBASE%%/include/llvm/MC/MCParser/
1549  AsmCond.h
1550  AsmLexer.h
1551  MCAsmLexer.h
1552  MCAsmParser.h
1553  MCAsmParserExtension.h
1554  MCAsmParserUtils.h
1555  MCParsedAsmOperand.h
1556  MCTargetAsmParser.h
1557 %%NAMEBASE%%/include/llvm/Object/
1558  Archive.h
1559  ArchiveWriter.h
1560  Binary.h
1561  COFF.h
1562  COFFImportFile.h
1563  Decompressor.h
1564  ELF.h
1565  ELFObjectFile.h
1566  ELFTypes.h
1567  Error.h
1568  IRObjectFile.h
1569  MachO.h
1570  MachOUniversal.h
1571  ModuleSummaryIndexObjectFile.h
1572  ModuleSymbolTable.h
1573  ObjectFile.h
1574  RelocVisitor.h
1575  StackMapParser.h
1576  SymbolSize.h
1577  SymbolicFile.h
1578  Wasm.h
1579 %%NAMEBASE%%/include/llvm/ObjectYAML/
1580  COFFYAML.h
1581  DWARFYAML.h
1582  ELFYAML.h
1583  MachOYAML.h
1584  ObjectYAML.h
1585  YAML.h
1586 %%NAMEBASE%%/include/llvm/Option/
1587  Arg.h
1588  ArgList.h
1589  OptParser.td
1590  OptSpecifier.h
1591  OptTable.h
1592  Option.h
1593 %%NAMEBASE%%/include/llvm/Passes/PassBuilder.h
1594 %%NAMEBASE%%/include/llvm/ProfileData/
1595  InstrProf.h
1596  InstrProfData.inc
1597  InstrProfReader.h
1598  InstrProfWriter.h
1599  ProfileCommon.h
1600  SampleProf.h
1601  SampleProfReader.h
1602  SampleProfWriter.h
1603 %%NAMEBASE%%/include/llvm/ProfileData/Coverage/
1604  CoverageMapping.h
1605  CoverageMappingReader.h
1606  CoverageMappingWriter.h
1607 %%NAMEBASE%%/include/llvm/Support/
1608  AArch64TargetParser.def
1609  ARMBuildAttributes.h
1610  ARMEHABI.h
1611  ARMTargetParser.def
1612  ARMWinEH.h
1613  AlignOf.h
1614  Allocator.h
1615  ArrayRecycler.h
1616  Atomic.h
1617  AtomicOrdering.h
1618  BlockFrequency.h
1619  BranchProbability.h
1620  CBindingWrapping.h
1621  COFF.h
1622  COM.h
1623  CachePruning.h
1624  Capacity.h
1625  Casting.h
1626  Chrono.h
1627  CodeGen.h
1628  CodeGenCWrappers.h
1629  CommandLine.h
1630  Compiler.h
1631  Compression.h
1632  ConvertUTF.h
1633  CrashRecoveryContext.h
1634  DOTGraphTraits.h
1635  DataExtractor.h
1636  DataTypes.h
1637  Debug.h
1638  Dwarf.def
1639  Dwarf.h
1640  DynamicLibrary.h
1641  ELF.h
1642  Endian.h
1643  EndianStream.h
1644  Errc.h
1645  Errno.h
1646  Error.h
1647  ErrorHandling.h
1648  ErrorOr.h
1649  FileOutputBuffer.h
1650  FileSystem.h
1651  FileUtilities.h
1652  Format.h
1653  FormatAdapters.h
1654  FormatCommon.h
1655  FormatProviders.h
1656  FormatVariadic.h
1657  FormatVariadicDetails.h
1658  FormattedStream.h
1659  GCOV.h
1660  GenericDomTree.h
1661  GenericDomTreeConstruction.h
1662  GlobPattern.h
1663  GraphWriter.h
1664  Host.h
1665  JamCRC.h
1666  LEB128.h
1667  LICENSE.TXT
1668  LineIterator.h
1669  Locale.h
1670  LockFileManager.h
1671  MD5.h
1672  MachO.def
1673  MachO.h
1674  ManagedStatic.h
1675  MathExtras.h
1676  Memory.h
1677  MemoryBuffer.h
1678  MipsABIFlags.h
1679  Mutex.h
1680  MutexGuard.h
1681  NativeFormatting.h
1682  OnDiskHashTable.h
1683  Options.h
1684  Path.h
1685  PluginLoader.h
1686  PointerLikeTypeTraits.h
1687  PrettyStackTrace.h
1688  Printable.h
1689  Process.h
1690  Program.h
1691  RWMutex.h
1692  RandomNumberGenerator.h
1693  Recycler.h
1694  RecyclingAllocator.h
1695  Regex.h
1696  Registry.h
1697  SHA1.h
1698  SMLoc.h
1699  SaveAndRestore.h
1700  ScaledNumber.h
1701  ScopedPrinter.h
1702  Signals.h
1703  Solaris.h
1704  SourceMgr.h
1705  SpecialCaseList.h
1706  StringPool.h
1707  StringSaver.h
1708  SwapByteOrder.h
1709  SystemUtils.h
1710  TarWriter.h
1711  TargetParser.h
1712  TargetRegistry.h
1713  TargetSelect.h
1714  ThreadLocal.h
1715  ThreadPool.h
1716  Threading.h
1717  Timer.h
1718  ToolOutputFile.h
1719  TrailingObjects.h
1720  TrigramIndex.h
1721  TypeName.h
1722  Unicode.h
1723  UnicodeCharRanges.h
1724  UniqueLock.h
1725  Valgrind.h
1726  Wasm.h
1727  Watchdog.h
1728  Win64EH.h
1729  WindowsError.h
1730  YAMLParser.h
1731  YAMLTraits.h
1732  circular_raw_ostream.h
1733  raw_os_ostream.h
1734  raw_ostream.h
1735  raw_sha1_ostream.h
1736  thread.h
1737  type_traits.h
1738  xxhash.h
1739 %%NAMEBASE%%/include/llvm/Support/ELFRelocs/
1740  AArch64.def
1741  AMDGPU.def
1742  ARM.def
1743  AVR.def
1744  BPF.def
1745  Hexagon.def
1746  Lanai.def
1747  Mips.def
1748  PowerPC.def
1749  PowerPC64.def
1750  RISCV.def
1751  Sparc.def
1752  SystemZ.def
1753  WebAssembly.def
1754  i386.def
1755  x86_64.def
1756 %%NAMEBASE%%/include/llvm/TableGen/
1757  Error.h
1758  Main.h
1759  Record.h
1760  SearchableTable.td
1761  SetTheory.h
1762  StringMatcher.h
1763  StringToOffsetTable.h
1764  TableGenBackend.h
1765 %%NAMEBASE%%/include/llvm/Target/
1766  CostTable.h
1767  GenericOpcodes.td
1768  Target.td
1769  TargetCallingConv.h
1770  TargetCallingConv.td
1771  TargetFrameLowering.h
1772  TargetGlobalISel.td
1773  TargetInstrInfo.h
1774  TargetIntrinsicInfo.h
1775  TargetItinerary.td
1776  TargetLowering.h
1777  TargetLoweringObjectFile.h
1778  TargetMachine.h
1779  TargetOpcodes.def
1780  TargetOpcodes.h
1781  TargetOptions.h
1782  TargetRegisterInfo.h
1783  TargetSchedule.td
1784  TargetSelectionDAG.td
1785  TargetSubtargetInfo.h
1786 %%NAMEBASE%%/include/llvm/Transforms/
1787  Coroutines.h
1788  GCOVProfiler.h
1789  IPO.h
1790  InstrProfiling.h
1791  Instrumentation.h
1792  ObjCARC.h
1793  PGOInstrumentation.h
1794  SampleProfile.h
1795  Scalar.h
1796  Vectorize.h
1797 %%NAMEBASE%%/include/llvm/Transforms/IPO/
1798  AlwaysInliner.h
1799  ConstantMerge.h
1800  CrossDSOCFI.h
1801  DeadArgumentElimination.h
1802  ElimAvailExtern.h
1803  ForceFunctionAttrs.h
1804  FunctionAttrs.h
1805  FunctionImport.h
1806  GlobalDCE.h
1807  GlobalOpt.h
1808  GlobalSplit.h
1809  InferFunctionAttrs.h
1810  Inliner.h
1811  Internalize.h
1812  LowerTypeTests.h
1813  PartialInlining.h
1814  PassManagerBuilder.h
1815  SCCP.h
1816  StripDeadPrototypes.h
1817  WholeProgramDevirt.h
1818 %%NAMEBASE%%/include/llvm/Transforms/InstCombine/
1819  InstCombine.h
1820  InstCombineWorklist.h
1821 %%NAMEBASE%%/include/llvm/Transforms/Scalar/
1822  ADCE.h
1823  AlignmentFromAssumptions.h
1824  BDCE.h
1825  ConstantHoisting.h
1826  CorrelatedValuePropagation.h
1827  DCE.h
1828  DeadStoreElimination.h
1829  EarlyCSE.h
1830  Float2Int.h
1831  GVN.h
1832  GVNExpression.h
1833  GuardWidening.h
1834  IVUsersPrinter.h
1835  IndVarSimplify.h
1836  JumpThreading.h
1837  LICM.h
1838  LoopAccessAnalysisPrinter.h
1839  LoopDataPrefetch.h
1840  LoopDeletion.h
1841  LoopDistribute.h
1842  LoopIdiomRecognize.h
1843  LoopInstSimplify.h
1844  LoopPassManager.h
1845  LoopRotation.h
1846  LoopSimplifyCFG.h
1847  LoopStrengthReduce.h
1848  LoopUnrollPass.h
1849  LowerAtomic.h
1850  LowerExpectIntrinsic.h
1851  LowerGuardIntrinsic.h
1852  MemCpyOptimizer.h
1853  MergedLoadStoreMotion.h
1854  NaryReassociate.h
1855  NewGVN.h
1856  PartiallyInlineLibCalls.h
1857  Reassociate.h
1858  SCCP.h
1859  SROA.h
1860  SimplifyCFG.h
1861  Sink.h
1862  SpeculativeExecution.h
1863  TailRecursionElimination.h
1864 %%NAMEBASE%%/include/llvm/Transforms/Utils/
1865  ASanStackFrameLayout.h
1866  AddDiscriminators.h
1867  BasicBlockUtils.h
1868  BreakCriticalEdges.h
1869  BuildLibCalls.h
1870  BypassSlowDivision.h
1871  Cloning.h
1872  CmpInstAnalysis.h
1873  CodeExtractor.h
1874  CtorUtils.h
1875  EscapeEnumerator.h
1876  Evaluator.h
1877  FunctionComparator.h
1878  FunctionImportUtils.h
1879  GlobalStatus.h
1880  ImportedFunctionsInliningStatistics.h
1881  IntegerDivision.h
1882  LCSSA.h
1883  LibCallsShrinkWrap.h
1884  Local.h
1885  LoopSimplify.h
1886  LoopUtils.h
1887  LoopVersioning.h
1888  LowerInvoke.h
1889  Mem2Reg.h
1890  MemorySSA.h
1891  ModuleUtils.h
1892  NameAnonGlobals.h
1893  PromoteMemToReg.h
1894  SSAUpdater.h
1895  SSAUpdaterImpl.h
1896  SanitizerStats.h
1897  SimplifyIndVar.h
1898  SimplifyInstructions.h
1899  SimplifyLibCalls.h
1900  SplitModule.h
1901  SymbolRewriter.h
1902  UnifyFunctionExitNodes.h
1903  UnrollLoop.h
1904  ValueMapper.h
1905 %%NAMEBASE%%/include/llvm/Transforms/Vectorize/
1906  LoopVectorize.h
1907  SLPVectorizer.h
1908 %%NAMEBASE%%/include/llvm/XRay/
1909  Trace.h
1910  XRayRecord.h
1911  YAMLXRayRecord.h
1912 %%NAMEBASE%%/lib/
1913  BugpointPasses.so
1914  LLVMHello.so
1915  libLLVM-%%LLVM_MAJOR%%.so
1916  libLLVM-%%LLVM_RELEASE%%.so
1917  libLLVM.so
1918  libLLVMAArch64AsmParser.a
1919  libLLVMAArch64AsmPrinter.a
1920  libLLVMAArch64CodeGen.a
1921  libLLVMAArch64Desc.a
1922  libLLVMAArch64Disassembler.a
1923  libLLVMAArch64Info.a
1924  libLLVMAArch64Utils.a
1925  libLLVMAMDGPUAsmParser.a
1926  libLLVMAMDGPUAsmPrinter.a
1927  libLLVMAMDGPUCodeGen.a
1928  libLLVMAMDGPUDesc.a
1929  libLLVMAMDGPUDisassembler.a
1930  libLLVMAMDGPUInfo.a
1931  libLLVMAMDGPUUtils.a
1932  libLLVMARMAsmParser.a
1933  libLLVMARMAsmPrinter.a
1934  libLLVMARMCodeGen.a
1935  libLLVMARMDesc.a
1936  libLLVMARMDisassembler.a
1937  libLLVMARMInfo.a
1938  libLLVMAnalysis.a
1939  libLLVMAsmParser.a
1940  libLLVMAsmPrinter.a
1941  libLLVMBPFAsmPrinter.a
1942  libLLVMBPFCodeGen.a
1943  libLLVMBPFDesc.a
1944  libLLVMBPFDisassembler.a
1945  libLLVMBPFInfo.a
1946  libLLVMBitReader.a
1947  libLLVMBitWriter.a
1948  libLLVMCodeGen.a
1949  libLLVMCore.a
1950  libLLVMCoroutines.a
1951  libLLVMCoverage.a
1952  libLLVMDebugInfoCodeView.a
1953  libLLVMDebugInfoDWARF.a
1954  libLLVMDebugInfoMSF.a
1955  libLLVMDebugInfoPDB.a
1956  libLLVMDemangle.a
1957  libLLVMExecutionEngine.a
1958  libLLVMGlobalISel.a
1959  libLLVMHexagonAsmParser.a
1960  libLLVMHexagonCodeGen.a
1961  libLLVMHexagonDesc.a
1962  libLLVMHexagonDisassembler.a
1963  libLLVMHexagonInfo.a
1964  libLLVMIRReader.a
1965  libLLVMInstCombine.a
1966  libLLVMInstrumentation.a
1967  libLLVMInterpreter.a
1968  libLLVMLTO.a
1969  libLLVMLanaiAsmParser.a
1970  libLLVMLanaiCodeGen.a
1971  libLLVMLanaiDesc.a
1972  libLLVMLanaiDisassembler.a
1973  libLLVMLanaiInfo.a
1974  libLLVMLanaiInstPrinter.a
1975  libLLVMLibDriver.a
1976  libLLVMLineEditor.a
1977  libLLVMLinker.a
1978  libLLVMMC.a
1979  libLLVMMCDisassembler.a
1980  libLLVMMCJIT.a
1981  libLLVMMCParser.a
1982  libLLVMMIRParser.a
1983  libLLVMMSP430AsmPrinter.a
1984  libLLVMMSP430CodeGen.a
1985  libLLVMMSP430Desc.a
1986  libLLVMMSP430Info.a
1987  libLLVMMipsAsmParser.a
1988  libLLVMMipsAsmPrinter.a
1989  libLLVMMipsCodeGen.a
1990  libLLVMMipsDesc.a
1991  libLLVMMipsDisassembler.a
1992  libLLVMMipsInfo.a
1993  libLLVMNVPTXAsmPrinter.a
1994  libLLVMNVPTXCodeGen.a
1995  libLLVMNVPTXDesc.a
1996  libLLVMNVPTXInfo.a
1997  libLLVMObjCARCOpts.a
1998  libLLVMObject.a
1999  libLLVMObjectYAML.a
2000  libLLVMOption.a
2001  libLLVMOrcJIT.a
2002  libLLVMPasses.a
2003  libLLVMPowerPCAsmParser.a
2004  libLLVMPowerPCAsmPrinter.a
2005  libLLVMPowerPCCodeGen.a
2006  libLLVMPowerPCDesc.a
2007  libLLVMPowerPCDisassembler.a
2008  libLLVMPowerPCInfo.a
2009  libLLVMProfileData.a
2010  libLLVMRISCVCodeGen.a
2011  libLLVMRISCVDesc.a
2012  libLLVMRISCVInfo.a
2013  libLLVMRuntimeDyld.a
2014  libLLVMScalarOpts.a
2015  libLLVMSelectionDAG.a
2016  libLLVMSparcAsmParser.a
2017  libLLVMSparcAsmPrinter.a
2018  libLLVMSparcCodeGen.a
2019  libLLVMSparcDesc.a
2020  libLLVMSparcDisassembler.a
2021  libLLVMSparcInfo.a
2022  libLLVMSupport.a
2023  libLLVMSymbolize.a
2024  libLLVMSystemZAsmParser.a
2025  libLLVMSystemZAsmPrinter.a
2026  libLLVMSystemZCodeGen.a
2027  libLLVMSystemZDesc.a
2028  libLLVMSystemZDisassembler.a
2029  libLLVMSystemZInfo.a
2030  libLLVMTableGen.a
2031  libLLVMTarget.a
2032  libLLVMTransformUtils.a
2033  libLLVMVectorize.a
2034  libLLVMX86AsmParser.a
2035  libLLVMX86AsmPrinter.a
2036  libLLVMX86CodeGen.a
2037  libLLVMX86Desc.a
2038  libLLVMX86Disassembler.a
2039  libLLVMX86Info.a
2040  libLLVMX86Utils.a
2041  libLLVMXCoreAsmPrinter.a
2042  libLLVMXCoreCodeGen.a
2043  libLLVMXCoreDesc.a
2044  libLLVMXCoreDisassembler.a
2045  libLLVMXCoreInfo.a
2046  libLLVMXRay.a
2047  libLLVMipo.a
2048  libLTO.so
2049  libLTO.so.%%LLVM_RELEASE%%
2050  libLTO.so.4
2051 %%NAMEBASE%%/lib/cmake/llvm/
2052  AddLLVM.cmake
2053  AddLLVMDefinitions.cmake
2054  AddOCaml.cmake
2055  AddSphinxTarget.cmake
2056  CheckAtomic.cmake
2057  CheckCompilerVersion.cmake
2058  CheckLinkerFlag.cmake
2059  ChooseMSVCCRT.cmake
2060  CrossCompile.cmake
2061  DetermineGCCCompatible.cmake
2062  FindOCaml.cmake
2063  FindSphinx.cmake
2064  GenerateVersionFromCVS.cmake
2065  GetSVN.cmake
2066  HandleLLVMOptions.cmake
2067  HandleLLVMStdlib.cmake
2068  LLVM-Config.cmake
2069  LLVMConfig.cmake
2070  LLVMConfigVersion.cmake
2071  LLVMExports-%%CMAKE_BUILD_TYPE%%.cmake
2072  LLVMExports.cmake
2073  LLVMExternalProjectUtils.cmake
2074  LLVMInstallSymlink.cmake
2075  LLVMProcessSources.cmake
2076  TableGen.cmake
2077  VersionFromVCS.cmake
2078
2079
2080 [FILE:739:patches/patch-cmake_modules_AddLLVM.cmake]
2081 --- cmake/modules/AddLLVM.cmake.orig    2017-05-19 01:55:05 UTC
2082 +++ cmake/modules/AddLLVM.cmake
2083 @@ -182,9 +182,6 @@ function(add_link_opts target_name)
2084          # ld64's implementation of -dead_strip breaks tools that use plugins.
2085          set_property(TARGET ${target_name} APPEND_STRING PROPERTY
2086                       LINK_FLAGS " -Wl,-dead_strip")
2087 -      elseif(${CMAKE_SYSTEM_NAME} MATCHES "SunOS")
2088 -        set_property(TARGET ${target_name} APPEND_STRING PROPERTY
2089 -                     LINK_FLAGS " -Wl,-z -Wl,discard-unused=sections")
2090        elseif(NOT WIN32 AND NOT LLVM_LINKER_IS_GOLD)
2091          # Object files are compiled with -ffunction-data-sections.
2092          # Versions of bfd ld < 2.23.1 have a bug in --gc-sections that breaks
2093
2094
2095 [FILE:688:patches/patch-include_llvm_ExecutionEngine_Orc_OrcRemoteTargetClient.h]
2096 #    Description                  : Enable LLVM build with gcc 8
2097
2098 --- include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h
2099 +++ include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h
2100 @@ -687,8 +687,8 @@ private:
2101  
2102    uint32_t getTrampolineSize() const { return RemoteTrampolineSize; }
2103  
2104 -  Expected<std::vector<char>> readMem(char *Dst, JITTargetAddress Src,
2105 -                                      uint64_t Size) {
2106 +  Expected<std::vector<uint8_t>> readMem(char *Dst, JITTargetAddress Src,
2107 +                                         uint64_t Size) {
2108      // Check for an 'out-of-band' error, e.g. from an MM destructor.
2109      if (ExistingError)
2110        return std::move(ExistingError);
2111
2112
2113 [FILE:569:patches/patch-include_llvm_Support_Host.h]
2114 --- include/llvm/Support/Host.h.orig    2016-10-13 17:43:20 UTC
2115 +++ include/llvm/Support/Host.h
2116 @@ -20,6 +20,18 @@
2117  #include <endian.h>
2118  #elif defined(_AIX)
2119  #include <sys/machine.h>
2120 +#elif defined(__sun) & defined(__SVR4)
2121 +# ifndef BYTE_ORDER
2122 +# define LITTLE_ENDIAN 1234
2123 +# define BIG_ENDIAN 4321
2124 +# include <sys/isa_defs.h>
2125 +# ifdef _LITTLE_ENDIAN
2126 +# define BYTE_ORDER LITTLE_ENDIAN
2127 +# endif
2128 +# ifdef _BIG_ENDIAN
2129 +# define BYTE_ORDER BIG_ENDIAN
2130 +# endif
2131 +# endif /* BYTE_ORDER */
2132  #else
2133  #if !defined(BYTE_ORDER) && !defined(LLVM_ON_WIN32)
2134  #include <machine/endian.h>
2135
2136
2137 [FILE:420:patches/patch-lib_ObjectYAML_MachOYAML.cpp]
2138 --- lib/ObjectYAML/MachOYAML.cpp.orig   2016-12-22 21:58:03 UTC
2139 +++ lib/ObjectYAML/MachOYAML.cpp
2140 @@ -19,6 +19,18 @@
2141  
2142  #include <string.h> // For memcpy, memset and strnlen.
2143  
2144 +#ifdef __sun__
2145 +static size_t
2146 +strnlen(const char *s, size_t maxlen)
2147 +{
2148 +       size_t len;
2149 +       for (len = 0; len < maxlen; len++, s++) {
2150 +               if (!*s) break;
2151 +       }
2152 +       return (len);
2153 +}
2154 +#endif
2155 +
2156  namespace llvm {
2157  
2158  MachOYAML::LoadCommand::~LoadCommand() {}
2159
2160
2161 [FILE:262:patches/patch-lib_Support_Unix_Program.inc]
2162 --- lib/Support/Unix/Program.inc.orig   2016-04-05 20:45:04 UTC
2163 +++ lib/Support/Unix/Program.inc
2164 @@ -40,9 +40,6 @@
2165  #include <unistd.h>
2166  #endif
2167  #ifdef HAVE_POSIX_SPAWN
2168 -#ifdef __sun__
2169 -#define  _RESTRICT_KYWD
2170 -#endif
2171  #include <spawn.h>
2172  
2173  #if defined(__APPLE__)
2174
2175
2176 [FILE:1721:patches/patch-tools_clang_lib_Driver_Tools.cpp]
2177 --- tools/clang/lib/Driver/Tools.cpp.orig       2017-04-22 17:20:27 UTC
2178 +++ tools/clang/lib/Driver/Tools.cpp
2179 @@ -3222,13 +3222,13 @@ static void addOpenMPRuntime(ArgStringLi
2180  
2181    switch (TC.getDriver().getOpenMPRuntime(Args)) {
2182    case Driver::OMPRT_OMP:
2183 -    CmdArgs.push_back("-lomp");
2184 +    CmdArgs.push_back("/usr/local/llvm40/lib/libomp.so");
2185      break;
2186    case Driver::OMPRT_GOMP:
2187 -    CmdArgs.push_back("-lgomp");
2188 +    CmdArgs.push_back("/usr/local/llvm40/lib/libgomp.so");
2189      break;
2190    case Driver::OMPRT_IOMP5:
2191 -    CmdArgs.push_back("-liomp5");
2192 +    CmdArgs.push_back("/usr/local/llvm40/lib/libiomp5.so");
2193      break;
2194    case Driver::OMPRT_Unknown:
2195      // Already diagnosed.
2196 @@ -10246,17 +10246,15 @@ void gnutools::Linker::ConstructJob(Comp
2197          // Also link the particular OpenMP runtimes.
2198          switch (ToolChain.getDriver().getOpenMPRuntime(Args)) {
2199          case Driver::OMPRT_OMP:
2200 -          CmdArgs.push_back("-lomp");
2201 +          CmdArgs.push_back("/usr/local/llvm40/lib/libomp.so");
2202            break;
2203          case Driver::OMPRT_GOMP:
2204 -          CmdArgs.push_back("-lgomp");
2205 -
2206 -          // FIXME: Exclude this for platforms with libgomp that don't require
2207 -          // librt. Most modern Linux platforms require it, but some may not.
2208 -          CmdArgs.push_back("-lrt");
2209 +          CmdArgs.push_back("/usr/local/llvm40/lib/libgomp.so");
2210 +          if (ToolChain.getTriple().getOS() == llvm::Triple::Linux)
2211 +             CmdArgs.push_back("-lrt");
2212            break;
2213          case Driver::OMPRT_IOMP5:
2214 -          CmdArgs.push_back("-liomp5");
2215 +          CmdArgs.push_back("/usr/local/llvm40/lib/libiomp5.so");
2216            break;
2217          case Driver::OMPRT_Unknown:
2218            // Already diagnosed.
2219
2220
2221 [FILE:486:patches/patch-tools_clang_lib_Lex_HeaderMap.cpp]
2222 --- tools/clang/lib/Lex/HeaderMap.cpp.orig      2016-10-01 16:38:28 UTC
2223 +++ tools/clang/lib/Lex/HeaderMap.cpp
2224 @@ -24,6 +24,19 @@
2225  #include "llvm/Support/Debug.h"
2226  #include <cstring>
2227  #include <memory>
2228 +
2229 +#ifdef __sun__
2230 +static size_t
2231 +strnlen(const char *s, size_t maxlen)
2232 +{
2233 +       size_t len;
2234 +       for (len = 0; len < maxlen; len++, s++) {
2235 +               if (!*s) break;
2236 +       }
2237 +       return (len);
2238 +}
2239 +#endif
2240 +
2241  using namespace clang;
2242  
2243  /// HashHMapKey - This is the 'well known' hash function required by the file
2244
2245
2246 [FILE:431:patches/patch-tools_llvm-pdbdump_LLVMOutputStyle.cpp]
2247 --- tools/llvm-pdbdump/LLVMOutputStyle.cpp.orig 2017-01-11 23:24:22 UTC
2248 +++ tools/llvm-pdbdump/LLVMOutputStyle.cpp
2249 @@ -37,6 +37,18 @@
2250  
2251  #include <unordered_map>
2252  
2253 +#ifdef __sun__
2254 +static size_t
2255 +strnlen(const char *s, size_t maxlen)
2256 +{
2257 +       size_t len;
2258 +       for (len = 0; len < maxlen; len++, s++) {
2259 +               if (!*s) break;
2260 +       }
2261 +       return (len);
2262 +}
2263 +#endif
2264 +
2265  using namespace llvm;
2266  using namespace llvm::codeview;
2267  using namespace llvm::msf;
2268
2269
2270 [FILE:874:patches/patch-tools_llvm-shlib_CMakeLists.txt]
2271 --- tools/llvm-shlib/CMakeLists.txt.orig        2016-11-01 20:19:33 UTC
2272 +++ tools/llvm-shlib/CMakeLists.txt
2273 @@ -37,11 +37,13 @@ endif()
2274  add_llvm_library(LLVM SHARED DISABLE_LLVM_LINK_LLVM_DYLIB SONAME ${SOURCES})
2275  
2276  list(REMOVE_DUPLICATES LIB_NAMES)
2277 -if("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux" OR MINGW) # FIXME: It should be "GNU ld for elf"
2278 +if(CMAKE_SYSTEM_NAME MATCHES "Linux|FreeBSD|DragonFly" OR MINGW) # FIXME: It should be "GNU ld for elf"
2279    # GNU ld doesn't resolve symbols in the version script.
2280    set(LIB_NAMES -Wl,--whole-archive ${LIB_NAMES} -Wl,--no-whole-archive)
2281  elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin")
2282    set(LIB_NAMES -Wl,-all_load ${LIB_NAMES})
2283 +elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "SunOS")
2284 +  set(LIB_NAMES -Wl,-Bsymbolic -Wl,-z -Wl,allextract ${LIB_NAMES} -Wl,-z -Wl,defaultextract)
2285  endif()
2286  
2287  target_link_libraries(LLVM PRIVATE ${LIB_NAMES})
2288
2289
2290 [FILE:384:patches/patch-tools_obj2yaml_macho2yaml.cpp]
2291 --- tools/obj2yaml/macho2yaml.cpp.orig  2016-12-22 21:58:03 UTC
2292 +++ tools/obj2yaml/macho2yaml.cpp
2293 @@ -17,6 +17,18 @@
2294  
2295  #include <string.h> // for memcpy
2296  
2297 +#ifdef __sun__
2298 +static size_t
2299 +strnlen(const char *s, size_t maxlen)
2300 +{
2301 +       size_t len;
2302 +       for (len = 0; len < maxlen; len++, s++) {
2303 +               if (!*s) break;
2304 +       }
2305 +       return (len);
2306 +}
2307 +#endif
2308 +
2309  using namespace llvm;
2310  
2311  class MachODumper {
2312
2313
2314 [FILE:536:dragonfly/patch-cmake_modules_HandleLLVMOptions.cmake]
2315 --- cmake/modules/HandleLLVMOptions.cmake.orig  2016-06-30 20:15:44.000000000 +0300
2316 +++ cmake/modules/HandleLLVMOptions.cmake
2317 @@ -103,6 +103,7 @@ endif()
2318  # Pass -Wl,-z,defs. This makes sure all symbols are defined. Otherwise a DSO
2319  # build might work on ELF but fail on MachO/COFF.
2320  if(NOT (${CMAKE_SYSTEM_NAME} MATCHES "Darwin" OR WIN32 OR CYGWIN OR
2321 +        ${CMAKE_SYSTEM_NAME} MATCHES "DragonFly" OR
2322          ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD" OR
2323          ${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD") AND
2324     NOT LLVM_USE_SANITIZER)
2325
2326
2327 [FILE:870:dragonfly/patch-tools_clang_lib_Driver_ToolChains.cpp]
2328 --- tools/clang/lib/Driver/ToolChains.cpp.orig  2017-01-10 21:13:08 UTC
2329 +++ tools/clang/lib/Driver/ToolChains.cpp
2330 @@ -4860,7 +4860,8 @@ DragonFly::DragonFly(const Driver &D, co
2331  
2332    getFilePaths().push_back(getDriver().Dir + "/../lib");
2333    getFilePaths().push_back("/usr/lib");
2334 -  getFilePaths().push_back("/usr/lib/gcc50");
2335 +  getFilePaths().push_back("@RAVEN_GCC@");
2336 +  getFilePaths().push_back("@RAVEN_GCC_TARGET@");
2337  }
2338  
2339  Tool *DragonFly::buildAssembler() const {
2340 @@ -4871,6 +4872,8 @@ Tool *DragonFly::buildLinker() const {
2341    return new tools::dragonfly::Linker(*this);
2342  }
2343  
2344 +bool DragonFly::HasNativeLLVMSupport() const { return true; }
2345 +
2346  /// CUDA toolchain.  Our assembler is ptxas, and our "linker" is fatbinary,
2347  /// which isn't properly a linker but nonetheless performs the step of stitching
2348  /// together object files from the assembler into a single blob.
2349
2350
2351 [FILE:368:dragonfly/patch-tools_clang_lib_Driver_ToolChains.h]
2352 --- tools/clang/lib/Driver/ToolChains.h.orig    2017-01-05 16:52:29 UTC
2353 +++ tools/clang/lib/Driver/ToolChains.h
2354 @@ -854,6 +854,8 @@ public:
2355    DragonFly(const Driver &D, const llvm::Triple &Triple,
2356              const llvm::opt::ArgList &Args);
2357  
2358 +  bool HasNativeLLVMSupport() const override;
2359 +
2360    bool IsMathErrnoDefault() const override { return false; }
2361  
2362  protected:
2363
2364
2365 [FILE:1854:dragonfly/patch-tools_clang_lib_Driver_Tools.cpp]
2366 --- tools/clang/lib/Driver/Tools.cpp.orig       2017-04-22 17:20:27 UTC
2367 +++ tools/clang/lib/Driver/Tools.cpp
2368 @@ -10714,7 +10714,7 @@ void dragonfly::Linker::ConstructJob(Com
2369        CmdArgs.push_back("-Bshareable");
2370      else {
2371        CmdArgs.push_back("-dynamic-linker");
2372 -      CmdArgs.push_back("/usr/libexec/ld-elf.so.2");
2373 +      CmdArgs.push_back("/libexec/ld-elf.so.2");
2374      }
2375      CmdArgs.push_back("--hash-style=gnu");
2376      CmdArgs.push_back("--enable-new-dtags");
2377 @@ -10757,17 +10757,20 @@ void dragonfly::Linker::ConstructJob(Com
2378            Args.MakeArgString(getToolChain().GetFilePath("crtbegin.o")));
2379    }
2380  
2381 +  if (D.isUsingLTO())
2382 +    AddGoldPlugin(getToolChain(), Args, CmdArgs, D.getLTOMode() == LTOK_Thin, D);
2383 +
2384    Args.AddAllArgs(CmdArgs,
2385                    {options::OPT_L, options::OPT_T_Group, options::OPT_e});
2386  
2387    AddLinkerInputs(getToolChain(), Inputs, Args, CmdArgs, JA);
2388  
2389    if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nodefaultlibs)) {
2390 -    CmdArgs.push_back("-L/usr/lib/gcc50");
2391 +    CmdArgs.push_back("-L@RAVEN_GCC@");
2392  
2393      if (!Args.hasArg(options::OPT_static)) {
2394        CmdArgs.push_back("-rpath");
2395 -      CmdArgs.push_back("/usr/lib/gcc50");
2396 +      CmdArgs.push_back("@RAVEN_GCC@");
2397      }
2398  
2399      if (D.CCCIsCXX()) {
2400 @@ -10787,16 +10790,7 @@ void dragonfly::Linker::ConstructJob(Com
2401          CmdArgs.push_back("-lgcc");
2402          CmdArgs.push_back("-lgcc_eh");
2403      } else {
2404 -      if (Args.hasArg(options::OPT_shared_libgcc)) {
2405 -          CmdArgs.push_back("-lgcc_pic");
2406 -          if (!Args.hasArg(options::OPT_shared))
2407 -            CmdArgs.push_back("-lgcc");
2408 -      } else {
2409 -          CmdArgs.push_back("-lgcc");
2410 -          CmdArgs.push_back("--as-needed");
2411 -          CmdArgs.push_back("-lgcc_pic");
2412 -          CmdArgs.push_back("--no-as-needed");
2413 -      }
2414 +        CmdArgs.push_back("-lgcc_s");
2415      }
2416    }
2417  
2418
2419
2420 [FILE:592:dragonfly/patch-tools_clang_lib_Frontend_InitHeaderSearch.cpp]
2421 --- tools/clang/lib/Frontend/InitHeaderSearch.cpp.orig  2016-12-02 09:51:51 UTC
2422 +++ tools/clang/lib/Frontend/InitHeaderSearch.cpp
2423 @@ -411,7 +411,9 @@ AddDefaultCPlusPlusIncludePaths(const ll
2424      }
2425      break;
2426    case llvm::Triple::DragonFly:
2427 -    AddPath("/usr/include/c++/5.0", CXXSystem, false);
2428 +    AddPath("@RAVEN_GXX_HEADERS_DIR@", CXXSystem, false);
2429 +    AddPath("@RAVEN_GXX_HEADERS_DIR@/backward", CXXSystem, false);
2430 +    AddPath("@RAVEN_GXX_HEADERS_DIR@/" + triple.getTriple(), CXXSystem, false);
2431      break;
2432    case llvm::Triple::OpenBSD: {
2433      std::string t = triple.getTriple();
2434
2435
2436 [FILE:564:dragonfly/patch-tools_clang_lib_Headers_CMakeLists.txt]
2437 --- tools/clang/lib/Headers/CMakeLists.txt.orig 2015-07-30 22:47:41 UTC
2438 +++ tools/clang/lib/Headers/CMakeLists.txt
2439 @@ -30,7 +30,6 @@ set(files
2440    Intrin.h
2441    inttypes.h
2442    iso646.h
2443 -  limits.h
2444    lzcntintrin.h
2445    mm3dnow.h
2446    mmintrin.h
2447 @@ -45,20 +44,12 @@ set(files
2448    s390intrin.h
2449    shaintrin.h
2450    smmintrin.h
2451 -  stdalign.h
2452 -  stdarg.h
2453 -  stdatomic.h
2454 -  stdbool.h
2455 -  stddef.h
2456    __stddef_max_align_t.h
2457 -  stdint.h
2458 -  stdnoreturn.h
2459    tbmintrin.h
2460    tgmath.h
2461    tmmintrin.h
2462    unwind.h
2463    vadefs.h
2464 -  varargs.h
2465    vecintrin.h
2466    __wmmintrin_aes.h
2467    wmmintrin.h
2468
2469
2470 [FILE:555:dragonfly/patch-wrong_predefs]
2471 --- tools/clang/lib/Basic/Targets.cpp.orig      2017-01-10 08:02:12.000000000 +0200
2472 +++ tools/clang/lib/Basic/Targets.cpp
2473 @@ -302,10 +302,7 @@ protected:
2474                      MacroBuilder &Builder) const override {
2475      // DragonFly defines; list based off of gcc output
2476      Builder.defineMacro("__DragonFly__");
2477 -    Builder.defineMacro("__DragonFly_cc_version", "100001");
2478      Builder.defineMacro("__ELF__");
2479 -    Builder.defineMacro("__KPRINTF_ATTRIBUTE__");
2480 -    Builder.defineMacro("__tune_i386__");
2481      DefineStd(Builder, "unix", Opts);
2482    }
2483  public:
2484