freebsd-skq/lib/clang
Dimitry Andric 6ca8079c85 Pull in r265122 from upstream llvm trunk (by James Molloy):
Fix for pr24346: arm asm label calculation error in sub

  Some ARM instructions encode 32-bit immediates as a 8-bit integer
  (0-255) and a 4-bit rotation (0-30, even) in its least significant 12
  bits. The original fixup, FK_Data_4, patches the instruction by the
  value bit-to-bit, regardless of the encoding. For example, assuming
  the label L1 and L2 are 0x0 and 0x104 respectively, the following
  instruction:

    add r0, r0, #(L2 - L1) ; expects 0x104, i.e., 260

  would be assembled to the following, which adds 1 to r0, instead of
  260:

    e2800104 add r0, r0, #4, 2 ; equivalently 1

  The new fixup kind fixup_arm_mod_imm takes care of the encoding:

    e2800f41 add r0, r0, #260

  Patch by Ting-Yuan Huang!

This fixes label calculation for ARM assembly, and is needed to enable
ARM assembly sources for OpenSSL.

Requested by:	jkim
MFC after:	3 days
2016-08-20 14:04:51 +00:00
..
include For clang, move the definition of FREEBSD_CC_VERSION into its own header 2016-06-03 16:17:36 +00:00
libclanganalysis DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
libclangarcmigrate DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
libclangast Merge ^/head r295902 through r296006. 2016-02-24 21:38:51 +00:00
libclangbasic For clang, move the definition of FREEBSD_CC_VERSION into its own header 2016-06-03 16:17:36 +00:00
libclangcodegen DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libclangdriver DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libclangedit DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
libclangformat Add clang-format under WITH_CLANG_EXTRAS. 2016-06-17 16:46:58 +00:00
libclangfrontend DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libclangfrontendtool DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libclanglex DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
libclangparse DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
libclangrewrite DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
libclangrewritefrontend Merge ^/head r295902 through r296006. 2016-02-24 21:38:51 +00:00
libclangsema Merge ^/head r295902 through r296006. 2016-02-24 21:38:51 +00:00
libclangserialization Merge ^/head r295902 through r296006. 2016-02-24 21:38:51 +00:00
libclangstaticanalyzercheckers Merge ^/head r295902 through r296006. 2016-02-24 21:38:51 +00:00
libclangstaticanalyzercore Merge ^/head r295902 through r296006. 2016-02-24 21:38:51 +00:00
libclangstaticanalyzerfrontend Merge ^/head r295902 through r296006. 2016-02-24 21:38:51 +00:00
libclangtoolingcore Add clang-format under WITH_CLANG_EXTRAS. 2016-06-17 16:46:58 +00:00
liblldb META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
liblldbAPI DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
liblldbBreakpoint DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
liblldbCommands DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
liblldbCore Merge ^/head r295902 through r296006. 2016-02-24 21:38:51 +00:00
liblldbDataFormatters Merge ^/head r295902 through r296006. 2016-02-24 21:38:51 +00:00
liblldbExpression DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
liblldbHostCommon Update build infrastructure for LLDB 3.8 2016-01-04 00:02:58 +00:00
liblldbHostFreeBSD META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
liblldbHostPOSIX Update build infrastructure for LLDB 3.8 2016-01-04 00:02:58 +00:00
liblldbInitialization DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
liblldbInterpreter Merge ^/head r295902 through r296006. 2016-02-24 21:38:51 +00:00
liblldbPluginABISysV_arm DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
liblldbPluginABISysV_arm64 DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
liblldbPluginABISysV_i386 DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
liblldbPluginABISysV_mips DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
liblldbPluginABISysV_mips64 DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
liblldbPluginABISysV_ppc DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
liblldbPluginABISysV_ppc64 DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
liblldbPluginABISysV_x86_64 DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
liblldbPluginCXXItaniumABI DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
liblldbPluginDisassemblerLLVM META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
liblldbPluginDynamicLoaderPosixDYLD DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
liblldbPluginDynamicLoaderStatic META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
liblldbPluginExpressionParserClang DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
liblldbPluginExpressionParserGo DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
liblldbPluginInstructionARM new depends 2015-06-16 23:37:19 +00:00
liblldbPluginInstructionARM64 new depends 2015-06-16 23:37:19 +00:00
liblldbPluginInstructionMIPS META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
liblldbPluginInstructionMIPS64 META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
liblldbPluginInstrumentationRuntimeAddressSanitizer DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
liblldbPluginJITLoaderGDB DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
liblldbPluginLanguageCPlusPlus DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
liblldbPluginLanguageObjC DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
liblldbPluginMemoryHistoryASan DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
liblldbPluginObjectContainerBSDArchive META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
liblldbPluginObjectFileELF META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
liblldbPluginObjectFileJIT META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
liblldbPluginPlatformFreeBSD META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
liblldbPluginPlatformGDB META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
liblldbPluginProcessElfCore META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
liblldbPluginProcessFreeBSD Merge ^/head r295902 through r296006. 2016-02-24 21:38:51 +00:00
liblldbPluginProcessGDBRemote DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
liblldbPluginProcessPOSIX META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
liblldbPluginProcessUtility Merge ^/head r295902 through r296006. 2016-02-24 21:38:51 +00:00
liblldbPluginScriptInterpreterNone DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
liblldbPluginSymbolFileDWARF DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
liblldbPluginSymbolFileSymtab DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
liblldbPluginSymbolVendorELF DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
liblldbPluginUnwindAssemblyInstEmulation META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
liblldbPluginUnwindAssemblyX86 META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
liblldbSymbol Merge ^/head r295902 through r296006. 2016-02-24 21:38:51 +00:00
liblldbTarget Merge ^/head r295902 through r296006. 2016-02-24 21:38:51 +00:00
liblldbUtility Update build infrastructure for LLDB 3.8 2016-01-04 00:02:58 +00:00
libllvmaarch64asmparser DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmaarch64asmprinter DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmaarch64codegen DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmaarch64desc DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmaarch64disassembler DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmaarch64info DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmaarch64utils DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmanalysis DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmarmasmparser DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmarmasmprinter DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmarmcodegen DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmarmdesc DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmarmdisassembler DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmarminfo DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmasmparser DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmasmprinter DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmbitreader DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmbitwriter DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmcodegen DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmcore DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmdebuginfodwarf Merge ^/head r295601 through r295844. 2016-02-21 13:49:26 +00:00
libllvmdebuginfopdb DIRDEPS_BUILD: Hookup CLANG_EXTRAS. 2016-02-16 23:11:09 +00:00
libllvmexecutionengine DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvminstcombine DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvminstrumentation DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvminterpreter DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmipo DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmirreader DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmlibdriver DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmlinker DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmlto DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmmc First part of updating llvm/clang build glue: getting llvm-tblgen, 2015-12-31 14:39:45 +00:00
libllvmmcdisassembler Minimize the number of files compiled for clang only (e.g. when neither 2015-09-06 22:02:13 +00:00
libllvmmcjit DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmmcparser Add META_MODE support. 2015-06-13 19:20:56 +00:00
libllvmmipsasmparser DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmmipsasmprinter DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmmipscodegen DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmmipsdesc DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmmipsdisassembler DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmmipsinfo DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmmirparser DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmobjcarcopts DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmobject DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmoption Add META_MODE support. 2015-06-13 19:20:56 +00:00
libllvmorcjit DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmpasses DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmpowerpcasmparser DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmpowerpcasmprinter DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmpowerpccodegen DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmpowerpcdesc DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmpowerpcdisassembler DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmpowerpcinfo DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmprofiledata DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmruntimedyld Merge ^/head r284188 through r284643. 2015-06-20 19:34:50 +00:00
libllvmscalaropts DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmselectiondag DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmsparcasmparser DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmsparcasmprinter DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmsparccodegen DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmsparcdesc DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmsparcdisassembler DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmsparcinfo DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmsupport Implement (ACFLAGS|CFLAGS|CXXFLAGS).SRC globally. 2016-03-26 03:46:12 +00:00
libllvmsymbolize DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmtablegen Merge ^/head r284188 through r284643. 2015-06-20 19:34:50 +00:00
libllvmtarget DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmtransformutils DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmvectorize DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmx86asmparser DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmx86asmprinter DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmx86codegen DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmx86desc DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmx86disassembler DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmx86info DIRDEPS_BUILD: Update clang dependencies after r296417. 2016-03-08 21:26:44 +00:00
libllvmx86utils Add META_MODE support. 2015-06-13 19:20:56 +00:00
clang.build.mk Reflect head is now 12.0-CURRENT. 2016-07-08 00:12:29 +00:00
clang.lib.mk Undo r294499 for now (which disabled -mlong-calls), so arm builds can 2016-01-23 14:17:21 +00:00
freebsd_cc_version.h Pull in r265122 from upstream llvm trunk (by James Molloy): 2016-08-20 14:04:51 +00:00
lldb.lib.mk Add LLDB bmake infrastructure 2013-09-20 01:52:02 +00:00
Makefile Add clang-format under WITH_CLANG_EXTRAS. 2016-06-17 16:46:58 +00:00