From owner-svn-src-projects@freebsd.org Sun Aug 2 18:07:17 2020 Return-Path: Delivered-To: svn-src-projects@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2F7163A3E5E for ; Sun, 2 Aug 2020 18:07:17 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BKTW84grdz3Vy6; Sun, 2 Aug 2020 18:07:16 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7FF782755A; Sun, 2 Aug 2020 18:07:16 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 072I7G1l059505; Sun, 2 Aug 2020 18:07:16 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 072I7GM9059504; Sun, 2 Aug 2020 18:07:16 GMT (envelope-from dim@FreeBSD.org) Message-Id: <202008021807.072I7GM9059504@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Sun, 2 Aug 2020 18:07:16 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r363773 - projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/builtins X-SVN-Group: projects X-SVN-Commit-Author: dim X-SVN-Commit-Paths: projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/builtins X-SVN-Commit-Revision: 363773 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Aug 2020 18:07:17 -0000 Author: dim Date: Sun Aug 2 18:07:16 2020 New Revision: 363773 URL: https://svnweb.freebsd.org/changeset/base/363773 Log: Reapply r230021, r276851 and a few other commits to compiler-rt Reapply r230021 (by ed): Add a workaround to prevent endless recursion in compiler-rt. SPARC and MIPS CPUs don't have special instructions to count leading/trailing zeroes. The compiler-rt library provides fallback rountines for these. The 64-bit routines, __clzdi2 and __ctzdi2, are implemented as simple wrappers around the compiler built-in __builtin_clz(), assuming these will expand to either 32-bit CPU instructions or calls to __clzsi2 and __ctzsi2. Unfortunately, our GCC 4.2 probably thinks that because the operand is stored in a 64-bit register, it might just be a better idea to invoke its 64-bit equivalent, simply resulting into endless recursion. Fix this by defining __builtin_clz and __builtin_ctz to __clzsi2 and __ctzsi2 explicitly. Reapply r276851: Update compiler-rt to trunk r224034. This brings a number of new builtins, and also the various sanitizers. Support for these will be added in a later commit. Modified: projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/builtins/int_lib.h Modified: projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/builtins/int_lib.h ============================================================================== --- projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/builtins/int_lib.h Sun Aug 2 16:59:14 2020 (r363772) +++ projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/builtins/int_lib.h Sun Aug 2 18:07:16 2020 (r363773) @@ -21,7 +21,9 @@ // ABI macro definitions #if __ARM_EABI__ -#ifdef COMPILER_RT_ARMHF_TARGET +#if defined(COMPILER_RT_ARMHF_TARGET) || (!defined(__clang__) && \ + defined(__GNUC__) && (__GNUC__ < 4 || __GNUC__ == 4 && __GNUC_MINOR__ < 5)) +// The pcs attribute was introduced in GCC 4.5.0 #define COMPILER_RT_ABI #else #define COMPILER_RT_ABI __attribute__((__pcs__("aapcs"))) @@ -91,6 +93,29 @@ // Include internal utility function declarations. #include "int_util.h" + +/* + * Workaround for LLVM bug 11663. Prevent endless recursion in + * __c?zdi2(), where calls to __builtin_c?z() are expanded to + * __c?zdi2() instead of __c?zsi2(). + * + * Instead of placing this workaround in c?zdi2.c, put it in this + * global header to prevent other C files from making the detour + * through __c?zdi2() as well. + * + * This problem has been observed on FreeBSD for sparc64 and + * mips64 with GCC 4.2.1, and for riscv with GCC 5.2.0. + * Presumably it's any version of GCC, and targeting an arch that + * does not have dedicated bit counting instructions. + */ +#if defined(__FreeBSD__) && (defined(__sparc64__) || \ + defined(__mips_n32) || defined(__mips_n64) || defined(__mips_o64) || \ + defined(__riscv)) +si_int __clzsi2(si_int); +si_int __ctzsi2(si_int); +#define __builtin_clz __clzsi2 +#define __builtin_ctz __ctzsi2 +#endif /* FreeBSD && (sparc64 || mips_n32 || mips_n64 || mips_o64 || riscv) */ COMPILER_RT_ABI int __paritysi2(si_int a); COMPILER_RT_ABI int __paritydi2(di_int a); From owner-svn-src-projects@freebsd.org Sun Aug 2 18:12:15 2020 Return-Path: Delivered-To: svn-src-projects@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 062663A43AF for ; Sun, 2 Aug 2020 18:12:15 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BKTct6S0Yz3WPM; Sun, 2 Aug 2020 18:12:14 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C17D027777; Sun, 2 Aug 2020 18:12:14 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 072ICEYL065371; Sun, 2 Aug 2020 18:12:14 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 072ICEm3065370; Sun, 2 Aug 2020 18:12:14 GMT (envelope-from dim@FreeBSD.org) Message-Id: <202008021812.072ICEm3065370@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Sun, 2 Aug 2020 18:12:14 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r363774 - projects/clang1100-import/contrib/llvm-project/libunwind/src X-SVN-Group: projects X-SVN-Commit-Author: dim X-SVN-Commit-Paths: projects/clang1100-import/contrib/llvm-project/libunwind/src X-SVN-Commit-Revision: 363774 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Aug 2020 18:12:15 -0000 Author: dim Date: Sun Aug 2 18:12:14 2020 New Revision: 363774 URL: https://svnweb.freebsd.org/changeset/base/363774 Log: Reapply r310365 (by emaste): libunwind: make __{de,}register_frame compatible with libgcc API The libgcc __register_frame and __deregister_frame functions take a pointer to a set of FDE/CIEs, terminated by an entry where length is 0. In Apple's libunwind implementation the pointer is taken to be to a single FDE. I suspect this was just an Apple bug, compensated by Apple- specific code in LLVM. See lib/ExecutionEngine/RuntimeDyld/RTDyldMemoryManager.cpp and http://lists.llvm.org/pipermail/llvm-dev/2013-April/061737.html for more detail. This change is based on the LLVM RTDyldMemoryManager.cpp. It should later be changed to be alignment-safe. Reported by: dim Reviewed by: dim Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D8869 Reapply r351610: Update libunwind custom frame register and deregister functions for FreeBSD: use the new doubly underscored names for unw_add_dynamic_fde and unw_remove_dynamic_fde. NOTE: this should be upstreamed... Modified: projects/clang1100-import/contrib/llvm-project/libunwind/src/UnwindLevel1-gcc-ext.c Modified: projects/clang1100-import/contrib/llvm-project/libunwind/src/UnwindLevel1-gcc-ext.c ============================================================================== --- projects/clang1100-import/contrib/llvm-project/libunwind/src/UnwindLevel1-gcc-ext.c Sun Aug 2 18:07:16 2020 (r363773) +++ projects/clang1100-import/contrib/llvm-project/libunwind/src/UnwindLevel1-gcc-ext.c Sun Aug 2 18:12:14 2020 (r363774) @@ -234,6 +234,46 @@ _LIBUNWIND_EXPORT uintptr_t _Unwind_GetIPInfo(struct _ #if defined(_LIBUNWIND_SUPPORT_DWARF_UNWIND) +#if defined(__FreeBSD__) + +// Based on LLVM's lib/ExecutionEngine/RuntimeDyld/RTDyldMemoryManager.cpp +// and XXX should be fixed to be alignment-safe. +static void processFDE(const char *addr, bool isDeregister) { + uint64_t length; + while ((length = *((const uint32_t *)addr)) != 0) { + const char *p = addr + 4; + if (length == 0xffffffff) { + length = *((const uint64_t *)p); + p += 8; + } + uint32_t offset = *((const uint32_t *)p); + if (offset != 0) { + if (isDeregister) + __unw_remove_dynamic_fde((unw_word_t)(uintptr_t)addr); + else + __unw_add_dynamic_fde((unw_word_t)(uintptr_t)addr); + } + addr = p + length; + } +} + +/// Called by programs with dynamic code generators that want to register +/// dynamically generated FDEs, with a libgcc-compatible API. + +_LIBUNWIND_EXPORT void __register_frame(const void *addr) { + _LIBUNWIND_TRACE_API("__register_frame(%p)", addr); + processFDE(addr, false); +} + +/// Called by programs with dynamic code generators that want to unregister +/// dynamically generated FDEs, with a libgcc-compatible API. +_LIBUNWIND_EXPORT void __deregister_frame(const void *addr) { + _LIBUNWIND_TRACE_API("__deregister_frame(%p)", addr); + processFDE(addr, true); +} + +#else // defined(__FreeBSD__) + /// Called by programs with dynamic code generators that want /// to register a dynamically generated FDE. /// This function has existed on Mac OS X since 10.4, but @@ -243,7 +283,6 @@ _LIBUNWIND_EXPORT void __register_frame(const void *fd __unw_add_dynamic_fde((unw_word_t)(uintptr_t)fde); } - /// Called by programs with dynamic code generators that want /// to unregister a dynamically generated FDE. /// This function has existed on Mac OS X since 10.4, but @@ -253,6 +292,7 @@ _LIBUNWIND_EXPORT void __deregister_frame(const void * __unw_remove_dynamic_fde((unw_word_t)(uintptr_t)fde); } +#endif // defined(__FreeBSD__) // The following register/deregister functions are gcc extensions. // They have existed on Mac OS X, but have never worked because Mac OS X From owner-svn-src-projects@freebsd.org Sun Aug 2 18:16:05 2020 Return-Path: Delivered-To: svn-src-projects@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7B3AC3A43DA for ; Sun, 2 Aug 2020 18:16:05 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BKTjK2nDzz3Wr8; Sun, 2 Aug 2020 18:16:05 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 428FC27B10; Sun, 2 Aug 2020 18:16:05 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 072IG5XS065602; Sun, 2 Aug 2020 18:16:05 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 072IG5hE065601; Sun, 2 Aug 2020 18:16:05 GMT (envelope-from dim@FreeBSD.org) Message-Id: <202008021816.072IG5hE065601@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Sun, 2 Aug 2020 18:16:05 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r363775 - projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD X-SVN-Group: projects X-SVN-Commit-Author: dim X-SVN-Commit-Paths: projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD X-SVN-Commit-Revision: 363775 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Aug 2020 18:16:05 -0000 Author: dim Date: Sun Aug 2 18:16:04 2020 New Revision: 363775 URL: https://svnweb.freebsd.org/changeset/base/363775 Log: Reapply r311164: Fix printf format warning on i386. Modified: projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp Modified: projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp ============================================================================== --- projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp Sun Aug 2 18:12:14 2020 (r363774) +++ projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp Sun Aug 2 18:16:04 2020 (r363775) @@ -278,7 +278,7 @@ void FreeBSDThread::DidStop() { void FreeBSDThread::WillResume(lldb::StateType resume_state) { Log *log(ProcessPOSIXLog::GetLogIfAllCategoriesSet(POSIX_LOG_THREAD)); - LLDB_LOGF(log, "tid %lu resume_state = %s", GetID(), + LLDB_LOGF(log, "tid %" PRIu64 " resume_state = %s", GetID(), lldb_private::StateAsCString(resume_state)); ProcessSP process_sp(GetProcess()); ProcessFreeBSD *process = static_cast(process_sp.get()); From owner-svn-src-projects@freebsd.org Sun Aug 2 18:18:17 2020 Return-Path: Delivered-To: svn-src-projects@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 994503A43FB for ; Sun, 2 Aug 2020 18:18:17 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BKTls3bf0z3Wy5; Sun, 2 Aug 2020 18:18:17 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5A84E27AC0; Sun, 2 Aug 2020 18:18:17 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 072IIHSx065859; Sun, 2 Aug 2020 18:18:17 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 072IIHmw065858; Sun, 2 Aug 2020 18:18:17 GMT (envelope-from dim@FreeBSD.org) Message-Id: <202008021818.072IIHmw065858@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Sun, 2 Aug 2020 18:18:17 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r363776 - projects/clang1100-import/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize X-SVN-Group: projects X-SVN-Commit-Author: dim X-SVN-Commit-Paths: projects/clang1100-import/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize X-SVN-Commit-Revision: 363776 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Aug 2020 18:18:17 -0000 Author: dim Date: Sun Aug 2 18:18:16 2020 New Revision: 363776 URL: https://svnweb.freebsd.org/changeset/base/363776 Log: Reapply r311165: Disable PDB support in LLVMSymbolizer for now, to avoid llvm-objdump pulling in all the PDB handling code. Modified: projects/clang1100-import/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/Symbolize.cpp Modified: projects/clang1100-import/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/Symbolize.cpp ============================================================================== --- projects/clang1100-import/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/Symbolize.cpp Sun Aug 2 18:16:04 2020 (r363775) +++ projects/clang1100-import/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/Symbolize.cpp Sun Aug 2 18:18:16 2020 (r363776) @@ -553,6 +553,7 @@ LLVMSymbolizer::getOrCreateModuleInfo(const std::strin StringRef PDBFileName; auto EC = CoffObject->getDebugPDBInfo(DebugInfo, PDBFileName); if (!EC && DebugInfo != nullptr && !PDBFileName.empty()) { +#if 0 using namespace pdb; std::unique_ptr Session; PDB_ReaderType ReaderType = Opts.UseNativePDBReader @@ -565,6 +566,11 @@ LLVMSymbolizer::getOrCreateModuleInfo(const std::strin return createFileError(PDBFileName, std::move(Err)); } Context.reset(new PDBContext(*CoffObject, std::move(Session))); +#else + return make_error( + "PDB support not compiled in", + std::make_error_code(std::errc::not_supported)); +#endif } } if (!Context) From owner-svn-src-projects@freebsd.org Sun Aug 2 18:27:59 2020 Return-Path: Delivered-To: svn-src-projects@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D1FFF3A4AE8 for ; Sun, 2 Aug 2020 18:27:59 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BKTz34td6z3XXY; Sun, 2 Aug 2020 18:27:59 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8B09027B99; Sun, 2 Aug 2020 18:27:59 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 072IRxcV071906; Sun, 2 Aug 2020 18:27:59 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 072IRxQO071905; Sun, 2 Aug 2020 18:27:59 GMT (envelope-from dim@FreeBSD.org) Message-Id: <202008021827.072IRxQO071905@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Sun, 2 Aug 2020 18:27:59 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r363777 - projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/sanitizer_common X-SVN-Group: projects X-SVN-Commit-Author: dim X-SVN-Commit-Paths: projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/sanitizer_common X-SVN-Commit-Revision: 363777 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Aug 2020 18:27:59 -0000 Author: dim Date: Sun Aug 2 18:27:59 2020 New Revision: 363777 URL: https://svnweb.freebsd.org/changeset/base/363777 Log: Reapply r322168 (partially, by br): o Replace __riscv__ with __riscv o Replace __riscv64 with (__riscv && __riscv_xlen == 64) This is required to support new GCC 7.1 compiler. This is compatible with current GCC 6.1 compiler. RISC-V is extensible ISA and the idea here is to have built-in define per each extension, so together with __riscv we will have some subset of these as well (depending on -march string passed to compiler): __riscv_compressed __riscv_atomic __riscv_mul __riscv_div __riscv_muldiv __riscv_fdiv __riscv_fsqrt __riscv_float_abi_soft __riscv_float_abi_single __riscv_float_abi_double __riscv_cmodel_medlow __riscv_cmodel_medany __riscv_cmodel_pic __riscv_xlen Reviewed by: ngie Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D11901 Modified: projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h Modified: projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h ============================================================================== --- projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h Sun Aug 2 18:18:16 2020 (r363776) +++ projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h Sun Aug 2 18:27:59 2020 (r363777) @@ -122,7 +122,7 @@ const unsigned struct_kexec_segment_sz = 4 * sizeof(un #if SANITIZER_LINUX -#if defined(__powerpc64__) || defined(__s390__) +#if defined(__powerpc64__) || defined(__riscv) || defined(__s390__) const unsigned struct___old_kernel_stat_sz = 0; #elif !defined(__sparc__) const unsigned struct___old_kernel_stat_sz = 32; @@ -523,7 +523,7 @@ typedef long long __sanitizer___kernel_off_t; typedef long __sanitizer___kernel_off_t; #endif -#if defined(__powerpc__) || defined(__mips__) +#if defined(__powerpc__) || defined(__mips__) || defined(__riscv) typedef unsigned int __sanitizer___kernel_old_uid_t; typedef unsigned int __sanitizer___kernel_old_gid_t; #else From owner-svn-src-projects@freebsd.org Sun Aug 2 18:30:30 2020 Return-Path: Delivered-To: svn-src-projects@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 85A483A4B3E for ; Sun, 2 Aug 2020 18:30:30 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BKV1y2qQnz3XW6; Sun, 2 Aug 2020 18:30:30 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3FFB127ADB; Sun, 2 Aug 2020 18:30:30 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 072IUUnd072116; Sun, 2 Aug 2020 18:30:30 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 072IUUsH072115; Sun, 2 Aug 2020 18:30:30 GMT (envelope-from dim@FreeBSD.org) Message-Id: <202008021830.072IUUsH072115@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Sun, 2 Aug 2020 18:30:30 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r363778 - projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/builtins X-SVN-Group: projects X-SVN-Commit-Author: dim X-SVN-Commit-Paths: projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/builtins X-SVN-Commit-Revision: 363778 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Aug 2020 18:30:30 -0000 Author: dim Date: Sun Aug 2 18:30:29 2020 New Revision: 363778 URL: https://svnweb.freebsd.org/changeset/base/363778 Log: Reapply r326600 (by imp): Since this is contrib code, create an upstreamable version of my change. Now on FreeBSD and NetBSD if _STANDALONE is defined, we include the kernel version with alloances for the quirky differences between the two. Sponsored by: Netflix Modified: projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/builtins/int_lib.h Modified: projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/builtins/int_lib.h ============================================================================== --- projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/builtins/int_lib.h Sun Aug 2 18:27:59 2020 (r363777) +++ projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/builtins/int_lib.h Sun Aug 2 18:30:29 2020 (r363778) @@ -72,12 +72,16 @@ #error Unsupported target #endif -#if defined(__NetBSD__) && (defined(_KERNEL) || defined(_STANDALONE)) +#if (defined(__FreeBSD__) || defined(__NetBSD__)) && (defined(_KERNEL) || defined(_STANDALONE)) // // Kernel and boot environment can't use normal headers, // so use the equivalent system headers. // +#ifdef __FreeBSD__ +#include +#else #include +#endif #include #include #else From owner-svn-src-projects@freebsd.org Sun Aug 2 18:34:30 2020 Return-Path: Delivered-To: svn-src-projects@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 23D9D3A49C2 for ; Sun, 2 Aug 2020 18:34:30 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BKV6Z00sgz3Y9V; Sun, 2 Aug 2020 18:34:30 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D7A1727E1B; Sun, 2 Aug 2020 18:34:29 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 072IYTsT078065; Sun, 2 Aug 2020 18:34:29 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 072IYTWK078064; Sun, 2 Aug 2020 18:34:29 GMT (envelope-from dim@FreeBSD.org) Message-Id: <202008021834.072IYTWK078064@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Sun, 2 Aug 2020 18:34:29 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r363779 - projects/clang1100-import/contrib/llvm-project/lld/tools/lld X-SVN-Group: projects X-SVN-Commit-Author: dim X-SVN-Commit-Paths: projects/clang1100-import/contrib/llvm-project/lld/tools/lld X-SVN-Commit-Revision: 363779 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Aug 2020 18:34:30 -0000 Author: dim Date: Sun Aug 2 18:34:29 2020 New Revision: 363779 URL: https://svnweb.freebsd.org/changeset/base/363779 Log: Reapply r327026 (partially): Merge lld trunk r321017 to contrib/llvm/tools/lld. (Note that in this merge, I foolishly combined upstream changes with this local change. But only this ifdef part is really needed, as we always default to ELF link mode.) Modified: projects/clang1100-import/contrib/llvm-project/lld/tools/lld/lld.cpp Modified: projects/clang1100-import/contrib/llvm-project/lld/tools/lld/lld.cpp ============================================================================== --- projects/clang1100-import/contrib/llvm-project/lld/tools/lld/lld.cpp Sun Aug 2 18:30:29 2020 (r363778) +++ projects/clang1100-import/contrib/llvm-project/lld/tools/lld/lld.cpp Sun Aug 2 18:34:29 2020 (r363779) @@ -142,6 +142,9 @@ int main(int argc, const char **argv) { InitLLVM x(argc, argv); std::vector args(argv, argv + argc); +#ifdef __FreeBSD__ + return !elf::link(args, canExitEarly(), llvm::outs(), llvm::errs()); +#else switch (parseFlavor(args)) { case Gnu: if (isPETarget(args)) @@ -160,4 +163,5 @@ int main(int argc, const char **argv) { "Invoke ld.lld (Unix), ld64.lld (macOS), lld-link (Windows), wasm-ld" " (WebAssembly) instead"); } +#endif } From owner-svn-src-projects@freebsd.org Sun Aug 2 20:50:20 2020 Return-Path: Delivered-To: svn-src-projects@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2F83F3A705A for ; Sun, 2 Aug 2020 20:50:20 +0000 (UTC) (envelope-from jrtc27@jrtc27.com) Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BKY7G41Fjz3gQ6 for ; Sun, 2 Aug 2020 20:50:18 +0000 (UTC) (envelope-from jrtc27@jrtc27.com) Received: by mail-wr1-f50.google.com with SMTP id f18so32381961wrs.0 for ; Sun, 02 Aug 2020 13:50:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=lxTQJeuxq2YIGXixwGu4lU55Bkd+SlSBc9ZRmnntkqI=; b=ewoeu8tLlYGzcS1O6CFFLnDUXGmGwU1JA9gr0QDRC/2g59XGOSpjuPJfVZ5X2YzvGS lusO9UOd+B9rFeLhKxUatJYQ7+5CCVwpaP75nm16iG69rMRdHSeH+FQseaWEpVxAveFL 3gMw7wlHs/CNnO39pCg/o8caTeqfwFHoFZJEGDssRGiv7CueAzCnQyrPKSpJTV7P2qXS mMfk5hmhTeP2vjw72UCwxzmDYUw/lgXjQsT2aEO9WI4IpewMa6k6YHZdjTQ8qCWGlNsB k3A3gqSo03HRIgmf3pZeIEgEgKBTf0C92FHJKCsX6PYWO/iHuTpxSgXI9klftG1DInjR Yu2A== X-Gm-Message-State: AOAM533CMpSplX9sPtXAB4GymQNHx56j/r6Der727qaLGizYV9KHRkZC H4gAQIxZRtrp04VVdR849PYMIA== X-Google-Smtp-Source: ABdhPJwMyoBq24QwdGH0ssc3zBNGaUIfax2Pjz+GfixRlsChOZTnQlYO4EfBdoVXWL81FEDKrNZRtw== X-Received: by 2002:adf:e550:: with SMTP id z16mr12201167wrm.329.1596401416876; Sun, 02 Aug 2020 13:50:16 -0700 (PDT) Received: from [192.168.149.251] (trinity-students-nat.trin.cam.ac.uk. [131.111.193.104]) by smtp.gmail.com with ESMTPSA id b129sm19949209wmb.29.2020.08.02.13.50.15 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 02 Aug 2020 13:50:16 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: svn commit: r363773 - projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/builtins From: Jessica Clarke In-Reply-To: <202008021807.072I7GM9059504@repo.freebsd.org> Date: Sun, 2 Aug 2020 21:50:15 +0100 Cc: src-committers , svn-src-projects@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: <5D6813EB-F270-412D-8C15-8A05CB6353DE@freebsd.org> References: <202008021807.072I7GM9059504@repo.freebsd.org> To: Dimitry Andric X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Rspamd-Queue-Id: 4BKY7G41Fjz3gQ6 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of jrtc27@jrtc27.com designates 209.85.221.50 as permitted sender) smtp.mailfrom=jrtc27@jrtc27.com X-Spamd-Result: default: False [-1.95 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[svn-src-projects@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-0.95)[-0.947]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.60)[-0.603]; RCVD_IN_DNSWL_NONE(0.00)[209.85.221.50:from]; NEURAL_HAM_MEDIUM(-0.90)[-0.896]; FORGED_SENDER(0.30)[jrtc27@freebsd.org,jrtc27@jrtc27.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.221.50:from]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[jrtc27@freebsd.org,jrtc27@jrtc27.com]; RCVD_TLS_ALL(0.00)[] X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Aug 2020 20:50:20 -0000 On 2 Aug 2020, at 19:07, Dimitry Andric wrote: > > Author: dim > Date: Sun Aug 2 18:07:16 2020 > New Revision: 363773 > URL: https://svnweb.freebsd.org/changeset/base/363773 > > Log: > Reapply r230021, r276851 and a few other commits to compiler-rt > > Reapply r230021 (by ed): > > Add a workaround to prevent endless recursion in compiler-rt. > > SPARC and MIPS CPUs don't have special instructions to count > leading/trailing zeroes. The compiler-rt library provides fallback > rountines for these. The 64-bit routines, __clzdi2 and __ctzdi2, are > implemented as simple wrappers around the compiler built-in > __builtin_clz(), assuming these will expand to either 32-bit > CPU instructions or calls to __clzsi2 and __ctzsi2. > > Unfortunately, our GCC 4.2 probably thinks that because the operand is > stored in a 64-bit register, it might just be a better idea to invoke > its 64-bit equivalent, simply resulting into endless recursion. Fix this > by defining __builtin_clz and __builtin_ctz to __clzsi2 and __ctzsi2 > explicitly. > > Reapply r276851: > > Update compiler-rt to trunk r224034. This brings a number of new > builtins, and also the various sanitizers. Support for these will be > added in a later commit. Are you sure this is still necessary? https://reviews.llvm.org/D42902 (which landed in in 2018 for 7.0.0, way after the original r230021 in 2012) followed by a follow-up commit for the correct SPARC macro, fixed this in an OS-independent way upstream, but inside c?zdi2.c themselves so you won't notice a merge conflict. Jess From owner-svn-src-projects@freebsd.org Sun Aug 2 23:50:56 2020 Return-Path: Delivered-To: svn-src-projects@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0E3B73AAD39 for ; Sun, 2 Aug 2020 23:50:56 +0000 (UTC) (envelope-from rmacklem@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BKd7g6ghwz45yr; Sun, 2 Aug 2020 23:50:55 +0000 (UTC) (envelope-from rmacklem@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C885BBB48; Sun, 2 Aug 2020 23:50:55 +0000 (UTC) (envelope-from rmacklem@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 072NotJh069547; Sun, 2 Aug 2020 23:50:55 GMT (envelope-from rmacklem@FreeBSD.org) Received: (from rmacklem@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 072NotAV069197; Sun, 2 Aug 2020 23:50:55 GMT (envelope-from rmacklem@FreeBSD.org) Message-Id: <202008022350.072NotAV069197@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rmacklem set sender to rmacklem@FreeBSD.org using -f From: Rick Macklem Date: Sun, 2 Aug 2020 23:50:55 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r363785 - projects/nfs-over-tls/rc.d X-SVN-Group: projects X-SVN-Commit-Author: rmacklem X-SVN-Commit-Paths: projects/nfs-over-tls/rc.d X-SVN-Commit-Revision: 363785 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Aug 2020 23:50:56 -0000 Author: rmacklem Date: Sun Aug 2 23:50:55 2020 New Revision: 363785 URL: https://svnweb.freebsd.org/changeset/base/363785 Log: Add rpctlscd and rpctlssd rc.d scripts to start the daemons. Added: projects/nfs-over-tls/rc.d/ projects/nfs-over-tls/rc.d/rpctlscd projects/nfs-over-tls/rc.d/rpctlssd Added: projects/nfs-over-tls/rc.d/rpctlscd ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ projects/nfs-over-tls/rc.d/rpctlscd Sun Aug 2 23:50:55 2020 (r363785) @@ -0,0 +1,27 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +# PROVIDE: rpctlscd +# REQUIRE: NETWORKING +# KEYWORD: nojail shutdown + +. /etc/rc.subr + +name="rpctlscd" +desc="NFS over TLS client side daemon" +rcvar="rpctlscd_enable" +command="/usr/sbin/${name}" +pidfile="/var/run/${name}.pid" +start_precmd="rpctlscd_precmd" + +rpctlscd_precmd() +{ + # If this load fails, TLS should still work, just more slowly. + kldload -n -q aesni.ko +} + +load_rc_config $name + +run_rc_command "$1" Added: projects/nfs-over-tls/rc.d/rpctlssd ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ projects/nfs-over-tls/rc.d/rpctlssd Sun Aug 2 23:50:55 2020 (r363785) @@ -0,0 +1,30 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +# PROVIDE: rpctlssd +# REQUIRE: NETWORKING +# KEYWORD: nojail shutdown + +. /etc/rc.subr + +name="rpctlssd" +desc="NFS over TLS server side daemon" +rcvar="rpctlssd_enable" +command="/usr/sbin/${name}" +pidfile="/var/run/${name}.pid" +required_files="/etc/rpctlssd/cert.pem /etc/rpctlssd/key.pem" +extra_commands="reload" +start_precmd="rpctlssd_precmd" + +rpctlssd_precmd() +{ + # If this load fails, TLS should still work, just more slowly. + kldload -n -q aesni.ko +} + + +load_rc_config $name + +run_rc_command "$1" From owner-svn-src-projects@freebsd.org Mon Aug 3 16:50:30 2020 Return-Path: Delivered-To: svn-src-projects@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3AE4B37FE67 for ; Mon, 3 Aug 2020 16:50:30 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BL3m60nMKz45LD; Mon, 3 Aug 2020 16:50:30 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "Let's Encrypt Authority X3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id C0DCD2AD1D; Mon, 3 Aug 2020 16:50:29 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:470:7a58::704a:83ae:3b05:45f6] (unknown [IPv6:2001:470:7a58:0:704a:83ae:3b05:45f6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 912272323; Mon, 3 Aug 2020 18:50:27 +0200 (CEST) From: Dimitry Andric Message-Id: Content-Type: multipart/signed; boundary="Apple-Mail=_C4638C7A-B292-4A67-BF3C-14490DDF8A5C"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.15\)) Subject: Re: svn commit: r363773 - projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/builtins Date: Mon, 3 Aug 2020 18:50:20 +0200 In-Reply-To: <5D6813EB-F270-412D-8C15-8A05CB6353DE@freebsd.org> Cc: src-committers , svn-src-projects@freebsd.org, Ed Schouten , John Baldwin To: Jessica Clarke References: <202008021807.072I7GM9059504@repo.freebsd.org> <5D6813EB-F270-412D-8C15-8A05CB6353DE@freebsd.org> X-Mailer: Apple Mail (2.3445.104.15) X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Aug 2020 16:50:30 -0000 --Apple-Mail=_C4638C7A-B292-4A67-BF3C-14490DDF8A5C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 2 Aug 2020, at 22:50, Jessica Clarke wrote: >=20 > On 2 Aug 2020, at 19:07, Dimitry Andric wrote: >>=20 >> Author: dim >> Date: Sun Aug 2 18:07:16 2020 >> New Revision: 363773 >> URL: https://svnweb.freebsd.org/changeset/base/363773 >>=20 >> Log: >> Reapply r230021, r276851 and a few other commits to compiler-rt >>=20 >> Reapply r230021 (by ed): >>=20 >> Add a workaround to prevent endless recursion in compiler-rt. >>=20 >> SPARC and MIPS CPUs don't have special instructions to count >> leading/trailing zeroes. The compiler-rt library provides fallback >> rountines for these. The 64-bit routines, __clzdi2 and __ctzdi2, are >> implemented as simple wrappers around the compiler built-in >> __builtin_clz(), assuming these will expand to either 32-bit >> CPU instructions or calls to __clzsi2 and __ctzsi2. ... > Are you sure this is still necessary? https://reviews.llvm.org/D42902 > (which landed in in 2018 for 7.0.0, way after the original r230021 in > 2012) followed by a follow-up commit for the correct SPARC macro, = fixed > this in an OS-independent way upstream, but inside c?zdi2.c themselves > so you won't notice a merge conflict. Yes, you are probably right, though the preceding comment in int_lib.h specifically mentions: * Instead of placing this workaround in c?zdi2.c, put it in this * global header to prevent other C files from making the detour * through __c?zdi2() as well. There are indeed quite a lot of calls to __builtin_c[lt]z throughout compiler-rt, so removing this workaround from the int_lib.h header will possibly pessimize all of those. Is that going to work alright for all affected architectures, which appear to be mips64, riscv and sparc64? Note also that https://bugs.llvm.org/show_bug.cgi?id=3D11663 is *still* open, possibly because of that reason. But it looks like interest in the bug simply waned, and it was never closed. In any case, I managed to get the new-new-new-mk2-style version of mips64-xtoolchain working, and got these warnings, so indeed the fix is now applied in two places: /usr/src/contrib/llvm-project/compiler-rt/lib/builtins/clzdi2.c:23: = warning: "__builtin_clz" redefined 23 | #define __builtin_clz(a) __clzsi2(a) | In file included from = /usr/src/contrib/llvm-project/compiler-rt/lib/builtins/clzdi2.c:13: /usr/src/contrib/llvm-project/compiler-rt/lib/builtins/int_lib.h:112: = note: this is the location of the previous definition 112 | #define __builtin_clz __clzsi2 | The preprocessed C code looks OK, in the sense that it delegates to __clzsi2 now: extern si_int __clzsi2(si_int); si_int __clzdi2(di_int a) { dwords x; x.all =3D a; const si_int f =3D -(x.s.high =3D=3D 0); return __clzsi2((x.s.high & ~f) | (x.s.low & f)) + (f & ((si_int)(sizeof(si_int) * 8))); } And the resulting assembly shows no further external calls: 0000000000000000 <__clzdi2>: 0: 67bdffe0 daddiu sp,sp,-32 4: ffbf0018 sd ra,24(sp) 8: ffbc0010 sd gp,16(sp) c: ffb00008 sd s0,8(sp) 10: 3c1c0000 lui gp,0x0 14: 0399e02d daddu gp,gp,t9 18: 679c0000 daddiu gp,gp,0 1c: 0004103f dsra32 v0,a0,0x0 20: 2c430001 sltiu v1,v0,1 24: 0003802f dnegu s0,v1 28: 2463ffff addiu v1,v1,-1 2c: 00621824 and v1,v1,v0 30: 00042000 sll a0,a0,0x0 34: 00902024 and a0,a0,s0 38: df990000 ld t9,0(gp) 3c: 0320f809 jalr t9 40: 00642025 or a0,v1,a0 44: 32100020 andi s0,s0,0x20 48: 02021021 addu v0,s0,v0 4c: dfbf0018 ld ra,24(sp) 50: dfbc0010 ld gp,16(sp) 54: dfb00008 ld s0,8(sp) 58: 03e00008 jr ra 5c: 67bd0020 daddiu sp,sp,32 In summary, I'm fine with dropping this part of r230021, as long as everybody is convinced this does not pessimize the rest too much. -Dimitry --Apple-Mail=_C4638C7A-B292-4A67-BF3C-14490DDF8A5C Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCXyhATAAKCRCwXqMKLiCW oy2cAKDVudWLkMZkjQ+QsT/Ku5eqpvesYQCcCj8FzP4W9UcbCu58Iu8ZZl5dmY0= =lpMz -----END PGP SIGNATURE----- --Apple-Mail=_C4638C7A-B292-4A67-BF3C-14490DDF8A5C-- From owner-svn-src-projects@freebsd.org Mon Aug 3 17:05:52 2020 Return-Path: Delivered-To: svn-src-projects@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 13AF73A19AD for ; Mon, 3 Aug 2020 17:05:52 +0000 (UTC) (envelope-from jrtc27@jrtc27.com) Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com [209.85.128.68]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BL45q2P60z46fb for ; Mon, 3 Aug 2020 17:05:51 +0000 (UTC) (envelope-from jrtc27@jrtc27.com) Received: by mail-wm1-f68.google.com with SMTP id x5so260182wmi.2 for ; Mon, 03 Aug 2020 10:05:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=D8AoVUDToB57LttVSmp2lD7qamBQIousaWaQJbknaKM=; b=SYKuxybgKIUgjBbzE70C18IvmJyolNROmr8qMZHxCDfbu8GzibxpXbfqgUu0CkktxW nUq3QvXg6Q9Y1BC7usC84IjAuTM6F/WxhJD5TBSL8Mzc3tO0X73teH8qdlj02k+2B1UG ZLzMmsN1bNrO2agGuCUBvS5diLSBXg1iGWtYL0F5rQeihczI5yj209CQK3SxUMPsrrST f1jMoFuI1dZM15ofYrhorHtQzQ3IUaULb8fEpd3UcicU3HAdtyiMIZ66yRhUv1AIEnD4 31BOxSkKIIxQeZTisrpYJNPtQ4eS0OSJb1AuMZMQ2oaQJxC3Ui4ooe9X0JNs3HQGQKGu q+sw== X-Gm-Message-State: AOAM530SelfIJfLwQVQ0We+B1NJKqm5ONVamBau9mj1myXahIB0GtVK+ WcWKvp4lEep6kZWAg0I0zsSWIg== X-Google-Smtp-Source: ABdhPJw1hU7a0B+z91iH4is/U91PFxhrKYLi06iG8c43tnji0mBPxPC++5AVMJf9t4ZPMIW3R0k5wA== X-Received: by 2002:a1c:19c2:: with SMTP id 185mr225415wmz.8.1596474349703; Mon, 03 Aug 2020 10:05:49 -0700 (PDT) Received: from [192.168.149.251] (trinity-students-nat.trin.cam.ac.uk. [131.111.193.104]) by smtp.gmail.com with ESMTPSA id f124sm364004wmf.7.2020.08.03.10.05.48 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Aug 2020 10:05:48 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: svn commit: r363773 - projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/builtins From: Jessica Clarke In-Reply-To: Date: Mon, 3 Aug 2020 18:05:47 +0100 Cc: src-committers , svn-src-projects@freebsd.org, Ed Schouten , John Baldwin Content-Transfer-Encoding: quoted-printable Message-Id: References: <202008021807.072I7GM9059504@repo.freebsd.org> <5D6813EB-F270-412D-8C15-8A05CB6353DE@freebsd.org> To: Dimitry Andric X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Rspamd-Queue-Id: 4BL45q2P60z46fb X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of jrtc27@jrtc27.com designates 209.85.128.68 as permitted sender) smtp.mailfrom=jrtc27@jrtc27.com X-Spamd-Result: default: False [-2.44 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[svn-src-projects@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; RCPT_COUNT_FIVE(0.00)[5]; NEURAL_HAM_LONG(-0.90)[-0.904]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.13)[-1.133]; RCVD_IN_DNSWL_NONE(0.00)[209.85.128.68:from]; NEURAL_HAM_MEDIUM(-0.90)[-0.903]; FORGED_SENDER(0.30)[jrtc27@freebsd.org,jrtc27@jrtc27.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.128.68:from]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[jrtc27@freebsd.org,jrtc27@jrtc27.com]; RCVD_TLS_ALL(0.00)[] X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Aug 2020 17:05:52 -0000 On 3 Aug 2020, at 17:50, Dimitry Andric wrote: >=20 > On 2 Aug 2020, at 22:50, Jessica Clarke wrote: >>=20 >> On 2 Aug 2020, at 19:07, Dimitry Andric wrote: >>>=20 >>> Author: dim >>> Date: Sun Aug 2 18:07:16 2020 >>> New Revision: 363773 >>> URL: https://svnweb.freebsd.org/changeset/base/363773 >>>=20 >>> Log: >>> Reapply r230021, r276851 and a few other commits to compiler-rt >>>=20 >>> Reapply r230021 (by ed): >>>=20 >>> Add a workaround to prevent endless recursion in compiler-rt. >>>=20 >>> SPARC and MIPS CPUs don't have special instructions to count >>> leading/trailing zeroes. The compiler-rt library provides fallback >>> rountines for these. The 64-bit routines, __clzdi2 and __ctzdi2, are >>> implemented as simple wrappers around the compiler built-in >>> __builtin_clz(), assuming these will expand to either 32-bit >>> CPU instructions or calls to __clzsi2 and __ctzsi2. > ... >> Are you sure this is still necessary? https://reviews.llvm.org/D42902 >> (which landed in in 2018 for 7.0.0, way after the original r230021 in >> 2012) followed by a follow-up commit for the correct SPARC macro, = fixed >> this in an OS-independent way upstream, but inside c?zdi2.c = themselves >> so you won't notice a merge conflict. >=20 > Yes, you are probably right, though the preceding comment in int_lib.h > specifically mentions: >=20 > * Instead of placing this workaround in c?zdi2.c, put it in this > * global header to prevent other C files from making the detour > * through __c?zdi2() as well. >=20 > There are indeed quite a lot of calls to __builtin_c[lt]z throughout > compiler-rt, so removing this workaround from the int_lib.h header > will possibly pessimize all of those. Is that going to work alright = for > all affected architectures, which appear to be mips64, riscv and > sparc64? I don't think it matters much. __clzdi2 is this (the preprocessed version of which you provided): dwords x; x.all =3D a; const si_int f =3D -(x.s.high =3D=3D 0); return __builtin_clz((x.s.high & ~f) | (x.s.low & f)) + (f & ((si_int)(sizeof(si_int) * CHAR_BIT))); The implementation of __clzsi2 does a bunch more work than that (not crazy, but still several times more), so I don't think you'll notice all that much. Besides, Clang is our primary compiler and won't suffer from this workaround, so I personally have no qualms about a small performance hit when using GCC and what should be a relatively cold[1] function. I'm of the view we should be as close to upstream as possible, ideally with zero diffs, so personally wouldn't carry patches like this unless it had a noticeable affect on system performance, but even then would encourage others to patch it upstream first and foremost. Jess [1] Even if compiler-rt uses it a lot, I would expect the work done by its callers, and the callers of the callers etc, to far outweigh the time taken within __clzdi2 (and similarly for other related variants). > Note also that https://bugs.llvm.org/show_bug.cgi?id=3D11663 is = *still* > open, possibly because of that reason. But it looks like interest in > the bug simply waned, and it was never closed. >=20 > In any case, I managed to get the new-new-new-mk2-style version of > mips64-xtoolchain working, and got these warnings, so indeed the fix > is now applied in two places: >=20 > /usr/src/contrib/llvm-project/compiler-rt/lib/builtins/clzdi2.c:23: = warning: "__builtin_clz" redefined > 23 | #define __builtin_clz(a) __clzsi2(a) > | > In file included from = /usr/src/contrib/llvm-project/compiler-rt/lib/builtins/clzdi2.c:13: > /usr/src/contrib/llvm-project/compiler-rt/lib/builtins/int_lib.h:112: = note: this is the location of the previous definition > 112 | #define __builtin_clz __clzsi2 > | >=20 > The preprocessed C code looks OK, in the sense that it delegates to > __clzsi2 now: >=20 > extern si_int __clzsi2(si_int); >=20 > si_int __clzdi2(di_int a) { > dwords x; > x.all =3D a; > const si_int f =3D -(x.s.high =3D=3D 0); > return __clzsi2((x.s.high & ~f) | (x.s.low & f)) + > (f & ((si_int)(sizeof(si_int) * 8))); > } >=20 > And the resulting assembly shows no further external calls: >=20 > 0000000000000000 <__clzdi2>: > 0: 67bdffe0 daddiu sp,sp,-32 > 4: ffbf0018 sd ra,24(sp) > 8: ffbc0010 sd gp,16(sp) > c: ffb00008 sd s0,8(sp) > 10: 3c1c0000 lui gp,0x0 > 14: 0399e02d daddu gp,gp,t9 > 18: 679c0000 daddiu gp,gp,0 > 1c: 0004103f dsra32 v0,a0,0x0 > 20: 2c430001 sltiu v1,v0,1 > 24: 0003802f dnegu s0,v1 > 28: 2463ffff addiu v1,v1,-1 > 2c: 00621824 and v1,v1,v0 > 30: 00042000 sll a0,a0,0x0 > 34: 00902024 and a0,a0,s0 > 38: df990000 ld t9,0(gp) > 3c: 0320f809 jalr t9 > 40: 00642025 or a0,v1,a0 > 44: 32100020 andi s0,s0,0x20 > 48: 02021021 addu v0,s0,v0 > 4c: dfbf0018 ld ra,24(sp) > 50: dfbc0010 ld gp,16(sp) > 54: dfb00008 ld s0,8(sp) > 58: 03e00008 jr ra > 5c: 67bd0020 daddiu sp,sp,32 >=20 > In summary, I'm fine with dropping this part of r230021, as long as > everybody is convinced this does not pessimize the rest too much. >=20 > -Dimitry From owner-svn-src-projects@freebsd.org Mon Aug 3 17:19:41 2020 Return-Path: Delivered-To: svn-src-projects@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 901153A20AE for ; Mon, 3 Aug 2020 17:19:41 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BL4Pn3KmTz47Tc; Mon, 3 Aug 2020 17:19:41 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:470:7a58:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "Let's Encrypt Authority X3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id 3D80D2B3D4; Mon, 3 Aug 2020 17:19:41 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:470:7a58::704a:83ae:3b05:45f6] (unknown [IPv6:2001:470:7a58:0:704a:83ae:3b05:45f6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id C382E2326; Mon, 3 Aug 2020 19:19:39 +0200 (CEST) From: Dimitry Andric Message-Id: <227068EE-C71E-4CD1-8DE0-A1CF9363D2B2@FreeBSD.org> Content-Type: multipart/signed; boundary="Apple-Mail=_5769641E-6573-4294-A0B0-FA5E655EA6B5"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.15\)) Subject: Re: svn commit: r363773 - projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/builtins Date: Mon, 3 Aug 2020 19:19:29 +0200 In-Reply-To: Cc: src-committers , svn-src-projects@freebsd.org, Ed Schouten , John Baldwin To: Jessica Clarke References: <202008021807.072I7GM9059504@repo.freebsd.org> <5D6813EB-F270-412D-8C15-8A05CB6353DE@freebsd.org> X-Mailer: Apple Mail (2.3445.104.15) X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Aug 2020 17:19:41 -0000 --Apple-Mail=_5769641E-6573-4294-A0B0-FA5E655EA6B5 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii On 3 Aug 2020, at 19:05, Jessica Clarke wrote: > > On 3 Aug 2020, at 17:50, Dimitry Andric wrote: >> >> On 2 Aug 2020, at 22:50, Jessica Clarke wrote: ... >> There are indeed quite a lot of calls to __builtin_c[lt]z throughout >> compiler-rt, so removing this workaround from the int_lib.h header >> will possibly pessimize all of those. Is that going to work alright for >> all affected architectures, which appear to be mips64, riscv and >> sparc64? > > I don't think it matters much. __clzdi2 is this (the preprocessed > version of which you provided): > > dwords x; > x.all = a; > const si_int f = -(x.s.high == 0); > return __builtin_clz((x.s.high & ~f) | (x.s.low & f)) + > (f & ((si_int)(sizeof(si_int) * CHAR_BIT))); > > The implementation of __clzsi2 does a bunch more work than that (not > crazy, but still several times more), so I don't think you'll notice > all that much. Besides, Clang is our primary compiler and won't suffer > from this workaround, so I personally have no qualms about a small > performance hit when using GCC and what should be a relatively cold[1] > function. I'm of the view we should be as close to upstream as > possible, ideally with zero diffs, so personally wouldn't carry patches > like this unless it had a noticeable affect on system performance, but > even then would encourage others to patch it upstream first and > foremost. Yeah, less patches is always OK, so I'll drop this particular one, then. Thanks for the feedback! -Dimitry --Apple-Mail=_5769641E-6573-4294-A0B0-FA5E655EA6B5 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCXyhHIQAKCRCwXqMKLiCW o7aDAJ4++R0t+c59UHKfqosUN1IaQe1uAACfZHA0jFwXBuRmip0D9RzTcqbTCJc= =e5R1 -----END PGP SIGNATURE----- --Apple-Mail=_5769641E-6573-4294-A0B0-FA5E655EA6B5-- From owner-svn-src-projects@freebsd.org Mon Aug 3 17:51:58 2020 Return-Path: Delivered-To: svn-src-projects@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9220E3A343A for ; Mon, 3 Aug 2020 17:51:58 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BL5723PGHz4BQ3; Mon, 3 Aug 2020 17:51:58 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5773018499; Mon, 3 Aug 2020 17:51:58 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 073Hpw69046138; Mon, 3 Aug 2020 17:51:58 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 073Hpwi2046137; Mon, 3 Aug 2020 17:51:58 GMT (envelope-from dim@FreeBSD.org) Message-Id: <202008031751.073Hpwi2046137@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Mon, 3 Aug 2020 17:51:58 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r363803 - projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/builtins X-SVN-Group: projects X-SVN-Commit-Author: dim X-SVN-Commit-Paths: projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/builtins X-SVN-Commit-Revision: 363803 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Aug 2020 17:51:58 -0000 Author: dim Date: Mon Aug 3 17:51:57 2020 New Revision: 363803 URL: https://svnweb.freebsd.org/changeset/base/363803 Log: Undo r230021 again, further shrinking the diff against upstream. This revision worked around an endless recursion when compiling clzdi2.c and ctzdi2.c with gcc, upstream landed a different workaround for this in https://reviews.llvm.org/rL324593, which is effective enough. Noticed by: jrtc27 Modified: projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/builtins/int_lib.h Modified: projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/builtins/int_lib.h ============================================================================== --- projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/builtins/int_lib.h Mon Aug 3 17:18:12 2020 (r363802) +++ projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/builtins/int_lib.h Mon Aug 3 17:51:57 2020 (r363803) @@ -98,29 +98,6 @@ // Include internal utility function declarations. #include "int_util.h" -/* - * Workaround for LLVM bug 11663. Prevent endless recursion in - * __c?zdi2(), where calls to __builtin_c?z() are expanded to - * __c?zdi2() instead of __c?zsi2(). - * - * Instead of placing this workaround in c?zdi2.c, put it in this - * global header to prevent other C files from making the detour - * through __c?zdi2() as well. - * - * This problem has been observed on FreeBSD for sparc64 and - * mips64 with GCC 4.2.1, and for riscv with GCC 5.2.0. - * Presumably it's any version of GCC, and targeting an arch that - * does not have dedicated bit counting instructions. - */ -#if defined(__FreeBSD__) && (defined(__sparc64__) || \ - defined(__mips_n32) || defined(__mips_n64) || defined(__mips_o64) || \ - defined(__riscv)) -si_int __clzsi2(si_int); -si_int __ctzsi2(si_int); -#define __builtin_clz __clzsi2 -#define __builtin_ctz __ctzsi2 -#endif /* FreeBSD && (sparc64 || mips_n32 || mips_n64 || mips_o64 || riscv) */ - COMPILER_RT_ABI int __paritysi2(si_int a); COMPILER_RT_ABI int __paritydi2(di_int a); From owner-svn-src-projects@freebsd.org Thu Aug 6 01:40:19 2020 Return-Path: Delivered-To: svn-src-projects@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 80BD63AE882 for ; Thu, 6 Aug 2020 01:40:19 +0000 (UTC) (envelope-from rmacklem@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BMWQW2nzVz4TZL; Thu, 6 Aug 2020 01:40:19 +0000 (UTC) (envelope-from rmacklem@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 445FA1F69B; Thu, 6 Aug 2020 01:40:19 +0000 (UTC) (envelope-from rmacklem@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0761eJmM008537; Thu, 6 Aug 2020 01:40:19 GMT (envelope-from rmacklem@FreeBSD.org) Received: (from rmacklem@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0761eI3G008535; Thu, 6 Aug 2020 01:40:18 GMT (envelope-from rmacklem@FreeBSD.org) Message-Id: <202008060140.0761eI3G008535@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rmacklem set sender to rmacklem@FreeBSD.org using -f From: Rick Macklem Date: Thu, 6 Aug 2020 01:40:18 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r363936 - projects/nfs-over-tls/sys/fs/nfs X-SVN-Group: projects X-SVN-Commit-Author: rmacklem X-SVN-Commit-Paths: projects/nfs-over-tls/sys/fs/nfs X-SVN-Commit-Revision: 363936 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Aug 2020 01:40:19 -0000 Author: rmacklem Date: Thu Aug 6 01:40:18 2020 New Revision: 363936 URL: https://svnweb.freebsd.org/changeset/base/363936 Log: Delete an unneeded include and a duplicate definition of nfsm_add_ext_pgs(). Modified: projects/nfs-over-tls/sys/fs/nfs/nfs_commonsubs.c projects/nfs-over-tls/sys/fs/nfs/nfs_var.h Modified: projects/nfs-over-tls/sys/fs/nfs/nfs_commonsubs.c ============================================================================== --- projects/nfs-over-tls/sys/fs/nfs/nfs_commonsubs.c Thu Aug 6 00:23:06 2020 (r363935) +++ projects/nfs-over-tls/sys/fs/nfs/nfs_commonsubs.c Thu Aug 6 01:40:18 2020 (r363936) @@ -49,7 +49,6 @@ __FBSDID("$FreeBSD$"); #include -#include #include #include Modified: projects/nfs-over-tls/sys/fs/nfs/nfs_var.h ============================================================================== --- projects/nfs-over-tls/sys/fs/nfs/nfs_var.h Thu Aug 6 00:23:06 2020 (r363935) +++ projects/nfs-over-tls/sys/fs/nfs/nfs_var.h Thu Aug 6 01:40:18 2020 (r363936) @@ -319,7 +319,6 @@ void nfscl_fillsattr(struct nfsrv_descript *, struct v void newnfs_init(void); int nfsaddr_match(int, union nethostaddr *, NFSSOCKADDR_T); int nfsaddr2_match(NFSSOCKADDR_T, NFSSOCKADDR_T); -struct mbuf *nfsm_add_ext_pgs(struct mbuf *, int, int *); int nfsm_strtom(struct nfsrv_descript *, const char *, int); int nfsm_mbufuio(struct nfsrv_descript *, struct uio *, int); int nfsm_fhtom(struct nfsrv_descript *, u_int8_t *, int, int); From owner-svn-src-projects@freebsd.org Thu Aug 6 01:49:01 2020 Return-Path: Delivered-To: svn-src-projects@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 34C6C3AE91B for ; Thu, 6 Aug 2020 01:49:01 +0000 (UTC) (envelope-from rmacklem@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BMWcY0PN1z4TqH; Thu, 6 Aug 2020 01:49:01 +0000 (UTC) (envelope-from rmacklem@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E09351F5D7; Thu, 6 Aug 2020 01:49:00 +0000 (UTC) (envelope-from rmacklem@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0761n0kt014509; Thu, 6 Aug 2020 01:49:00 GMT (envelope-from rmacklem@FreeBSD.org) Received: (from rmacklem@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0761n0wt014508; Thu, 6 Aug 2020 01:49:00 GMT (envelope-from rmacklem@FreeBSD.org) Message-Id: <202008060149.0761n0wt014508@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rmacklem set sender to rmacklem@FreeBSD.org using -f From: Rick Macklem Date: Thu, 6 Aug 2020 01:49:00 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r363937 - projects/nfs-over-tls/sys/fs/nfsclient X-SVN-Group: projects X-SVN-Commit-Author: rmacklem X-SVN-Commit-Paths: projects/nfs-over-tls/sys/fs/nfsclient X-SVN-Commit-Revision: 363937 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Aug 2020 01:49:01 -0000 Author: rmacklem Date: Thu Aug 6 01:49:00 2020 New Revision: 363937 URL: https://svnweb.freebsd.org/changeset/base/363937 Log: Delete two unneeded includes. Modified: projects/nfs-over-tls/sys/fs/nfsclient/nfs_clrpcops.c Modified: projects/nfs-over-tls/sys/fs/nfsclient/nfs_clrpcops.c ============================================================================== --- projects/nfs-over-tls/sys/fs/nfsclient/nfs_clrpcops.c Thu Aug 6 01:40:18 2020 (r363936) +++ projects/nfs-over-tls/sys/fs/nfsclient/nfs_clrpcops.c Thu Aug 6 01:49:00 2020 (r363937) @@ -45,14 +45,12 @@ __FBSDID("$FreeBSD$"); */ #include "opt_inet6.h" -#include "opt_kern_tls.h" #include #include #include #include #include -#include SYSCTL_DECL(_vfs_nfs); From owner-svn-src-projects@freebsd.org Thu Aug 6 15:46:41 2020 Return-Path: Delivered-To: svn-src-projects@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9F2A03A5983 for ; Thu, 6 Aug 2020 15:46:41 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BMtC53jBmz4H0W; Thu, 6 Aug 2020 15:46:41 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 490D28E7F; Thu, 6 Aug 2020 15:46:41 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 076FkfeB028817; Thu, 6 Aug 2020 15:46:41 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 076Fkdlt028809; Thu, 6 Aug 2020 15:46:39 GMT (envelope-from dim@FreeBSD.org) Message-Id: <202008061546.076Fkdlt028809@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Thu, 6 Aug 2020 15:46:39 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r363961 - in projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins: ABI/AArch64 ABI/ARM ABI/X86 JITLoader/GDB Process/elf-core Process/gdb-remote TypeSystem/Clang X-SVN-Group: projects X-SVN-Commit-Author: dim X-SVN-Commit-Paths: in projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins: ABI/AArch64 ABI/ARM ABI/X86 JITLoader/GDB Process/elf-core Process/gdb-remote TypeSystem/Clang X-SVN-Commit-Revision: 363961 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Aug 2020 15:46:41 -0000 Author: dim Date: Thu Aug 6 15:46:39 2020 New Revision: 363961 URL: https://svnweb.freebsd.org/changeset/base/363961 Log: Reapply r327151 (partially): For our lldb customizations, instead of commenting out lines, use #ifdef LLDB_ENABLE_ALL / #endif preprocess directives instead, so our diffs against upstream only consist of added lines. (Note that upstream has largely reshuffled the way optional lldb plugins are handled, so we need a lot less of these #ifdefs. However, not all of them can be dropped, unless we re-import several sources that we have always skipped.) Modified: projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/ABI/AArch64/ABIAArch64.cpp projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/ABI/ARM/ABIARM.cpp projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/ABI/X86/ABIX86.cpp projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/JITLoader/GDB/JITLoaderGDB.cpp projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/Process/elf-core/ThreadElfCore.cpp projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h Modified: projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/ABI/AArch64/ABIAArch64.cpp ============================================================================== --- projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/ABI/AArch64/ABIAArch64.cpp Thu Aug 6 15:43:15 2020 (r363960) +++ projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/ABI/AArch64/ABIAArch64.cpp Thu Aug 6 15:46:39 2020 (r363961) @@ -7,7 +7,9 @@ //===----------------------------------------------------------------------===// #include "ABIAArch64.h" +#ifdef LLDB_ENABLE_ALL #include "ABIMacOSX_arm64.h" +#endif // LLDB_ENABLE_ALL #include "ABISysV_arm64.h" #include "Utility/ARM64_DWARF_Registers.h" #include "lldb/Core/PluginManager.h" @@ -16,12 +18,16 @@ LLDB_PLUGIN_DEFINE(ABIAArch64) void ABIAArch64::Initialize() { ABISysV_arm64::Initialize(); +#ifdef LLDB_ENABLE_ALL ABIMacOSX_arm64::Initialize(); +#endif // LLDB_ENABLE_ALL } void ABIAArch64::Terminate() { ABISysV_arm64::Terminate(); +#ifdef LLDB_ENABLE_ALL ABIMacOSX_arm64::Terminate(); +#endif // LLDB_ENABLE_ALL } std::pair Modified: projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/ABI/ARM/ABIARM.cpp ============================================================================== --- projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/ABI/ARM/ABIARM.cpp Thu Aug 6 15:43:15 2020 (r363960) +++ projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/ABI/ARM/ABIARM.cpp Thu Aug 6 15:46:39 2020 (r363961) @@ -7,7 +7,9 @@ //===----------------------------------------------------------------------===// #include "ABIARM.h" +#ifdef LLDB_ENABLE_ALL #include "ABIMacOSX_arm.h" +#endif // LLDB_ENABLE_ALL #include "ABISysV_arm.h" #include "lldb/Core/PluginManager.h" @@ -15,10 +17,14 @@ LLDB_PLUGIN_DEFINE(ABIARM) void ABIARM::Initialize() { ABISysV_arm::Initialize(); +#ifdef LLDB_ENABLE_ALL ABIMacOSX_arm::Initialize(); +#endif // LLDB_ENABLE_ALL } void ABIARM::Terminate() { ABISysV_arm::Terminate(); +#ifdef LLDB_ENABLE_ALL ABIMacOSX_arm::Terminate(); +#endif // LLDB_ENABLE_ALL } Modified: projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/ABI/X86/ABIX86.cpp ============================================================================== --- projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/ABI/X86/ABIX86.cpp Thu Aug 6 15:43:15 2020 (r363960) +++ projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/ABI/X86/ABIX86.cpp Thu Aug 6 15:46:39 2020 (r363961) @@ -7,26 +7,38 @@ //===----------------------------------------------------------------------===// #include "ABIX86.h" +#ifdef LLDB_ENABLE_ALL #include "ABIMacOSX_i386.h" +#endif // LLDB_ENABLE_ALL #include "ABISysV_i386.h" #include "ABISysV_x86_64.h" +#ifdef LLDB_ENABLE_ALL #include "ABIWindows_x86_64.h" +#endif // LLDB_ENABLE_ALL #include "lldb/Core/PluginManager.h" LLDB_PLUGIN_DEFINE(ABIX86) void ABIX86::Initialize() { +#ifdef LLDB_ENABLE_ALL ABIMacOSX_i386::Initialize(); +#endif // LLDB_ENABLE_ALL ABISysV_i386::Initialize(); ABISysV_x86_64::Initialize(); +#ifdef LLDB_ENABLE_ALL ABIWindows_x86_64::Initialize(); +#endif // LLDB_ENABLE_ALL } void ABIX86::Terminate() { +#ifdef LLDB_ENABLE_ALL ABIMacOSX_i386::Terminate(); +#endif // LLDB_ENABLE_ALL ABISysV_i386::Terminate(); ABISysV_x86_64::Terminate(); +#ifdef LLDB_ENABLE_ALL ABIWindows_x86_64::Terminate(); +#endif // LLDB_ENABLE_ALL } uint32_t ABIX86::GetGenericNum(llvm::StringRef name) { Modified: projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/JITLoader/GDB/JITLoaderGDB.cpp ============================================================================== --- projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/JITLoader/GDB/JITLoaderGDB.cpp Thu Aug 6 15:43:15 2020 (r363960) +++ projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/JITLoader/GDB/JITLoaderGDB.cpp Thu Aug 6 15:46:39 2020 (r363961) @@ -7,7 +7,9 @@ //===----------------------------------------------------------------------===// #include "JITLoaderGDB.h" +#ifdef LLDB_ENABLE_ALL #include "Plugins/ObjectFile/Mach-O/ObjectFileMachO.h" +#endif // LLDB_ENABLE_ALL #include "lldb/Breakpoint/Breakpoint.h" #include "lldb/Core/Module.h" #include "lldb/Core/ModuleSpec.h" @@ -338,6 +340,7 @@ bool JITLoaderGDB::ReadJITDescriptorImpl(bool all_entr module_sp->GetObjectFile()->GetSymtab(); m_jit_objects.insert(std::make_pair(symbolfile_addr, module_sp)); +#ifdef LLDB_ENABLE_ALL if (auto image_object_file = llvm::dyn_cast(module_sp->GetObjectFile())) { const SectionList *section_list = image_object_file->GetSectionList(); @@ -349,7 +352,9 @@ bool JITLoaderGDB::ReadJITDescriptorImpl(bool all_entr symbolfile_size, vmaddrheuristic, lower, upper); } - } else { + } else +#endif // LLDB_ENABLE_ALL + { bool changed = false; module_sp->SetLoadAddress(target, 0, true, changed); } Modified: projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/Process/elf-core/ThreadElfCore.cpp ============================================================================== --- projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/Process/elf-core/ThreadElfCore.cpp Thu Aug 6 15:43:15 2020 (r363960) +++ projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/Process/elf-core/ThreadElfCore.cpp Thu Aug 6 15:46:39 2020 (r363961) @@ -20,7 +20,9 @@ #include "Plugins/Process/Utility/RegisterContextLinux_i386.h" #include "Plugins/Process/Utility/RegisterContextLinux_mips.h" #include "Plugins/Process/Utility/RegisterContextLinux_mips64.h" +#ifdef LLDB_ENABLE_ALL #include "Plugins/Process/Utility/RegisterContextLinux_s390x.h" +#endif // LLDB_ENABLE_ALL #include "Plugins/Process/Utility/RegisterContextLinux_x86_64.h" #include "Plugins/Process/Utility/RegisterContextNetBSD_x86_64.h" #include "Plugins/Process/Utility/RegisterContextOpenBSD_i386.h" @@ -34,7 +36,9 @@ #include "RegisterContextPOSIXCore_mips64.h" #include "RegisterContextPOSIXCore_powerpc.h" #include "RegisterContextPOSIXCore_ppc64le.h" +#ifdef LLDB_ENABLE_ALL #include "RegisterContextPOSIXCore_s390x.h" +#endif // LLDB_ENABLE_ALL #include "RegisterContextPOSIXCore_x86_64.h" #include "ThreadElfCore.h" @@ -138,9 +142,11 @@ ThreadElfCore::CreateRegisterContextForFrame(StackFram case llvm::Triple::ppc64le: reg_interface = new RegisterInfoPOSIX_ppc64le(arch); break; +#ifdef LLDB_ENABLE_ALL case llvm::Triple::systemz: reg_interface = new RegisterContextLinux_s390x(arch); break; +#endif // LLDB_ENABLE_ALL case llvm::Triple::x86: reg_interface = new RegisterContextLinux_i386(arch); break; @@ -211,10 +217,12 @@ ThreadElfCore::CreateRegisterContextForFrame(StackFram m_thread_reg_ctx_sp = std::make_shared( *this, reg_interface, m_gpregset_data, m_notes); break; +#ifdef LLDB_ENABLE_ALL case llvm::Triple::systemz: m_thread_reg_ctx_sp = std::make_shared( *this, reg_interface, m_gpregset_data, m_notes); break; +#endif // LLDB_ENABLE_ALL case llvm::Triple::x86: case llvm::Triple::x86_64: m_thread_reg_ctx_sp = std::make_shared( Modified: projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp ============================================================================== --- projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp Thu Aug 6 15:43:15 2020 (r363960) +++ projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp Thu Aug 6 15:46:39 2020 (r363961) @@ -73,7 +73,9 @@ #include "lldb/Utility/Timer.h" #include "GDBRemoteRegisterContext.h" +#ifdef LLDB_ENABLE_ALL #include "Plugins/Platform/MacOSX/PlatformRemoteiOS.h" +#endif // LLDB_ENABLE_ALL #include "Plugins/Process/Utility/GDBRemoteSignals.h" #include "Plugins/Process/Utility/InferiorCallPOSIX.h" #include "Plugins/Process/Utility/StopInfoMachException.h" @@ -2424,6 +2426,7 @@ Status ProcessGDBRemote::DoDestroy() { Log *log(ProcessGDBRemoteLog::GetLogIfAllCategoriesSet(GDBR_LOG_PROCESS)); LLDB_LOGF(log, "ProcessGDBRemote::DoDestroy()"); +#ifdef LLDB_ENABLE_ALL // XXX Currently no iOS target support on FreeBSD // There is a bug in older iOS debugservers where they don't shut down the // process they are debugging properly. If the process is sitting at a // breakpoint or an exception, this can cause problems with restarting. So @@ -2527,6 +2530,7 @@ Status ProcessGDBRemote::DoDestroy() { } } } +#endif // LLDB_ENABLE_ALL // Interrupt if our inferior is running... int exit_status = SIGABRT; Modified: projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp ============================================================================== --- projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp Thu Aug 6 15:43:15 2020 (r363960) +++ projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp Thu Aug 6 15:46:39 2020 (r363961) @@ -9092,11 +9092,13 @@ DWARFASTParser *TypeSystemClang::GetDWARFParser() { return m_dwarf_ast_parser_up.get(); } +#ifdef LLDB_ENABLE_ALL PDBASTParser *TypeSystemClang::GetPDBParser() { if (!m_pdb_ast_parser_up) m_pdb_ast_parser_up = std::make_unique(*this); return m_pdb_ast_parser_up.get(); } +#endif // LLDB_ENABLE_ALL bool TypeSystemClang::LayoutRecordType( const clang::RecordDecl *record_decl, uint64_t &bit_size, @@ -9109,8 +9111,10 @@ bool TypeSystemClang::LayoutRecordType( lldb_private::ClangASTImporter *importer = nullptr; if (m_dwarf_ast_parser_up) importer = &m_dwarf_ast_parser_up->GetClangASTImporter(); +#ifdef LLDB_ENABLE_ALL if (!importer && m_pdb_ast_parser_up) importer = &m_pdb_ast_parser_up->GetClangASTImporter(); +#endif // LLDB_ENABLE_ALL if (!importer) return false; Modified: projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h ============================================================================== --- projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h Thu Aug 6 15:43:15 2020 (r363960) +++ projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h Thu Aug 6 15:46:39 2020 (r363961) @@ -465,7 +465,9 @@ class TypeSystemClang : public TypeSystem { (public) // TypeSystem methods DWARFASTParser *GetDWARFParser() override; +#ifdef LLDB_ENABLE_ALL PDBASTParser *GetPDBParser() override; +#endif // LLDB_ENABLE_ALL // TypeSystemClang callbacks for external source lookups. void CompleteTagDecl(clang::TagDecl *); @@ -1084,7 +1086,9 @@ class TypeSystemClang : public TypeSystem { (public) std::unique_ptr m_header_search_up; std::unique_ptr m_module_map_up; std::unique_ptr m_dwarf_ast_parser_up; +#ifdef LLDB_ENABLE_ALL std::unique_ptr m_pdb_ast_parser_up; +#endif // LLDB_ENABLE_ALL std::unique_ptr m_mangle_ctx_up; uint32_t m_pointer_byte_size = 0; bool m_ast_owned = false; From owner-svn-src-projects@freebsd.org Thu Aug 6 16:12:14 2020 Return-Path: Delivered-To: svn-src-projects@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2E71F3A5DBA for ; Thu, 6 Aug 2020 16:12:14 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BMtmZ0RfCz4JBW; Thu, 6 Aug 2020 16:12:14 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E77A999B2; Thu, 6 Aug 2020 16:12:13 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 076GCDC3047139; Thu, 6 Aug 2020 16:12:13 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 076GCDnF047138; Thu, 6 Aug 2020 16:12:13 GMT (envelope-from dim@FreeBSD.org) Message-Id: <202008061612.076GCDnF047138@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Thu, 6 Aug 2020 16:12:13 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r363963 - projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/builtins X-SVN-Group: projects X-SVN-Commit-Author: dim X-SVN-Commit-Paths: projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/builtins X-SVN-Commit-Revision: 363963 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Aug 2020 16:12:14 -0000 Author: dim Date: Thu Aug 6 16:12:13 2020 New Revision: 363963 URL: https://svnweb.freebsd.org/changeset/base/363963 Log: Reapply r329859 (partially, by imp): Do not include float interfaces when using libsa. We don't support float in the boot loaders, so don't include interfaces for float or double in systems headers. In addition, take the unusual step of spiking double and float to prevent any more accidental seepage. Modified: projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/builtins/int_types.h Modified: projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/builtins/int_types.h ============================================================================== --- projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/builtins/int_types.h Thu Aug 6 16:11:30 2020 (r363962) +++ projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/builtins/int_types.h Thu Aug 6 16:12:13 2020 (r363963) @@ -121,6 +121,7 @@ static __inline tu_int make_tu(du_int h, du_int l) { #endif // CRT_HAS_128BIT +#ifndef _STANDALONE typedef union { su_int u; float f; @@ -130,6 +131,7 @@ typedef union { udwords u; double f; } double_bits; +#endif typedef struct { #if _YUGA_LITTLE_ENDIAN @@ -155,6 +157,7 @@ typedef struct { #define HAS_80_BIT_LONG_DOUBLE 0 #endif +#ifndef _STANDALONE typedef union { uqwords u; long double f; @@ -182,5 +185,6 @@ typedef struct { #define COMPLEX_REAL(x) (x).real #define COMPLEX_IMAGINARY(x) (x).imaginary +#endif #endif #endif // INT_TYPES_H From owner-svn-src-projects@freebsd.org Thu Aug 6 16:20:46 2020 Return-Path: Delivered-To: svn-src-projects@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3599F3A6606 for ; Thu, 6 Aug 2020 16:20:46 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BMtyQ0jw9z4Jvj; Thu, 6 Aug 2020 16:20:46 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id F019E98F3; Thu, 6 Aug 2020 16:20:45 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 076GKjL1050705; Thu, 6 Aug 2020 16:20:45 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 076GKjs5050704; Thu, 6 Aug 2020 16:20:45 GMT (envelope-from dim@FreeBSD.org) Message-Id: <202008061620.076GKjs5050704@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Thu, 6 Aug 2020 16:20:45 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r363967 - projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD X-SVN-Group: projects X-SVN-Commit-Author: dim X-SVN-Commit-Paths: projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD X-SVN-Commit-Revision: 363967 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Aug 2020 16:20:46 -0000 Author: dim Date: Thu Aug 6 16:20:45 2020 New Revision: 363967 URL: https://svnweb.freebsd.org/changeset/base/363967 Log: Reapply r332965 (by emaste): lldb: remove assertion that target_arch is FreeBSD The target is not necessarily a FreeBSD binary - for example, it may be a Linux binary running under the linuxulator. Basic ptrace (live) debugging already worked in this case, except for the assertion. Sponsored by: Turing Robotic Industries Inc. Modified: projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp Modified: projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp ============================================================================== --- projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp Thu Aug 6 16:20:20 2020 (r363966) +++ projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp Thu Aug 6 16:20:45 2020 (r363967) @@ -161,7 +161,6 @@ lldb::RegisterContextSP FreeBSDThread::GetRegisterCont RegisterInfoInterface *reg_interface = nullptr; const ArchSpec &target_arch = GetProcess()->GetTarget().GetArchitecture(); - assert(target_arch.GetTriple().getOS() == llvm::Triple::FreeBSD); switch (target_arch.GetMachine()) { case llvm::Triple::aarch64: break; From owner-svn-src-projects@freebsd.org Thu Aug 6 16:25:57 2020 Return-Path: Delivered-To: svn-src-projects@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CA1053A654F for ; Thu, 6 Aug 2020 16:25:57 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BMv4P4tVRz4KP3; Thu, 6 Aug 2020 16:25:57 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 713839C28; Thu, 6 Aug 2020 16:25:57 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 076GPvuj053799; Thu, 6 Aug 2020 16:25:57 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 076GPvGF053798; Thu, 6 Aug 2020 16:25:57 GMT (envelope-from dim@FreeBSD.org) Message-Id: <202008061625.076GPvGF053798@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Thu, 6 Aug 2020 16:25:57 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r363968 - projects/clang1100-import/contrib/llvm-project/libcxx/include X-SVN-Group: projects X-SVN-Commit-Author: dim X-SVN-Commit-Paths: projects/clang1100-import/contrib/llvm-project/libcxx/include X-SVN-Commit-Revision: 363968 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Aug 2020 16:25:57 -0000 Author: dim Date: Thu Aug 6 16:25:56 2020 New Revision: 363968 URL: https://svnweb.freebsd.org/changeset/base/363968 Log: Reapply r343111 (partially, by mckusick): Create new EINTEGRITY error with message "Integrity check failed". An integrity check such as a check-hash or a cross-correlation failed. The integrity error falls between EINVAL that identifies errors in parameters to a system call and EIO that identifies errors with the underlying storage media. EINTEGRITY is typically raised by intermediate kernel layers such as a filesystem or an in-kernel GEOM subsystem when they detect inconsistencies. Uses include allowing the mount(8) command to return a different exit value to automate the running of fsck(8) during a system boot. These changes make no use of the new error, they just add it. Later commits will be made for the use of the new error number and it will be added to additional manual pages as appropriate. Reviewed by: gnn, dim, brueffer, imp Discussed with: kib, cem, emaste, ed, jilles Differential Revision: https://reviews.freebsd.org/D18765 Modified: projects/clang1100-import/contrib/llvm-project/libcxx/include/__errc projects/clang1100-import/contrib/llvm-project/libcxx/include/errno.h Modified: projects/clang1100-import/contrib/llvm-project/libcxx/include/__errc ============================================================================== --- projects/clang1100-import/contrib/llvm-project/libcxx/include/__errc Thu Aug 6 16:20:45 2020 (r363967) +++ projects/clang1100-import/contrib/llvm-project/libcxx/include/__errc Thu Aug 6 16:25:56 2020 (r363968) @@ -45,6 +45,7 @@ enum class errc identifier_removed, // EIDRM illegal_byte_sequence, // EILSEQ inappropriate_io_control_operation, // ENOTTY + integrity_check_failed, // EINTEGRITY interrupted, // EINTR invalid_argument, // EINVAL invalid_seek, // ESPIPE @@ -142,6 +143,7 @@ _LIBCPP_DECLARE_STRONG_ENUM(errc) identifier_removed = EIDRM, illegal_byte_sequence = EILSEQ, inappropriate_io_control_operation = ENOTTY, + integrity_check_failed = EINTEGRITY, interrupted = EINTR, invalid_argument = EINVAL, invalid_seek = ESPIPE, Modified: projects/clang1100-import/contrib/llvm-project/libcxx/include/errno.h ============================================================================== --- projects/clang1100-import/contrib/llvm-project/libcxx/include/errno.h Thu Aug 6 16:20:45 2020 (r363967) +++ projects/clang1100-import/contrib/llvm-project/libcxx/include/errno.h Thu Aug 6 16:25:56 2020 (r363968) @@ -32,49 +32,79 @@ Macros: #ifdef __cplusplus -#if !defined(EOWNERDEAD) || !defined(ENOTRECOVERABLE) +#if !defined(EOWNERDEAD) || !defined(ENOTRECOVERABLE) || !defined(EINTEGRITY) -#ifdef ELAST +#if defined(ELAST) static const int __elast1 = ELAST+1; static const int __elast2 = ELAST+2; +static const int __elast3 = ELAST+3; #else static const int __elast1 = 104; static const int __elast2 = 105; +static const int __elast3 = 106; #endif -#ifdef ENOTRECOVERABLE +#if !defined(EOWNERDEAD) && !defined(ENOTRECOVERABLE) && !defined(EINTEGRITY) +#define ENOTRECOVERABLE __elast1 +#define EOWNERDEAD __elast2 +#define EINTEGRITY __elast3 +#if defined(ELAST) +#undef ELAST +#define ELAST EINTEGRITY +#endif +#elif !defined(EOWNERDEAD) && !defined(ENOTRECOVERABLE) && defined(EINTEGRITY) +#define ENOTRECOVERABLE __elast1 +#define EOWNERDEAD __elast2 +#if defined(ELAST) +#undef ELAST +#define ELAST EOWNERDEAD +#endif + +#elif !defined(EOWNERDEAD) && defined(ENOTRECOVERABLE) && !defined(EINTEGRITY) #define EOWNERDEAD __elast1 +#define EINTEGRITY __elast2 +#if defined(ELAST) +#undef ELAST +#define ELAST EINTEGRITY +#endif -#ifdef ELAST +#elif !defined(EOWNERDEAD) && defined(ENOTRECOVERABLE) && defined(EINTEGRITY) +#define EOWNERDEAD __elast1 +#if defined(ELAST) #undef ELAST #define ELAST EOWNERDEAD #endif -#elif defined(EOWNERDEAD) +#elif defined(EOWNERDEAD) && !defined(ENOTRECOVERABLE) && !defined(EINTEGRITY) +#define ENOTRECOVERABLE __elast1 +#define EINTEGRITY __elast2 +#if defined(ELAST) +#undef ELAST +#define ELAST EINTEGRITY +#endif +#elif defined(EOWNERDEAD) && !defined(ENOTRECOVERABLE) && defined(EINTEGRITY) #define ENOTRECOVERABLE __elast1 -#ifdef ELAST +#if defined(ELAST) #undef ELAST #define ELAST ENOTRECOVERABLE #endif -#else // defined(EOWNERDEAD) - -#define EOWNERDEAD __elast1 -#define ENOTRECOVERABLE __elast2 -#ifdef ELAST +#elif defined(EOWNERDEAD) && defined(ENOTRECOVERABLE) && !defined(EINTEGRITY) +#define EINTEGRITY __elast1 +#if defined(ELAST) #undef ELAST -#define ELAST ENOTRECOVERABLE +#define ELAST EINTEGRITY #endif -#endif // defined(EOWNERDEAD) +#endif // !defined(OWNERDEAD) && !defined(NOTRECOVERABLE) && !defined(INTEGRITY) -#endif // !defined(EOWNERDEAD) || !defined(ENOTRECOVERABLE) +#endif // !defined(OWNERDEAD) || !defined(NOTRECOVERABLE) || !defined(INTEGRITY) // supply errno values likely to be missing, particularly on Windows @@ -390,6 +420,10 @@ static const int __elast2 = 105; #ifndef EMLINK #define EMLINK 9979 +#endif + +#ifndef EINTEGRITY +#define EINTEGRITY 9980 #endif #endif // __cplusplus From owner-svn-src-projects@freebsd.org Thu Aug 6 16:27:25 2020 Return-Path: Delivered-To: svn-src-projects@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A34313A682C for ; Thu, 6 Aug 2020 16:27:25 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BMv653tphz4K2p; Thu, 6 Aug 2020 16:27:25 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 687F599E9; Thu, 6 Aug 2020 16:27:25 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 076GRPa5053909; Thu, 6 Aug 2020 16:27:25 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 076GRP8O053908; Thu, 6 Aug 2020 16:27:25 GMT (envelope-from dim@FreeBSD.org) Message-Id: <202008061627.076GRP8O053908@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Thu, 6 Aug 2020 16:27:25 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r363969 - projects/clang1100-import/contrib/llvm-project/lldb/include/lldb/Target X-SVN-Group: projects X-SVN-Commit-Author: dim X-SVN-Commit-Paths: projects/clang1100-import/contrib/llvm-project/lldb/include/lldb/Target X-SVN-Commit-Revision: 363969 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Aug 2020 16:27:25 -0000 Author: dim Date: Thu Aug 6 16:27:24 2020 New Revision: 363969 URL: https://svnweb.freebsd.org/changeset/base/363969 Log: Reapply r344852: Put in a temporary workaround for what is likely a gcc 6 bug (it does not occur with gcc 7 or later). This should prevent the following error from breaking the head-amd64-gcc CI builds: In file included from /workspace/src/contrib/llvm/tools/lldb/source/API/SBMemoryRegionInfo.cpp:14:0: /workspace/src/contrib/llvm/tools/lldb/include/lldb/Target/MemoryRegionInfo.h:128:54: error: 'template lldb_private::MemoryRegionInfos::MemoryRegionInfos(_InputIterator, _InputIterator, const allocator_type&)' inherited from 'std::__1::vector' using std::vector::vector; ^~~~~~ /workspace/src/contrib/llvm/tools/lldb/include/lldb/Target/MemoryRegionInfo.h:128:54: error: conflicts with version inherited from 'std::__1::vector' Reported by: CI Modified: projects/clang1100-import/contrib/llvm-project/lldb/include/lldb/Target/MemoryRegionInfo.h Modified: projects/clang1100-import/contrib/llvm-project/lldb/include/lldb/Target/MemoryRegionInfo.h ============================================================================== --- projects/clang1100-import/contrib/llvm-project/lldb/include/lldb/Target/MemoryRegionInfo.h Thu Aug 6 16:25:56 2020 (r363968) +++ projects/clang1100-import/contrib/llvm-project/lldb/include/lldb/Target/MemoryRegionInfo.h Thu Aug 6 16:27:24 2020 (r363969) @@ -126,7 +126,7 @@ llvm::raw_ostream &operator<<(llvm::raw_ostream &OS, // Forward-declarable wrapper. class MemoryRegionInfos : public std::vector { public: - using std::vector::vector; + //using std::vector::vector; }; } From owner-svn-src-projects@freebsd.org Thu Aug 6 16:42:49 2020 Return-Path: Delivered-To: svn-src-projects@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 728423A6AD6 for ; Thu, 6 Aug 2020 16:42:49 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BMvRs2Sb5z4L5g; Thu, 6 Aug 2020 16:42:49 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 38D01A019; Thu, 6 Aug 2020 16:42:49 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 076GgnIV065749; Thu, 6 Aug 2020 16:42:49 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 076Ggmvr065747; Thu, 6 Aug 2020 16:42:48 GMT (envelope-from dim@FreeBSD.org) Message-Id: <202008061642.076Ggmvr065747@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Thu, 6 Aug 2020 16:42:48 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r363970 - projects/clang1100-import/contrib/llvm-project/clang/include/clang/AST X-SVN-Group: projects X-SVN-Commit-Author: dim X-SVN-Commit-Paths: projects/clang1100-import/contrib/llvm-project/clang/include/clang/AST X-SVN-Commit-Revision: 363970 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Aug 2020 16:42:49 -0000 Author: dim Date: Thu Aug 6 16:42:48 2020 New Revision: 363970 URL: https://svnweb.freebsd.org/changeset/base/363970 Log: Reapply r349876: Apply a workaround to be able to build clang 8.0.0 headers with clang 3.4.1, which is still in the stable/10 branch. It looks like clang 3.4.1 implements static_asserts by instantiating a temporary static object, and if those are in an anonymous union, it results in "error: anonymous union can only contain non-static data members". To work around this implementation limitation, move the static_asserts in question out of the anonymous unions. This should make building the latest stable/11 from stable/10 possible again. Reported by: Mike Tancsa Modified: projects/clang1100-import/contrib/llvm-project/clang/include/clang/AST/DeclBase.h projects/clang1100-import/contrib/llvm-project/clang/include/clang/AST/Type.h Modified: projects/clang1100-import/contrib/llvm-project/clang/include/clang/AST/DeclBase.h ============================================================================== --- projects/clang1100-import/contrib/llvm-project/clang/include/clang/AST/DeclBase.h Thu Aug 6 16:27:24 2020 (r363969) +++ projects/clang1100-import/contrib/llvm-project/clang/include/clang/AST/DeclBase.h Thu Aug 6 16:42:48 2020 (r363970) @@ -1760,30 +1760,30 @@ class DeclContext { (protected) ObjCContainerDeclBitfields ObjCContainerDeclBits; LinkageSpecDeclBitfields LinkageSpecDeclBits; BlockDeclBitfields BlockDeclBits; - - static_assert(sizeof(DeclContextBitfields) <= 8, - "DeclContextBitfields is larger than 8 bytes!"); - static_assert(sizeof(TagDeclBitfields) <= 8, - "TagDeclBitfields is larger than 8 bytes!"); - static_assert(sizeof(EnumDeclBitfields) <= 8, - "EnumDeclBitfields is larger than 8 bytes!"); - static_assert(sizeof(RecordDeclBitfields) <= 8, - "RecordDeclBitfields is larger than 8 bytes!"); - static_assert(sizeof(OMPDeclareReductionDeclBitfields) <= 8, - "OMPDeclareReductionDeclBitfields is larger than 8 bytes!"); - static_assert(sizeof(FunctionDeclBitfields) <= 8, - "FunctionDeclBitfields is larger than 8 bytes!"); - static_assert(sizeof(CXXConstructorDeclBitfields) <= 8, - "CXXConstructorDeclBitfields is larger than 8 bytes!"); - static_assert(sizeof(ObjCMethodDeclBitfields) <= 8, - "ObjCMethodDeclBitfields is larger than 8 bytes!"); - static_assert(sizeof(ObjCContainerDeclBitfields) <= 8, - "ObjCContainerDeclBitfields is larger than 8 bytes!"); - static_assert(sizeof(LinkageSpecDeclBitfields) <= 8, - "LinkageSpecDeclBitfields is larger than 8 bytes!"); - static_assert(sizeof(BlockDeclBitfields) <= 8, - "BlockDeclBitfields is larger than 8 bytes!"); }; + + static_assert(sizeof(DeclContextBitfields) <= 8, + "DeclContextBitfields is larger than 8 bytes!"); + static_assert(sizeof(TagDeclBitfields) <= 8, + "TagDeclBitfields is larger than 8 bytes!"); + static_assert(sizeof(EnumDeclBitfields) <= 8, + "EnumDeclBitfields is larger than 8 bytes!"); + static_assert(sizeof(RecordDeclBitfields) <= 8, + "RecordDeclBitfields is larger than 8 bytes!"); + static_assert(sizeof(OMPDeclareReductionDeclBitfields) <= 8, + "OMPDeclareReductionDeclBitfields is larger than 8 bytes!"); + static_assert(sizeof(FunctionDeclBitfields) <= 8, + "FunctionDeclBitfields is larger than 8 bytes!"); + static_assert(sizeof(CXXConstructorDeclBitfields) <= 8, + "CXXConstructorDeclBitfields is larger than 8 bytes!"); + static_assert(sizeof(ObjCMethodDeclBitfields) <= 8, + "ObjCMethodDeclBitfields is larger than 8 bytes!"); + static_assert(sizeof(ObjCContainerDeclBitfields) <= 8, + "ObjCContainerDeclBitfields is larger than 8 bytes!"); + static_assert(sizeof(LinkageSpecDeclBitfields) <= 8, + "LinkageSpecDeclBitfields is larger than 8 bytes!"); + static_assert(sizeof(BlockDeclBitfields) <= 8, + "BlockDeclBitfields is larger than 8 bytes!"); /// FirstDecl - The first declaration stored within this declaration /// context. Modified: projects/clang1100-import/contrib/llvm-project/clang/include/clang/AST/Type.h ============================================================================== --- projects/clang1100-import/contrib/llvm-project/clang/include/clang/AST/Type.h Thu Aug 6 16:27:24 2020 (r363969) +++ projects/clang1100-import/contrib/llvm-project/clang/include/clang/AST/Type.h Thu Aug 6 16:42:48 2020 (r363970) @@ -1803,41 +1803,41 @@ class alignas(8) Type : public ExtQualsTypeCommonBase DependentTemplateSpecializationTypeBitfields DependentTemplateSpecializationTypeBits; PackExpansionTypeBitfields PackExpansionTypeBits; - - static_assert(sizeof(TypeBitfields) <= 8, - "TypeBitfields is larger than 8 bytes!"); - static_assert(sizeof(ArrayTypeBitfields) <= 8, - "ArrayTypeBitfields is larger than 8 bytes!"); - static_assert(sizeof(AttributedTypeBitfields) <= 8, - "AttributedTypeBitfields is larger than 8 bytes!"); - static_assert(sizeof(AutoTypeBitfields) <= 8, - "AutoTypeBitfields is larger than 8 bytes!"); - static_assert(sizeof(BuiltinTypeBitfields) <= 8, - "BuiltinTypeBitfields is larger than 8 bytes!"); - static_assert(sizeof(FunctionTypeBitfields) <= 8, - "FunctionTypeBitfields is larger than 8 bytes!"); - static_assert(sizeof(ObjCObjectTypeBitfields) <= 8, - "ObjCObjectTypeBitfields is larger than 8 bytes!"); - static_assert(sizeof(ReferenceTypeBitfields) <= 8, - "ReferenceTypeBitfields is larger than 8 bytes!"); - static_assert(sizeof(TypeWithKeywordBitfields) <= 8, - "TypeWithKeywordBitfields is larger than 8 bytes!"); - static_assert(sizeof(ElaboratedTypeBitfields) <= 8, - "ElaboratedTypeBitfields is larger than 8 bytes!"); - static_assert(sizeof(VectorTypeBitfields) <= 8, - "VectorTypeBitfields is larger than 8 bytes!"); - static_assert(sizeof(SubstTemplateTypeParmPackTypeBitfields) <= 8, - "SubstTemplateTypeParmPackTypeBitfields is larger" - " than 8 bytes!"); - static_assert(sizeof(TemplateSpecializationTypeBitfields) <= 8, - "TemplateSpecializationTypeBitfields is larger" - " than 8 bytes!"); - static_assert(sizeof(DependentTemplateSpecializationTypeBitfields) <= 8, - "DependentTemplateSpecializationTypeBitfields is larger" - " than 8 bytes!"); - static_assert(sizeof(PackExpansionTypeBitfields) <= 8, - "PackExpansionTypeBitfields is larger than 8 bytes"); }; + + static_assert(sizeof(TypeBitfields) <= 8, + "TypeBitfields is larger than 8 bytes!"); + static_assert(sizeof(ArrayTypeBitfields) <= 8, + "ArrayTypeBitfields is larger than 8 bytes!"); + static_assert(sizeof(AttributedTypeBitfields) <= 8, + "AttributedTypeBitfields is larger than 8 bytes!"); + static_assert(sizeof(AutoTypeBitfields) <= 8, + "AutoTypeBitfields is larger than 8 bytes!"); + static_assert(sizeof(BuiltinTypeBitfields) <= 8, + "BuiltinTypeBitfields is larger than 8 bytes!"); + static_assert(sizeof(FunctionTypeBitfields) <= 8, + "FunctionTypeBitfields is larger than 8 bytes!"); + static_assert(sizeof(ObjCObjectTypeBitfields) <= 8, + "ObjCObjectTypeBitfields is larger than 8 bytes!"); + static_assert(sizeof(ReferenceTypeBitfields) <= 8, + "ReferenceTypeBitfields is larger than 8 bytes!"); + static_assert(sizeof(TypeWithKeywordBitfields) <= 8, + "TypeWithKeywordBitfields is larger than 8 bytes!"); + static_assert(sizeof(ElaboratedTypeBitfields) <= 8, + "ElaboratedTypeBitfields is larger than 8 bytes!"); + static_assert(sizeof(VectorTypeBitfields) <= 8, + "VectorTypeBitfields is larger than 8 bytes!"); + static_assert(sizeof(SubstTemplateTypeParmPackTypeBitfields) <= 8, + "SubstTemplateTypeParmPackTypeBitfields is larger" + " than 8 bytes!"); + static_assert(sizeof(TemplateSpecializationTypeBitfields) <= 8, + "TemplateSpecializationTypeBitfields is larger" + " than 8 bytes!"); + static_assert(sizeof(DependentTemplateSpecializationTypeBitfields) <= 8, + "DependentTemplateSpecializationTypeBitfields is larger" + " than 8 bytes!"); + static_assert(sizeof(PackExpansionTypeBitfields) <= 8, + "PackExpansionTypeBitfields is larger than 8 bytes"); private: template friend class TypePropertyCache; From owner-svn-src-projects@freebsd.org Thu Aug 6 16:44:25 2020 Return-Path: Delivered-To: svn-src-projects@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 39E493A684D for ; Thu, 6 Aug 2020 16:44:25 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BMvTj0jnPz4L6H; Thu, 6 Aug 2020 16:44:25 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id EFDAA9D65; Thu, 6 Aug 2020 16:44:24 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 076GiOgT065884; Thu, 6 Aug 2020 16:44:24 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 076GiOTk065883; Thu, 6 Aug 2020 16:44:24 GMT (envelope-from dim@FreeBSD.org) Message-Id: <202008061644.076GiOTk065883@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Thu, 6 Aug 2020 16:44:24 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r363971 - projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD X-SVN-Group: projects X-SVN-Commit-Author: dim X-SVN-Commit-Paths: projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD X-SVN-Commit-Revision: 363971 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Aug 2020 16:44:25 -0000 Author: dim Date: Thu Aug 6 16:44:24 2020 New Revision: 363971 URL: https://svnweb.freebsd.org/changeset/base/363971 Log: Reapply r351662 (by emaste): lldb: shorten thread names to make logs easier to follow lldb prepends the thread name to log entries, and the existing thread name for the FreeBSD ProcessMonitor thread was longer than the kernel's supported thread name length, and so was truncated. This made logs hard to read, as the truncated thread name ran into the log message. Shorten "lldb.process.freebsd.operation" to just "freebsd.op" so that logs are more readable. (Upstreaming to lldb still to be done). Modified: projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp Modified: projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp ============================================================================== --- projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp Thu Aug 6 16:42:48 2020 (r363970) +++ projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp Thu Aug 6 16:44:24 2020 (r363971) @@ -786,7 +786,7 @@ ProcessMonitor::~ProcessMonitor() { StopMonitor(); } // Thread setup and tear down. void ProcessMonitor::StartLaunchOpThread(LaunchArgs *args, Status &error) { - static const char *g_thread_name = "lldb.process.freebsd.operation"; + static const char *g_thread_name = "freebsd.op"; if (m_operation_thread && m_operation_thread->IsJoinable()) return; @@ -956,7 +956,7 @@ FINISH: void ProcessMonitor::StartAttachOpThread(AttachArgs *args, lldb_private::Status &error) { - static const char *g_thread_name = "lldb.process.freebsd.operation"; + static const char *g_thread_name = "freebsd.op"; if (m_operation_thread && m_operation_thread->IsJoinable()) return; From owner-svn-src-projects@freebsd.org Thu Aug 6 19:06:00 2020 Return-Path: Delivered-To: svn-src-projects@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 09B833A86D2 for ; Thu, 6 Aug 2020 19:06:00 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BMyd36SPBz4T7T; Thu, 6 Aug 2020 19:05:59 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BD20BBB2F; Thu, 6 Aug 2020 19:05:59 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 076J5xb9052401; Thu, 6 Aug 2020 19:05:59 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 076J5xSt052399; Thu, 6 Aug 2020 19:05:59 GMT (envelope-from dim@FreeBSD.org) Message-Id: <202008061905.076J5xSt052399@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Thu, 6 Aug 2020 19:05:59 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r363975 - in projects/clang1100-import/contrib/llvm-project: compiler-rt/lib/builtins libunwind/include X-SVN-Group: projects X-SVN-Commit-Author: dim X-SVN-Commit-Paths: in projects/clang1100-import/contrib/llvm-project: compiler-rt/lib/builtins libunwind/include X-SVN-Commit-Revision: 363975 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Aug 2020 19:06:00 -0000 Author: dim Date: Thu Aug 6 19:05:59 2020 New Revision: 363975 URL: https://svnweb.freebsd.org/changeset/base/363975 Log: Reapply r354347 (by cem): Fix llvm-libunwind userspace build on ARM GCC's libgcc exports a few ARM-specific symbols for ARM EABI, AEABI, or EHABI or whatever it's called. Export the same ones from LLVM-libunwind's libgcc_s, on ARM. As part of this, convert libgcc_s from a direct Version.map to one constructed from component Symbol.map files. This allows the ARM-specific Symbol.map to be included only on ARM. Fix ARM-only oddities in struct name/aliases in LLVM-libunwind to match non-ARM definitions and ARM-specific expectations in libcxxrt / libcompiler_rt. No functional change intended for non-ARM architectures. This commit does not actually flip the switch for ARM defaults from libgcc to llvm-libunwind, but makes it possible (to compile, anyway). Modified: projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/builtins/gcc_personality_v0.c projects/clang1100-import/contrib/llvm-project/libunwind/include/unwind.h Modified: projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/builtins/gcc_personality_v0.c ============================================================================== --- projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/builtins/gcc_personality_v0.c Thu Aug 6 18:17:19 2020 (r363974) +++ projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/builtins/gcc_personality_v0.c Thu Aug 6 19:05:59 2020 (r363975) @@ -9,8 +9,23 @@ #include "int_lib.h" #include +/* + * XXX On FreeBSD, this file is compiled into three libraries: + * - libcompiler_rt + * - libgcc_eh + * - libgcc_s + * + * In the former, the include path points to the contrib/libcxxrt/unwind-arm.h + * copy of unwind.h. In the latter, the include path points to the + * contrib/libunwind/include/unwind.h header (LLVM libunwind). + * + * Neither (seemingly redundant) variant of unwind.h needs the redefinitions + * provided in the "helpful" header below, and libcxxrt's unwind-arm.h provides + * *no* useful distinguishing macros, so just forcibly disable the helper + * header on FreeBSD. + */ #if defined(__arm__) && !defined(__ARM_DWARF_EH__) && \ - !defined(__USING_SJLJ_EXCEPTIONS__) + !defined(__USING_SJLJ_EXCEPTIONS__) && !defined(__FreeBSD__) // When building with older compilers (e.g. clang <3.9), it is possible that we // have a version of unwind.h which does not provide the EHABI declarations // which are quired for the C personality to conform to the specification. In Modified: projects/clang1100-import/contrib/llvm-project/libunwind/include/unwind.h ============================================================================== --- projects/clang1100-import/contrib/llvm-project/libunwind/include/unwind.h Thu Aug 6 18:17:19 2020 (r363974) +++ projects/clang1100-import/contrib/llvm-project/libunwind/include/unwind.h Thu Aug 6 19:05:59 2020 (r363975) @@ -66,12 +66,16 @@ static const _Unwind_State _US_ACTION_MASK static const _Unwind_State _US_FORCE_UNWIND = 8; typedef uint32_t _Unwind_EHT_Header; +/* + * gcc_personality_v0 references 'struct _Unwind_Exception' all over the place. + * Nothing in libunwind cares about 'struct _Unwind_Control_Block,' so make it + * the alias of struct _Unwind_Exception, instead of the other way around. + */ +struct _Unwind_Exception; +typedef struct _Unwind_Exception _Unwind_Exception; +typedef struct _Unwind_Exception _Unwind_Control_Block; /* Alias */ -struct _Unwind_Control_Block; -typedef struct _Unwind_Control_Block _Unwind_Control_Block; -typedef struct _Unwind_Control_Block _Unwind_Exception; /* Alias */ - -struct _Unwind_Control_Block { +struct _Unwind_Exception { uint64_t exception_class; void (*exception_cleanup)(_Unwind_Reason_Code, _Unwind_Control_Block*); From owner-svn-src-projects@freebsd.org Thu Aug 6 19:08:29 2020 Return-Path: Delivered-To: svn-src-projects@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6E50E3A8A51 for ; Thu, 6 Aug 2020 19:08:29 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BMygx2Hxyz4TJx; Thu, 6 Aug 2020 19:08:29 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2E067BB30; Thu, 6 Aug 2020 19:08:29 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 076J8T0o052594; Thu, 6 Aug 2020 19:08:29 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 076J8TT2052593; Thu, 6 Aug 2020 19:08:29 GMT (envelope-from dim@FreeBSD.org) Message-Id: <202008061908.076J8TT2052593@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Thu, 6 Aug 2020 19:08:29 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r363976 - projects/clang1100-import/contrib/llvm-project/libunwind/src X-SVN-Group: projects X-SVN-Commit-Author: dim X-SVN-Commit-Paths: projects/clang1100-import/contrib/llvm-project/libunwind/src X-SVN-Commit-Revision: 363976 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Aug 2020 19:08:29 -0000 Author: dim Date: Thu Aug 6 19:08:28 2020 New Revision: 363976 URL: https://svnweb.freebsd.org/changeset/base/363976 Log: Reapply r355803 (by mmel): Fix LLVM libunwnwind _Unwind_Backtrace symbol version for ARM. In original GNU libgcc, _Unwind_Backtrace is published with GCC_3.3 version for all architectures but ARM. For ARM should be publishes with GCC_4.3.0 version. This was originally omitted in r255095, fixed in r318024 and omitted aging in LLVM libunwind implementation in r354347. For ARM _Unwind_Backtrace should be published as default with GCC_4.3.0 version , (because this is right original version) and again as normal(not-default) with GCC_3.3 version (to maintain ABI compatibility compiled/linked with wrong pre r318024 libgcc) PR: 233664 Modified: projects/clang1100-import/contrib/llvm-project/libunwind/src/UnwindLevel1-gcc-ext.c Modified: projects/clang1100-import/contrib/llvm-project/libunwind/src/UnwindLevel1-gcc-ext.c ============================================================================== --- projects/clang1100-import/contrib/llvm-project/libunwind/src/UnwindLevel1-gcc-ext.c Thu Aug 6 19:05:59 2020 (r363975) +++ projects/clang1100-import/contrib/llvm-project/libunwind/src/UnwindLevel1-gcc-ext.c Thu Aug 6 19:08:28 2020 (r363976) @@ -181,6 +181,10 @@ _Unwind_Backtrace(_Unwind_Trace_Fn callback, void *ref } } } +#ifdef __arm__ +/* Preserve legacy libgcc (pre r318024) ARM ABI mistake */ +__sym_compat(_Unwind_Backtrace, _Unwind_Backtrace, GCC_3.3); +#endif /// Find DWARF unwind info for an address 'pc' in some function. From owner-svn-src-projects@freebsd.org Thu Aug 6 19:11:25 2020 Return-Path: Delivered-To: svn-src-projects@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8042C3A9200 for ; Thu, 6 Aug 2020 19:11:25 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BMylK2tlpz4TdS; Thu, 6 Aug 2020 19:11:25 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 46766B965; Thu, 6 Aug 2020 19:11:25 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 076JBPJc053717; Thu, 6 Aug 2020 19:11:25 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 076JBOwN053715; Thu, 6 Aug 2020 19:11:24 GMT (envelope-from dim@FreeBSD.org) Message-Id: <202008061911.076JBOwN053715@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Thu, 6 Aug 2020 19:11:24 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r363977 - in projects/clang1100-import/contrib/llvm-project: clang/lib/AST compiler-rt/lib/builtins X-SVN-Group: projects X-SVN-Commit-Author: dim X-SVN-Commit-Paths: in projects/clang1100-import/contrib/llvm-project: clang/lib/AST compiler-rt/lib/builtins X-SVN-Commit-Revision: 363977 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Aug 2020 19:11:25 -0000 Author: dim Date: Thu Aug 6 19:11:24 2020 New Revision: 363977 URL: https://svnweb.freebsd.org/changeset/base/363977 Log: r356104 | jhibbits | 2019-12-27 00:06:28 +0100 (Fri, 27 Dec 2019) | 25 lines [PowerPC] enable atomic.c in compiler_rt and do not check and forces lock/lock_free decisions in compiled time Summary: Enables atomic.c in compiler_rt and forces clang to not emit a call for runtime decision about lock/lock_free. At compiling time, if clang can't decide if atomic operation can be lock free, it emits calls to external functions like `__atomic_is_lock_free`, `__c11_atomic_is_lock_free` and `__atomic_always_lock_free`, postponing decision to a runtime check. According to LLVM code documentation, the mechanism exists due to differences between x86_64 processors that can't be decided at runtime. On PowerPC and PowerPCSPE (32 bits), we already know in advance it can't be lock free, so we force the decision at compile time and avoid having to implement it in an external library. This patch was made after 32 bit users testing the PowePC32 bit ISO reported llvm could not be compiled with in-base llvm due to `__atomic_load8` not implemented. Submitted by: alfredo.junior_eldorado.org.br Reviewed by: jhibbits, dim Differential Revision: https://reviews.freebsd.org/D22549 Modified: projects/clang1100-import/contrib/llvm-project/clang/lib/AST/ExprConstant.cpp projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/builtins/atomic.c Modified: projects/clang1100-import/contrib/llvm-project/clang/lib/AST/ExprConstant.cpp ============================================================================== --- projects/clang1100-import/contrib/llvm-project/clang/lib/AST/ExprConstant.cpp Thu Aug 6 19:08:28 2020 (r363976) +++ projects/clang1100-import/contrib/llvm-project/clang/lib/AST/ExprConstant.cpp Thu Aug 6 19:11:24 2020 (r363977) @@ -11529,6 +11529,13 @@ bool IntExprEvaluator::VisitBuiltinCallExpr(const Call } } + // Avoid emiting call for runtime decision on PowerPC 32-bit + // The lock free possibilities on this platform are covered by the lines + // above and we know in advance other cases require lock + if (Info.Ctx.getTargetInfo().getTriple().getArch() == llvm::Triple::ppc) { + return Success(0, E); + } + return BuiltinOp == Builtin::BI__atomic_always_lock_free ? Success(0, E) : Error(E); } Modified: projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/builtins/atomic.c ============================================================================== --- projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/builtins/atomic.c Thu Aug 6 19:08:28 2020 (r363976) +++ projects/clang1100-import/contrib/llvm-project/compiler-rt/lib/builtins/atomic.c Thu Aug 6 19:11:24 2020 (r363977) @@ -120,13 +120,20 @@ static __inline Lock *lock_for_pointer(void *ptr) { return locks + (hash & SPINLOCK_MASK); } -/// Macros for determining whether a size is lock free. Clang can not yet -/// codegen __atomic_is_lock_free(16), so for now we assume 16-byte values are -/// not lock free. +/// Macros for determining whether a size is lock free. #define IS_LOCK_FREE_1 __c11_atomic_is_lock_free(1) #define IS_LOCK_FREE_2 __c11_atomic_is_lock_free(2) #define IS_LOCK_FREE_4 __c11_atomic_is_lock_free(4) + +/// 32 bit PowerPC doesn't support 8-byte lock_free atomics +#if !defined(__powerpc64__) && defined(__powerpc__) +#define IS_LOCK_FREE_8 0 +#else #define IS_LOCK_FREE_8 __c11_atomic_is_lock_free(8) +#endif + +/// Clang can not yet codegen __atomic_is_lock_free(16), so for now we assume +/// 16-byte values are not lock free. #define IS_LOCK_FREE_16 0 /// Macro that calls the compiler-generated lock-free versions of functions From owner-svn-src-projects@freebsd.org Thu Aug 6 19:15:33 2020 Return-Path: Delivered-To: svn-src-projects@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0C0913A920D for ; Thu, 6 Aug 2020 19:15:33 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BMyr46FQHz4TX7; Thu, 6 Aug 2020 19:15:32 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9D881B6F1; Thu, 6 Aug 2020 19:15:32 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 076JFWbe058464; Thu, 6 Aug 2020 19:15:32 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 076JFWaN058462; Thu, 6 Aug 2020 19:15:32 GMT (envelope-from dim@FreeBSD.org) Message-Id: <202008061915.076JFWaN058462@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Thu, 6 Aug 2020 19:15:32 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r363978 - in projects/clang1100-import/contrib/llvm-project/lldb: include/lldb source/Core X-SVN-Group: projects X-SVN-Commit-Author: dim X-SVN-Commit-Paths: in projects/clang1100-import/contrib/llvm-project/lldb: include/lldb source/Core X-SVN-Commit-Revision: 363978 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Aug 2020 19:15:33 -0000 Author: dim Date: Thu Aug 6 19:15:31 2020 New Revision: 363978 URL: https://svnweb.freebsd.org/changeset/base/363978 Log: Reapply r359582 (by emaste): lldb: use lua as the default script language In the FreeBSD base system we do not have Python support in lldb, but will have Lua support. Make Lua the default. This needs to be made into a configure-time option; that is being discussed upstream and will appear in a future lldb import. For now carry this change as a tiny patch to our copy of lldb. Modified: projects/clang1100-import/contrib/llvm-project/lldb/include/lldb/lldb-enumerations.h projects/clang1100-import/contrib/llvm-project/lldb/source/Core/CoreProperties.td Modified: projects/clang1100-import/contrib/llvm-project/lldb/include/lldb/lldb-enumerations.h ============================================================================== --- projects/clang1100-import/contrib/llvm-project/lldb/include/lldb/lldb-enumerations.h Thu Aug 6 19:11:24 2020 (r363977) +++ projects/clang1100-import/contrib/llvm-project/lldb/include/lldb/lldb-enumerations.h Thu Aug 6 19:15:31 2020 (r363978) @@ -215,7 +215,7 @@ enum ScriptLanguage { eScriptLanguagePython, eScriptLanguageLua, eScriptLanguageUnknown, - eScriptLanguageDefault = eScriptLanguagePython + eScriptLanguageDefault = eScriptLanguageLua }; /// Register numbering types. Modified: projects/clang1100-import/contrib/llvm-project/lldb/source/Core/CoreProperties.td ============================================================================== --- projects/clang1100-import/contrib/llvm-project/lldb/source/Core/CoreProperties.td Thu Aug 6 19:11:24 2020 (r363977) +++ projects/clang1100-import/contrib/llvm-project/lldb/source/Core/CoreProperties.td Thu Aug 6 19:15:31 2020 (r363978) @@ -39,7 +39,7 @@ let Definition = "debugger" in { Desc<"The debugger command line prompt displayed for the user.">; def ScriptLanguage: Property<"script-lang", "Enum">, Global, - DefaultEnumValue<"eScriptLanguagePython">, + DefaultEnumValue<"eScriptLanguageLua">, EnumValues<"OptionEnumValues(g_language_enumerators)">, Desc<"The script language to be used for evaluating user-written scripts.">; def StopDisassemblyCount: Property<"stop-disassembly-count", "SInt64">, From owner-svn-src-projects@freebsd.org Thu Aug 6 19:23:01 2020 Return-Path: Delivered-To: svn-src-projects@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 66D503A9711 for ; Thu, 6 Aug 2020 19:23:01 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BMz0j1zKvz4VPJ; Thu, 6 Aug 2020 19:23:01 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 26A41BE5F; Thu, 6 Aug 2020 19:23:01 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 076JN1pK064593; Thu, 6 Aug 2020 19:23:01 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 076JN1Zu064592; Thu, 6 Aug 2020 19:23:01 GMT (envelope-from dim@FreeBSD.org) Message-Id: <202008061923.076JN1Zu064592@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Thu, 6 Aug 2020 19:23:01 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r363980 - projects/clang1100-import/contrib/llvm-project/clang/lib/AST X-SVN-Group: projects X-SVN-Commit-Author: dim X-SVN-Commit-Paths: projects/clang1100-import/contrib/llvm-project/clang/lib/AST X-SVN-Commit-Revision: 363980 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Aug 2020 19:23:01 -0000 Author: dim Date: Thu Aug 6 19:23:00 2020 New Revision: 363980 URL: https://svnweb.freebsd.org/changeset/base/363980 Log: Reapply r360852 (by cem): clang: Reject %n for __attribute__((format(__freebsd_kprintf__))) A follow-up to r360849. Reported by: imp Reviewed by: emaste, imp Differential Revision: https://reviews.freebsd.org/D24786 Modified: projects/clang1100-import/contrib/llvm-project/clang/lib/AST/PrintfFormatString.cpp Modified: projects/clang1100-import/contrib/llvm-project/clang/lib/AST/PrintfFormatString.cpp ============================================================================== --- projects/clang1100-import/contrib/llvm-project/clang/lib/AST/PrintfFormatString.cpp Thu Aug 6 19:16:11 2020 (r363979) +++ projects/clang1100-import/contrib/llvm-project/clang/lib/AST/PrintfFormatString.cpp Thu Aug 6 19:23:00 2020 (r363980) @@ -317,8 +317,8 @@ static PrintfSpecifierResult ParsePrintfSpecifier(Form case 'g': k = ConversionSpecifier::gArg; break; case 'i': k = ConversionSpecifier::iArg; break; case 'n': - // Not handled, but reserved in OpenCL. - if (!LO.OpenCL) + // Not handled, but reserved in OpenCL and FreeBSD kernel. + if (!LO.OpenCL && !isFreeBSDKPrintf) k = ConversionSpecifier::nArg; break; case 'o': k = ConversionSpecifier::oArg; break; From owner-svn-src-projects@freebsd.org Thu Aug 6 19:24:17 2020 Return-Path: Delivered-To: svn-src-projects@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AFDA93A971F for ; Thu, 6 Aug 2020 19:24:17 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BMz294JDSz4VFK; Thu, 6 Aug 2020 19:24:17 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7720CC026; Thu, 6 Aug 2020 19:24:17 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 076JOHQs064684; Thu, 6 Aug 2020 19:24:17 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 076JOHYW064683; Thu, 6 Aug 2020 19:24:17 GMT (envelope-from dim@FreeBSD.org) Message-Id: <202008061924.076JOHYW064683@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Thu, 6 Aug 2020 19:24:17 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r363981 - projects/clang1100-import/contrib/llvm-project/clang/lib/Driver/ToolChains/Arch X-SVN-Group: projects X-SVN-Commit-Author: dim X-SVN-Commit-Paths: projects/clang1100-import/contrib/llvm-project/clang/lib/Driver/ToolChains/Arch X-SVN-Commit-Revision: 363981 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Aug 2020 19:24:17 -0000 Author: dim Date: Thu Aug 6 19:24:17 2020 New Revision: 363981 URL: https://svnweb.freebsd.org/changeset/base/363981 Log: Reapply r362235 (by kp): llvm: Default to -mno-relax on RISC-V Compiling on a RISC-V system fails with 'relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax'. Our default linker (ld.lld) doesn't support relaxation, so default to no-relax so we don't generate object files the linker can't handle. Reviewed by: mhorne Sponsored by: Axiado Differential Revision: https://reviews.freebsd.org/D25210 Modified: projects/clang1100-import/contrib/llvm-project/clang/lib/Driver/ToolChains/Arch/RISCV.cpp Modified: projects/clang1100-import/contrib/llvm-project/clang/lib/Driver/ToolChains/Arch/RISCV.cpp ============================================================================== --- projects/clang1100-import/contrib/llvm-project/clang/lib/Driver/ToolChains/Arch/RISCV.cpp Thu Aug 6 19:23:00 2020 (r363980) +++ projects/clang1100-import/contrib/llvm-project/clang/lib/Driver/ToolChains/Arch/RISCV.cpp Thu Aug 6 19:24:17 2020 (r363981) @@ -536,8 +536,9 @@ void riscv::getRISCVTargetFeatures(const Driver &D, co if (Args.hasArg(options::OPT_ffixed_x31)) Features.push_back("+reserve-x31"); - // -mrelax is default, unless -mno-relax is specified. - if (Args.hasFlag(options::OPT_mrelax, options::OPT_mno_relax, true)) + // FreeBSD local, because ld.lld doesn't support relaxations + // -mno-relax is default, unless -mrelax is specified. + if (Args.hasFlag(options::OPT_mrelax, options::OPT_mno_relax, false)) Features.push_back("+relax"); else Features.push_back("-relax"); From owner-svn-src-projects@freebsd.org Thu Aug 6 19:27:05 2020 Return-Path: Delivered-To: svn-src-projects@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 99B243A9728 for ; Thu, 6 Aug 2020 19:27:05 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BMz5P3bCVz4VLG; Thu, 6 Aug 2020 19:27:05 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5B88FBE60; Thu, 6 Aug 2020 19:27:05 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 076JR5KS064884; Thu, 6 Aug 2020 19:27:05 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 076JR3lX064875; Thu, 6 Aug 2020 19:27:03 GMT (envelope-from dim@FreeBSD.org) Message-Id: <202008061927.076JR3lX064875@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Thu, 6 Aug 2020 19:27:03 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r363982 - in projects/clang1100-import/lib/clang/include: . Plugins clang/Basic clang/Config lld/Common lldb/Host llvm/Config llvm/Support X-SVN-Group: projects X-SVN-Commit-Author: dim X-SVN-Commit-Paths: in projects/clang1100-import/lib/clang/include: . Plugins clang/Basic clang/Config lld/Common lldb/Host llvm/Config llvm/Support X-SVN-Commit-Revision: 363982 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Aug 2020 19:27:05 -0000 Author: dim Date: Thu Aug 6 19:27:03 2020 New Revision: 363982 URL: https://svnweb.freebsd.org/changeset/base/363982 Log: Update generated llvm-project related version headers, config.h files and add a newly generated lldb Plugins.def file too. Added: projects/clang1100-import/lib/clang/include/Plugins/ projects/clang1100-import/lib/clang/include/Plugins/Plugins.def Modified: projects/clang1100-import/lib/clang/include/VCSVersion.inc projects/clang1100-import/lib/clang/include/clang/Basic/Version.inc projects/clang1100-import/lib/clang/include/clang/Config/config.h projects/clang1100-import/lib/clang/include/lld/Common/Version.inc projects/clang1100-import/lib/clang/include/lldb/Host/Config.h projects/clang1100-import/lib/clang/include/llvm/Config/config.h projects/clang1100-import/lib/clang/include/llvm/Config/llvm-config.h projects/clang1100-import/lib/clang/include/llvm/Support/VCSRevision.h Added: projects/clang1100-import/lib/clang/include/Plugins/Plugins.def ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ projects/clang1100-import/lib/clang/include/Plugins/Plugins.def Thu Aug 6 19:27:03 2020 (r363982) @@ -0,0 +1,77 @@ +// $FreeBSD$ +/*===- lldb/source/Plugin/Plugins.def ---------------------------*- C++ -*-===*\ +|* *| +|* Part of the LLVM Project, under the Apache License v2.0 with LLVM *| +|* Exceptions. *| +|* See https://llvm.org/LICENSE.txt for license information. *| +|* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception *| +|* *| +|*===----------------------------------------------------------------------===*| +|* *| +|* This file enumerates all of the plugins supported by this build of LLDB. *| +|* Clients of this file should define the LLDB_PLUGIN macro to be a *| +|* function-like macro with a single parameter (the name of the plugin) *| +|* including this file will then enumerate all of the plugins. Script *| +|* interpreter plugins can be enumerated separately by defining *| +|* LLDB_SCRIPT_PLUGIN in which case they are not part of LLDB_PLUGIN. *| +|* *| +|* *| +|* The set of plugins supported by LLDB is generated at configuration *| +|* time, at which point this header is generated. Do not modify this *| +|* header directly. *| +|* *| +\*===----------------------------------------------------------------------===*/ + +#ifndef LLDB_PLUGIN +# error Please define the macro LLDB_PLUGIN(PluginName) +#endif + +#ifndef LLDB_SCRIPT_PLUGIN +#define LLDB_SCRIPT_PLUGIN(p) LLDB_PLUGIN(p) +#endif + +LLDB_PLUGIN(ABIAArch64) +LLDB_PLUGIN(ABIARM) +LLDB_PLUGIN(ABIMips) +LLDB_PLUGIN(ABIPowerPC) +LLDB_PLUGIN(ABIX86) +LLDB_PLUGIN(ArchitectureArm) +LLDB_PLUGIN(ArchitectureMips) +LLDB_PLUGIN(ArchitecturePPC64) +LLDB_PLUGIN(DisassemblerLLVMC) +LLDB_PLUGIN(DynamicLoaderPosixDYLD) +LLDB_PLUGIN(DynamicLoaderStatic) +LLDB_PLUGIN(InstructionARM) +LLDB_PLUGIN(InstructionARM64) +LLDB_PLUGIN(InstructionMIPS) +LLDB_PLUGIN(InstructionMIPS64) +LLDB_PLUGIN(InstructionPPC64) +LLDB_PLUGIN(InstrumentationRuntimeASan) +LLDB_PLUGIN(InstrumentationRuntimeMainThreadChecker) +LLDB_PLUGIN(InstrumentationRuntimeTSan) +LLDB_PLUGIN(InstrumentationRuntimeUBSan) +LLDB_PLUGIN(JITLoaderGDB) +LLDB_PLUGIN(CPlusPlusLanguage) +LLDB_PLUGIN(CXXItaniumABI) +LLDB_PLUGIN(MemoryHistoryASan) +LLDB_PLUGIN(ObjectContainerBSDArchive) +LLDB_PLUGIN(ObjectFileBreakpad) +LLDB_PLUGIN(ObjectFileELF) +LLDB_PLUGIN(ObjectFileJIT) +LLDB_PLUGIN(PlatformFreeBSD) +LLDB_PLUGIN(PlatformGDB) +LLDB_PLUGIN(ProcessFreeBSD) +LLDB_PLUGIN(ProcessElfCore) +LLDB_SCRIPT_PLUGIN(ScriptInterpreterNone) +LLDB_SCRIPT_PLUGIN(ScriptInterpreterLua) +LLDB_PLUGIN(SymbolFileBreakpad) +LLDB_PLUGIN(SymbolFileDWARF) +LLDB_PLUGIN(SymbolFileSymtab) +LLDB_PLUGIN(SymbolVendorELF) +LLDB_PLUGIN(TypeSystemClang) +LLDB_PLUGIN(UnwindAssemblyInstEmulation) +LLDB_PLUGIN(UnwindAssemblyX86) +LLDB_PLUGIN(ProcessGDBRemote) + +#undef LLDB_PLUGIN +#undef LLDB_SCRIPT_PLUGIN Modified: projects/clang1100-import/lib/clang/include/VCSVersion.inc ============================================================================== --- projects/clang1100-import/lib/clang/include/VCSVersion.inc Thu Aug 6 19:24:17 2020 (r363981) +++ projects/clang1100-import/lib/clang/include/VCSVersion.inc Thu Aug 6 19:27:03 2020 (r363982) @@ -1,14 +1,14 @@ // $FreeBSD$ -#define LLVM_REVISION "llvmorg-10.0.1-0-gef32c611aa2" +#define LLVM_REVISION "llvmorg-11.0.0-rc1-25-g903c872b169" #define LLVM_REPOSITORY "git@github.com:llvm/llvm-project.git" -#define CLANG_REVISION "llvmorg-10.0.1-0-gef32c611aa2" +#define CLANG_REVISION "llvmorg-11.0.0-rc1-25-g903c872b169" #define CLANG_REPOSITORY "git@github.com:llvm/llvm-project.git" // - -#define LLD_REVISION "llvmorg-10.0.1-0-gef32c611aa2-1300007" +#define LLD_REVISION "llvmorg-11.0.0-rc1-25-g903c872b169-1300007" #define LLD_REPOSITORY "FreeBSD" -#define LLDB_REVISION "llvmorg-10.0.1-0-gef32c611aa2" +#define LLDB_REVISION "llvmorg-11.0.0-rc1-25-g903c872b169" #define LLDB_REPOSITORY "git@github.com:llvm/llvm-project.git" Modified: projects/clang1100-import/lib/clang/include/clang/Basic/Version.inc ============================================================================== --- projects/clang1100-import/lib/clang/include/clang/Basic/Version.inc Thu Aug 6 19:24:17 2020 (r363981) +++ projects/clang1100-import/lib/clang/include/clang/Basic/Version.inc Thu Aug 6 19:27:03 2020 (r363982) @@ -1,9 +1,9 @@ /* $FreeBSD$ */ -#define CLANG_VERSION 10.0.1 -#define CLANG_VERSION_STRING "10.0.1" -#define CLANG_VERSION_MAJOR 10 +#define CLANG_VERSION 11.0.0 +#define CLANG_VERSION_STRING "11.0.0" +#define CLANG_VERSION_MAJOR 11 #define CLANG_VERSION_MINOR 0 -#define CLANG_VERSION_PATCHLEVEL 1 +#define CLANG_VERSION_PATCHLEVEL 0 #define CLANG_VENDOR "FreeBSD " Modified: projects/clang1100-import/lib/clang/include/clang/Config/config.h ============================================================================== --- projects/clang1100-import/lib/clang/include/clang/Config/config.h Thu Aug 6 19:24:17 2020 (r363981) +++ projects/clang1100-import/lib/clang/include/clang/Config/config.h Thu Aug 6 19:27:03 2020 (r363982) @@ -36,6 +36,9 @@ /* Default architecture for OpenMP offloading to Nvidia GPUs. */ #define CLANG_OPENMP_NVPTX_DEFAULT_ARCH "sm_35" +/* Default architecture for SystemZ. */ +#define CLANG_SYSTEMZ_DEFAULT_ARCH "z10" + /* Multilib suffix for libdir. */ #define CLANG_LIBDIR_SUFFIX "" @@ -62,7 +65,7 @@ #define CLANG_HAVE_RLIMITS 1 /* The LLVM product name and version */ -#define BACKEND_PACKAGE_STRING "LLVM 10.0.1" +#define BACKEND_PACKAGE_STRING "LLVM 11.0.0" /* Linker version detected at compile time. */ /* #undef HOST_LINK_VERSION */ Modified: projects/clang1100-import/lib/clang/include/lld/Common/Version.inc ============================================================================== --- projects/clang1100-import/lib/clang/include/lld/Common/Version.inc Thu Aug 6 19:24:17 2020 (r363981) +++ projects/clang1100-import/lib/clang/include/lld/Common/Version.inc Thu Aug 6 19:27:03 2020 (r363982) @@ -1,6 +1,3 @@ // $FreeBSD$ -#define LLD_VERSION 10.0.1 -#define LLD_VERSION_STRING "10.0.1" -#define LLD_VERSION_MAJOR 10 -#define LLD_VERSION_MINOR 0 +#define LLD_VERSION_STRING "11.0.0" Modified: projects/clang1100-import/lib/clang/include/lldb/Host/Config.h ============================================================================== --- projects/clang1100-import/lib/clang/include/lldb/Host/Config.h Thu Aug 6 19:24:17 2020 (r363981) +++ projects/clang1100-import/lib/clang/include/lldb/Host/Config.h Thu Aug 6 19:27:03 2020 (r363982) @@ -47,6 +47,8 @@ #define LLDB_ENABLE_PYTHON 0 +#define LLDB_EMBED_PYTHON_HOME 0 + /* #undef LLDB_PYTHON_HOME */ #define LLDB_LIBDIR_SUFFIX "" Modified: projects/clang1100-import/lib/clang/include/llvm/Config/config.h ============================================================================== --- projects/clang1100-import/lib/clang/include/llvm/Config/config.h Thu Aug 6 19:24:17 2020 (r363981) +++ projects/clang1100-import/lib/clang/include/llvm/Config/config.h Thu Aug 6 19:27:03 2020 (r363982) @@ -2,6 +2,9 @@ #ifndef CONFIG_H #define CONFIG_H +// Include this header only under the llvm source tree. +// This is a private header. + /* Exported configuration */ #include "llvm/Config/llvm-config.h" @@ -105,10 +108,10 @@ #define HAVE_LIBPTHREAD 1 /* Define to 1 if you have the `pthread_getname_np' function. */ -/* #undef HAVE_PTHREAD_GETNAME_NP */ +#define HAVE_PTHREAD_GETNAME_NP 1 /* Define to 1 if you have the `pthread_setname_np' function. */ -/* #undef HAVE_PTHREAD_SETNAME_NP */ +#define HAVE_PTHREAD_SETNAME_NP 1 /* Define to 1 if you have the `z' library (-lz). */ #define HAVE_LIBZ 1 @@ -161,12 +164,6 @@ /* Define to 1 if you have the `setenv' function. */ #define HAVE_SETENV 1 -/* Define to 1 if you have the `sched_getaffinity' function. */ -/* #undef HAVE_SCHED_GETAFFINITY */ - -/* Define to 1 if you have the `CPU_COUNT' macro. */ -/* #undef HAVE_CPU_COUNT */ - /* Define to 1 if you have the `setrlimit' function. */ #define HAVE_SETRLIMIT 1 @@ -322,10 +319,10 @@ #define PACKAGE_NAME "LLVM" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "LLVM 10.0.1" +#define PACKAGE_STRING "LLVM 11.0.0" /* Define to the version of this package. */ -#define PACKAGE_VERSION "10.0.1" +#define PACKAGE_VERSION "11.0.0" /* Define to the vendor of this package. */ /* #undef PACKAGE_VENDOR */ @@ -344,9 +341,6 @@ /* Whether GlobalISel rule coverage is being collected */ #define LLVM_GISEL_COV_ENABLED 0 - -/* Define if we have z3 and want to build it */ -/* #undef LLVM_WITH_Z3 */ /* Define to the default GlobalISel coverage file prefix */ /* #undef LLVM_GISEL_COV_PREFIX */ Modified: projects/clang1100-import/lib/clang/include/llvm/Config/llvm-config.h ============================================================================== --- projects/clang1100-import/lib/clang/include/llvm/Config/llvm-config.h Thu Aug 6 19:24:17 2020 (r363981) +++ projects/clang1100-import/lib/clang/include/llvm/Config/llvm-config.h Thu Aug 6 19:27:03 2020 (r363982) @@ -64,20 +64,26 @@ #define LLVM_USE_PERF 0 /* Major version of the LLVM API */ -#define LLVM_VERSION_MAJOR 10 +#define LLVM_VERSION_MAJOR 11 /* Minor version of the LLVM API */ #define LLVM_VERSION_MINOR 0 /* Patch version of the LLVM API */ -#define LLVM_VERSION_PATCH 1 +#define LLVM_VERSION_PATCH 0 /* LLVM version string */ -#define LLVM_VERSION_STRING "10.0.1" +#define LLVM_VERSION_STRING "11.0.0" /* Whether LLVM records statistics for use with GetStatistics(), * PrintStatistics() or PrintStatisticsJSON() */ #define LLVM_FORCE_ENABLE_STATS 0 + +/* Define if we have z3 and want to build it */ +/* #undef LLVM_WITH_Z3 */ + +/* Define if LLVM was built with a dependency to the libtensorflow dynamic library */ +/* #undef LLVM_HAVE_TF_API */ #endif Modified: projects/clang1100-import/lib/clang/include/llvm/Support/VCSRevision.h ============================================================================== --- projects/clang1100-import/lib/clang/include/llvm/Support/VCSRevision.h Thu Aug 6 19:24:17 2020 (r363981) +++ projects/clang1100-import/lib/clang/include/llvm/Support/VCSRevision.h Thu Aug 6 19:27:03 2020 (r363982) @@ -1,3 +1,3 @@ /* $FreeBSD$ */ -#define LLVM_REVISION "llvmorg-10.0.1-0-gef32c611aa2" +#define LLVM_REVISION "llvmorg-11.0.0-rc1-25-g903c872b169" #define LLVM_REPOSITORY "git@github.com:llvm/llvm-project.git" From owner-svn-src-projects@freebsd.org Thu Aug 6 19:28:06 2020 Return-Path: Delivered-To: svn-src-projects@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7A8653A9454 for ; Thu, 6 Aug 2020 19:28:06 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BMz6Z2zW5z4VT9; Thu, 6 Aug 2020 19:28:06 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 49DFBB8F7; Thu, 6 Aug 2020 19:28:06 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 076JS64o064968; Thu, 6 Aug 2020 19:28:06 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 076JS0Zo064964; Thu, 6 Aug 2020 19:28:00 GMT (envelope-from dim@FreeBSD.org) Message-Id: <202008061928.076JS0Zo064964@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Thu, 6 Aug 2020 19:28:00 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r363983 - projects/clang1100-import/lib/clang/liblldb X-SVN-Group: projects X-SVN-Commit-Author: dim X-SVN-Commit-Paths: projects/clang1100-import/lib/clang/liblldb X-SVN-Commit-Revision: 363983 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Aug 2020 19:28:06 -0000 Author: dim Date: Thu Aug 6 19:28:00 2020 New Revision: 363983 URL: https://svnweb.freebsd.org/changeset/base/363983 Log: Regenerate lib/clang/liblldb/LLDBWrapLua.cpp with swig 4.0.2. Modified: projects/clang1100-import/lib/clang/liblldb/LLDBWrapLua.cpp Modified: projects/clang1100-import/lib/clang/liblldb/LLDBWrapLua.cpp ============================================================================== --- projects/clang1100-import/lib/clang/liblldb/LLDBWrapLua.cpp Thu Aug 6 19:27:03 2020 (r363982) +++ projects/clang1100-import/lib/clang/liblldb/LLDBWrapLua.cpp Thu Aug 6 19:28:00 2020 (r363983) @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.2 * * This file is not intended to be easily readable and contains a number of * coding conventions designed to improve portability and efficiency. Do not make @@ -209,6 +209,7 @@ template T SwigValueInit() { /* Flags for pointer conversions */ #define SWIG_POINTER_DISOWN 0x1 #define SWIG_CAST_NEW_MEMORY 0x2 +#define SWIG_POINTER_NO_NULL 0x4 /* Flags for new pointer objects */ #define SWIG_POINTER_OWN 0x1 @@ -737,6 +738,23 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t s } #endif +/* Errors in SWIG */ +#define SWIG_UnknownError -1 +#define SWIG_IOError -2 +#define SWIG_RuntimeError -3 +#define SWIG_IndexError -4 +#define SWIG_TypeError -5 +#define SWIG_DivisionByZero -6 +#define SWIG_OverflowError -7 +#define SWIG_SyntaxError -8 +#define SWIG_ValueError -9 +#define SWIG_SystemError -10 +#define SWIG_AttributeError -11 +#define SWIG_MemoryError -12 +#define SWIG_NullReferenceError -13 + + + /* ----------------------------------------------------------------------------- * luarun.swg * @@ -919,8 +937,8 @@ typedef struct swig_elua_entry { * -------------------------------------------------------------------------- */ /* Push the string STR on the Lua stack, like lua_pushstring, but - prefixed with the the location of the innermost Lua call-point - (as formated by luaL_where). */ + prefixed with the location of the innermost Lua call-point + (as formatted by luaL_where). */ SWIGRUNTIME void SWIG_Lua_pusherrstring (lua_State *L, const char *str) { @@ -930,8 +948,8 @@ SWIG_Lua_pusherrstring (lua_State *L, const char *str) } /* Push a formatted string generated from FMT and following args on - the Lua stack, like lua_pushfstring, but prefixed with the the - location of the innermost Lua call-point (as formated by luaL_where). */ + the Lua stack, like lua_pushfstring, but prefixed with the + location of the innermost Lua call-point (as formatted by luaL_where). */ SWIGRUNTIME void SWIG_Lua_pushferrstring (lua_State *L, const char *fmt, ...) { @@ -1028,7 +1046,7 @@ to tell the two structures apart within SWIG, other th typedef struct { swig_type_info *type; int own; /* 1 if owned & must be destroyed */ - char data[1]; /* arbitary amount of data */ + char data[1]; /* arbitrary amount of data */ } swig_lua_rawdata; /* Common SWIG API */ @@ -1080,7 +1098,7 @@ typedef struct { #define SWIG_isptrtype(L,I) (lua_isuserdata(L,I) || lua_isnil(L,I)) #ifdef __cplusplus -/* Special helper for member function pointers +/* Special helper for member function pointers it gets the address, casts it, then dereferences it */ /*#define SWIG_mem_fn_as_voidptr(a) (*((char**)&(a))) */ #endif @@ -1183,7 +1201,7 @@ SWIGINTERN void SWIG_Lua_elua_emulate_register(lua_Sta lua_pop(L,1); /*remove nil */ lua_newtable(L); SWIG_Lua_elua_emulate_register(L,entry->value.value.table); - } + } if(is_metatable) { assert(lua_istable(L,-1)); lua_pushvalue(L,-1); @@ -1192,11 +1210,11 @@ SWIGINTERN void SWIG_Lua_elua_emulate_register(lua_Sta break; case LUA_TUSERDATA: - if(entry->value.value.userdata.member) + if(entry->value.value.userdata.member) SWIG_NewMemberObj(L,entry->value.value.userdata.pvalue, entry->value.value.userdata.lvalue, *(entry->value.value.userdata.ptype)); - else + else SWIG_NewPointerObj(L,entry->value.value.userdata.pvalue, *(entry->value.value.userdata.ptype),0); break; @@ -1241,7 +1259,7 @@ SWIGINTERN int SWIG_Lua_emulate_elua_getmetatable(lua_ } assert(lua_gettop(L) == 2); return 1; - + fail: lua_error(L); return 0; @@ -1259,7 +1277,7 @@ SWIGINTERN void SWIG_Lua_emulate_elua_swap_getmetatabl lua_pushcfunction(L, SWIG_Lua_emulate_elua_getmetatable); lua_rawset(L,-3); lua_pop(L,2); - + } /* END OF REMOVE */ @@ -1778,17 +1796,11 @@ SWIGINTERN int SWIG_Lua_class_tostring(lua_State *L) { /* there should be 1 param passed in (1) userdata (not the metatable) */ - const char *className; - void* userData; + swig_lua_userdata* userData; assert(lua_isuserdata(L,1)); /* just in case */ - userData = lua_touserdata(L,1); /* get the userdata address for later */ - lua_getmetatable(L,1); /* get the meta table */ - assert(lua_istable(L,-1)); /* just in case */ + userData = (swig_lua_userdata*)lua_touserdata(L,1); /* get the userdata address */ - lua_getfield(L, -1, ".type"); - className = lua_tostring(L, -1); - - lua_pushfstring(L, "<%s userdata: %p>", className, userData); + lua_pushfstring(L, "", userData->type->str, userData->ptr); return 1; } @@ -1800,7 +1812,7 @@ SWIGINTERN int SWIG_Lua_class_disown(lua_State *L) swig_lua_userdata *usr; assert(lua_isuserdata(L,-1)); /* just in case */ usr=(swig_lua_userdata*)lua_touserdata(L,-1); /* get it */ - + usr->own = 0; /* clear our ownership */ return 0; } @@ -1909,7 +1921,7 @@ SWIGINTERN void SWIG_Lua_get_class_metatable(lua_Stat Each class structure has a list of pointers to the base class structures. This function fills them. It cannot be done at compile time, as this will not work with hireachies -spread over more than one swig file. +spread over more than one swig file. Therefore it must be done at runtime, querying the SWIG type system. */ SWIGINTERN void SWIG_Lua_init_base_class(lua_State *L,swig_lua_class *clss) @@ -2143,11 +2155,11 @@ SWIGRUNTIME int SWIG_Lua_resolve_metamethod(lua_State lua_checkstack(L,5); numargs = lua_gettop(L); /* number of arguments to pass to actual metamethod */ - + /* Get upvalues from closure */ lua_pushvalue(L, lua_upvalueindex(1)); /*Get function name*/ metamethod_name_idx = lua_gettop(L); - + lua_pushvalue(L, lua_upvalueindex(2)); clss = (const swig_lua_class*)(lua_touserdata(L,-1)); lua_pop(L,1); /* remove lightuserdata with clss from stack */ @@ -2179,7 +2191,7 @@ SWIGINTERN int SWIG_Lua_add_class_user_metamethod(lua_ /* metamethod name - on the top of the stack */ assert(lua_isstring(L,-1)); - + key_index = lua_gettop(L); /* Check whether method is already defined in metatable */ @@ -2189,7 +2201,7 @@ SWIGINTERN int SWIG_Lua_add_class_user_metamethod(lua_ lua_pop(L,1); return -1; } - lua_pop(L,1); + lua_pop(L,1); /* Iterating over immediate bases */ for(i=0;clss->bases[i];i++) @@ -2199,13 +2211,13 @@ SWIGINTERN int SWIG_Lua_add_class_user_metamethod(lua_ lua_pushvalue(L, key_index); lua_rawget(L, -2); if( !lua_isnil(L,-1) ) { - lua_pushvalue(L, key_index); + lua_pushvalue(L, key_index); /* Add proxy function */ lua_pushvalue(L, key_index); /* first closure value is function name */ lua_pushlightuserdata(L, clss); /* second closure value is swig_lua_class structure */ lua_pushcclosure(L, SWIG_Lua_resolve_metamethod, 2); - + lua_rawset(L, metatable_index); success = 1; } @@ -2216,7 +2228,7 @@ SWIGINTERN int SWIG_Lua_add_class_user_metamethod(lua_ break; } - return success; + return success; } SWIGINTERN void SWIG_Lua_add_class_user_metamethods(lua_State *L, swig_lua_class *clss) @@ -2504,7 +2516,17 @@ SWIGRUNTIME int SWIG_Lua_ConvertPtr(lua_State *L,int { swig_lua_userdata *usr; swig_cast_info *cast; - if (lua_isnil(L,index)){*ptr=0; return SWIG_OK;} /* special case: lua nil => NULL pointer */ + /* special case: lua nil => NULL pointer */ + if (lua_isnil(L,index)) + { + *ptr=0; + return (flags & SWIG_POINTER_NO_NULL) ? SWIG_NullReferenceError : SWIG_OK; + } + if (lua_islightuserdata(L,index)) + { + *ptr=lua_touserdata(L,index); + return (flags & SWIG_POINTER_NO_NULL) ? SWIG_NullReferenceError : SWIG_OK; + } usr=(swig_lua_userdata*)lua_touserdata(L,index); /* get data */ if (usr) { @@ -2550,7 +2572,7 @@ SWIGRUNTIME void SWIG_Lua_NewPackedObj(lua_State *L,vo memcpy(raw->data,ptr,size); /* copy the data */ SWIG_Lua_AddMetatable(L,type); /* add metatable */ } - + /* converts a packed userdata. user for member fn pointers only */ SWIGRUNTIME int SWIG_Lua_ConvertPacked(lua_State *L,int index,void *ptr,size_t size,swig_type_info *type) { @@ -2599,7 +2621,7 @@ SWIG_Lua_InstallConstants(lua_State *L, swig_lua_const switch(constants[i].type) { case SWIG_LUA_INT: lua_pushstring(L,constants[i].name); - lua_pushinteger(L,(lua_Number)constants[i].lvalue); + lua_pushinteger(L,(lua_Integer)constants[i].lvalue); lua_rawset(L,-3); break; case SWIG_LUA_FLOAT: @@ -2610,7 +2632,7 @@ SWIG_Lua_InstallConstants(lua_State *L, swig_lua_const case SWIG_LUA_CHAR: lua_pushstring(L,constants[i].name); { - char c = constants[i].lvalue; + char c = (char)constants[i].lvalue; lua_pushlstring(L,&c,1); } lua_rawset(L,-3); @@ -2649,7 +2671,7 @@ Unfortunately lua keeps changing its APIs, so we need In lua 5.0.X it's lua_dostring() In lua 5.1.X it's luaL_dostring() */ -SWIGINTERN int +SWIGINTERN int SWIG_Lua_dostring(lua_State *L, const char *str) { int ok,top; if (str==0 || str[0]==0) return 0; /* nothing to do */ @@ -2664,7 +2686,7 @@ SWIG_Lua_dostring(lua_State *L, const char *str) { } lua_settop(L,top); /* restore the stack */ return ok; -} +} #ifdef __cplusplus } @@ -2698,87 +2720,87 @@ SWIG_Lua_dostring(lua_State *L, const char *str) { #define SWIGTYPE_p_lldb__SBData swig_types[20] #define SWIGTYPE_p_lldb__SBDebugger swig_types[21] #define SWIGTYPE_p_lldb__SBDeclaration swig_types[22] -#define SWIGTYPE_p_lldb__SBError swig_types[23] -#define SWIGTYPE_p_lldb__SBEvent swig_types[24] -#define SWIGTYPE_p_lldb__SBExecutionContext swig_types[25] -#define SWIGTYPE_p_lldb__SBExpressionOptions swig_types[26] -#define SWIGTYPE_p_lldb__SBFile swig_types[27] -#define SWIGTYPE_p_lldb__SBFileSpec swig_types[28] -#define SWIGTYPE_p_lldb__SBFileSpecList swig_types[29] -#define SWIGTYPE_p_lldb__SBFrame swig_types[30] -#define SWIGTYPE_p_lldb__SBFunction swig_types[31] -#define SWIGTYPE_p_lldb__SBHostOS swig_types[32] -#define SWIGTYPE_p_lldb__SBInstruction swig_types[33] -#define SWIGTYPE_p_lldb__SBInstructionList swig_types[34] -#define SWIGTYPE_p_lldb__SBLanguageRuntime swig_types[35] -#define SWIGTYPE_p_lldb__SBLaunchInfo swig_types[36] -#define SWIGTYPE_p_lldb__SBLineEntry swig_types[37] -#define SWIGTYPE_p_lldb__SBListener swig_types[38] -#define SWIGTYPE_p_lldb__SBMemoryRegionInfo swig_types[39] -#define SWIGTYPE_p_lldb__SBMemoryRegionInfoList swig_types[40] -#define SWIGTYPE_p_lldb__SBModule swig_types[41] -#define SWIGTYPE_p_lldb__SBModuleSpec swig_types[42] -#define SWIGTYPE_p_lldb__SBModuleSpecList swig_types[43] -#define SWIGTYPE_p_lldb__SBPlatform swig_types[44] -#define SWIGTYPE_p_lldb__SBPlatformConnectOptions swig_types[45] -#define SWIGTYPE_p_lldb__SBPlatformShellCommand swig_types[46] -#define SWIGTYPE_p_lldb__SBProcess swig_types[47] -#define SWIGTYPE_p_lldb__SBProcessInfo swig_types[48] -#define SWIGTYPE_p_lldb__SBQueue swig_types[49] -#define SWIGTYPE_p_lldb__SBQueueItem swig_types[50] -#define SWIGTYPE_p_lldb__SBSection swig_types[51] -#define SWIGTYPE_p_lldb__SBSourceManager swig_types[52] -#define SWIGTYPE_p_lldb__SBStream swig_types[53] -#define SWIGTYPE_p_lldb__SBStringList swig_types[54] -#define SWIGTYPE_p_lldb__SBStructuredData swig_types[55] -#define SWIGTYPE_p_lldb__SBSymbol swig_types[56] -#define SWIGTYPE_p_lldb__SBSymbolContext swig_types[57] -#define SWIGTYPE_p_lldb__SBSymbolContextList swig_types[58] -#define SWIGTYPE_p_lldb__SBTarget swig_types[59] -#define SWIGTYPE_p_lldb__SBThread swig_types[60] -#define SWIGTYPE_p_lldb__SBThreadCollection swig_types[61] -#define SWIGTYPE_p_lldb__SBThreadPlan swig_types[62] -#define SWIGTYPE_p_lldb__SBTrace swig_types[63] -#define SWIGTYPE_p_lldb__SBTraceOptions swig_types[64] -#define SWIGTYPE_p_lldb__SBType swig_types[65] -#define SWIGTYPE_p_lldb__SBTypeCategory swig_types[66] -#define SWIGTYPE_p_lldb__SBTypeEnumMember swig_types[67] -#define SWIGTYPE_p_lldb__SBTypeEnumMemberList swig_types[68] -#define SWIGTYPE_p_lldb__SBTypeFilter swig_types[69] -#define SWIGTYPE_p_lldb__SBTypeFormat swig_types[70] -#define SWIGTYPE_p_lldb__SBTypeList swig_types[71] -#define SWIGTYPE_p_lldb__SBTypeMember swig_types[72] -#define SWIGTYPE_p_lldb__SBTypeMemberFunction swig_types[73] -#define SWIGTYPE_p_lldb__SBTypeNameSpecifier swig_types[74] -#define SWIGTYPE_p_lldb__SBTypeSummary swig_types[75] -#define SWIGTYPE_p_lldb__SBTypeSummaryOptions swig_types[76] -#define SWIGTYPE_p_lldb__SBTypeSynthetic swig_types[77] -#define SWIGTYPE_p_lldb__SBUnixSignals swig_types[78] -#define SWIGTYPE_p_lldb__SBValue swig_types[79] -#define SWIGTYPE_p_lldb__SBValueList swig_types[80] -#define SWIGTYPE_p_lldb__SBVariablesOptions swig_types[81] -#define SWIGTYPE_p_lldb__SBWatchpoint swig_types[82] -#define SWIGTYPE_p_lldb_private__SharingPtrT_lldb_private__ValueObject_t swig_types[83] -#define SWIGTYPE_p_long_double swig_types[84] -#define SWIGTYPE_p_long_long swig_types[85] -#define SWIGTYPE_p_p_char swig_types[86] -#define SWIGTYPE_p_p_void swig_types[87] -#define SWIGTYPE_p_pthread_rwlock_t swig_types[88] -#define SWIGTYPE_p_pthread_t swig_types[89] -#define SWIGTYPE_p_short swig_types[90] -#define SWIGTYPE_p_signed_char swig_types[91] -#define SWIGTYPE_p_size_t swig_types[92] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ABI_t swig_types[93] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Baton_t swig_types[94] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Block_t swig_types[95] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__BreakpointLocation_t swig_types[96] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__BreakpointPrecondition_t swig_types[97] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__BreakpointResolver_t swig_types[98] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__BreakpointSite_t swig_types[99] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Breakpoint_t swig_types[100] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__BroadcasterManager_t swig_types[101] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Broadcaster_t swig_types[102] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ClangASTImporter_t swig_types[103] +#define SWIGTYPE_p_lldb__SBEnvironment swig_types[23] +#define SWIGTYPE_p_lldb__SBError swig_types[24] +#define SWIGTYPE_p_lldb__SBEvent swig_types[25] +#define SWIGTYPE_p_lldb__SBExecutionContext swig_types[26] +#define SWIGTYPE_p_lldb__SBExpressionOptions swig_types[27] +#define SWIGTYPE_p_lldb__SBFile swig_types[28] +#define SWIGTYPE_p_lldb__SBFileSpec swig_types[29] +#define SWIGTYPE_p_lldb__SBFileSpecList swig_types[30] +#define SWIGTYPE_p_lldb__SBFrame swig_types[31] +#define SWIGTYPE_p_lldb__SBFunction swig_types[32] +#define SWIGTYPE_p_lldb__SBHostOS swig_types[33] +#define SWIGTYPE_p_lldb__SBInstruction swig_types[34] +#define SWIGTYPE_p_lldb__SBInstructionList swig_types[35] +#define SWIGTYPE_p_lldb__SBLanguageRuntime swig_types[36] +#define SWIGTYPE_p_lldb__SBLaunchInfo swig_types[37] +#define SWIGTYPE_p_lldb__SBLineEntry swig_types[38] +#define SWIGTYPE_p_lldb__SBListener swig_types[39] +#define SWIGTYPE_p_lldb__SBMemoryRegionInfo swig_types[40] +#define SWIGTYPE_p_lldb__SBMemoryRegionInfoList swig_types[41] +#define SWIGTYPE_p_lldb__SBModule swig_types[42] +#define SWIGTYPE_p_lldb__SBModuleSpec swig_types[43] +#define SWIGTYPE_p_lldb__SBModuleSpecList swig_types[44] +#define SWIGTYPE_p_lldb__SBPlatform swig_types[45] +#define SWIGTYPE_p_lldb__SBPlatformConnectOptions swig_types[46] +#define SWIGTYPE_p_lldb__SBPlatformShellCommand swig_types[47] +#define SWIGTYPE_p_lldb__SBProcess swig_types[48] +#define SWIGTYPE_p_lldb__SBProcessInfo swig_types[49] +#define SWIGTYPE_p_lldb__SBQueue swig_types[50] +#define SWIGTYPE_p_lldb__SBQueueItem swig_types[51] +#define SWIGTYPE_p_lldb__SBReproducer swig_types[52] +#define SWIGTYPE_p_lldb__SBSection swig_types[53] +#define SWIGTYPE_p_lldb__SBSourceManager swig_types[54] +#define SWIGTYPE_p_lldb__SBStream swig_types[55] +#define SWIGTYPE_p_lldb__SBStringList swig_types[56] +#define SWIGTYPE_p_lldb__SBStructuredData swig_types[57] +#define SWIGTYPE_p_lldb__SBSymbol swig_types[58] +#define SWIGTYPE_p_lldb__SBSymbolContext swig_types[59] +#define SWIGTYPE_p_lldb__SBSymbolContextList swig_types[60] +#define SWIGTYPE_p_lldb__SBTarget swig_types[61] +#define SWIGTYPE_p_lldb__SBThread swig_types[62] +#define SWIGTYPE_p_lldb__SBThreadCollection swig_types[63] +#define SWIGTYPE_p_lldb__SBThreadPlan swig_types[64] +#define SWIGTYPE_p_lldb__SBTrace swig_types[65] +#define SWIGTYPE_p_lldb__SBTraceOptions swig_types[66] +#define SWIGTYPE_p_lldb__SBType swig_types[67] +#define SWIGTYPE_p_lldb__SBTypeCategory swig_types[68] +#define SWIGTYPE_p_lldb__SBTypeEnumMember swig_types[69] +#define SWIGTYPE_p_lldb__SBTypeEnumMemberList swig_types[70] +#define SWIGTYPE_p_lldb__SBTypeFilter swig_types[71] +#define SWIGTYPE_p_lldb__SBTypeFormat swig_types[72] +#define SWIGTYPE_p_lldb__SBTypeList swig_types[73] +#define SWIGTYPE_p_lldb__SBTypeMember swig_types[74] +#define SWIGTYPE_p_lldb__SBTypeMemberFunction swig_types[75] +#define SWIGTYPE_p_lldb__SBTypeNameSpecifier swig_types[76] +#define SWIGTYPE_p_lldb__SBTypeSummary swig_types[77] +#define SWIGTYPE_p_lldb__SBTypeSummaryOptions swig_types[78] +#define SWIGTYPE_p_lldb__SBTypeSynthetic swig_types[79] +#define SWIGTYPE_p_lldb__SBUnixSignals swig_types[80] +#define SWIGTYPE_p_lldb__SBValue swig_types[81] +#define SWIGTYPE_p_lldb__SBValueList swig_types[82] +#define SWIGTYPE_p_lldb__SBVariablesOptions swig_types[83] +#define SWIGTYPE_p_lldb__SBWatchpoint swig_types[84] +#define SWIGTYPE_p_long_double swig_types[85] +#define SWIGTYPE_p_long_long swig_types[86] +#define SWIGTYPE_p_p_char swig_types[87] +#define SWIGTYPE_p_p_void swig_types[88] +#define SWIGTYPE_p_pthread_rwlock_t swig_types[89] +#define SWIGTYPE_p_pthread_t swig_types[90] +#define SWIGTYPE_p_short swig_types[91] +#define SWIGTYPE_p_signed_char swig_types[92] +#define SWIGTYPE_p_size_t swig_types[93] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ABI_t swig_types[94] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Baton_t swig_types[95] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Block_t swig_types[96] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__BreakpointLocation_t swig_types[97] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__BreakpointPrecondition_t swig_types[98] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__BreakpointResolver_t swig_types[99] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__BreakpointSite_t swig_types[100] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Breakpoint_t swig_types[101] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__BroadcasterManager_t swig_types[102] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Broadcaster_t swig_types[103] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__CommandObject_t swig_types[104] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Communication_t swig_types[105] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__CompileUnit_t swig_types[106] @@ -2886,55 +2908,53 @@ SWIG_Lua_dostring(lua_State *L, const char *str) { #define SWIGTYPE_p_std__shared_ptrT_lldb_private__UtilityFunction_t swig_types[208] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__ValueList_t swig_types[209] #define SWIGTYPE_p_std__shared_ptrT_lldb_private__ValueObjectList_t swig_types[210] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Value_t swig_types[211] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__VariableList_t swig_types[212] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Variable_t swig_types[213] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Watchpoint_t swig_types[214] -#define SWIGTYPE_p_std__string swig_types[215] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__ClangASTContext_t swig_types[216] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__ClangModulesDeclVendor_t swig_types[217] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__ClangPersistentVariables_t swig_types[218] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__DynamicCheckerFunctions_t swig_types[219] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__DynamicLoader_t swig_types[220] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__File_t swig_types[221] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__JITLoaderList_t swig_types[222] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__MemoryRegionInfo_t swig_types[223] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__OperatingSystem_t swig_types[224] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__ScriptInterpreter_t swig_types[225] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__SectionList_t swig_types[226] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__SourceManager_t swig_types[227] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__StackFrame_t swig_types[228] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__StructuredDataImpl_t swig_types[229] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__SymbolVendor_t swig_types[230] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__SystemRuntime_t swig_types[231] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__BreakpointLocation_t swig_types[232] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__BreakpointSite_t swig_types[233] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Breakpoint_t swig_types[234] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__BroadcasterManager_t swig_types[235] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Debugger_t swig_types[236] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Listener_t swig_types[237] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Module_t swig_types[238] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__ObjectFileJITDelegate_t swig_types[239] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__ObjectFile_t swig_types[240] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__OptionValue_t swig_types[241] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Process_t swig_types[242] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Queue_t swig_types[243] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Section_t swig_types[244] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__StackFrame_t swig_types[245] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Stream_t swig_types[246] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__StructuredDataPlugin_t swig_types[247] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__SymbolFileType_t swig_types[248] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Target_t swig_types[249] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Thread_t swig_types[250] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Type_t swig_types[251] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__UnixSignals_t swig_types[252] -#define SWIGTYPE_p_unsigned_char swig_types[253] -#define SWIGTYPE_p_unsigned_int swig_types[254] -#define SWIGTYPE_p_unsigned_long_long swig_types[255] -#define SWIGTYPE_p_unsigned_short swig_types[256] -#define SWIGTYPE_p_void swig_types[257] -static swig_type_info *swig_types[259]; -static swig_module_info swig_module = {swig_types, 258, 0, 0, 0, 0}; +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ValueObject_t swig_types[211] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Value_t swig_types[212] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__VariableList_t swig_types[213] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Variable_t swig_types[214] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Watchpoint_t swig_types[215] +#define SWIGTYPE_p_std__string swig_types[216] +#define SWIGTYPE_p_std__unique_ptrT_lldb_private__DynamicCheckerFunctions_t swig_types[217] +#define SWIGTYPE_p_std__unique_ptrT_lldb_private__DynamicLoader_t swig_types[218] +#define SWIGTYPE_p_std__unique_ptrT_lldb_private__File_t swig_types[219] +#define SWIGTYPE_p_std__unique_ptrT_lldb_private__JITLoaderList_t swig_types[220] +#define SWIGTYPE_p_std__unique_ptrT_lldb_private__MemoryRegionInfo_t swig_types[221] +#define SWIGTYPE_p_std__unique_ptrT_lldb_private__OperatingSystem_t swig_types[222] +#define SWIGTYPE_p_std__unique_ptrT_lldb_private__ScriptInterpreter_t swig_types[223] +#define SWIGTYPE_p_std__unique_ptrT_lldb_private__SectionList_t swig_types[224] +#define SWIGTYPE_p_std__unique_ptrT_lldb_private__SourceManager_t swig_types[225] +#define SWIGTYPE_p_std__unique_ptrT_lldb_private__StackFrame_t swig_types[226] +#define SWIGTYPE_p_std__unique_ptrT_lldb_private__StructuredDataImpl_t swig_types[227] +#define SWIGTYPE_p_std__unique_ptrT_lldb_private__SymbolVendor_t swig_types[228] +#define SWIGTYPE_p_std__unique_ptrT_lldb_private__SystemRuntime_t swig_types[229] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__BreakpointLocation_t swig_types[230] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__BreakpointSite_t swig_types[231] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Breakpoint_t swig_types[232] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__BroadcasterManager_t swig_types[233] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Debugger_t swig_types[234] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Listener_t swig_types[235] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Module_t swig_types[236] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__ObjectFileJITDelegate_t swig_types[237] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__ObjectFile_t swig_types[238] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__OptionValue_t swig_types[239] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Process_t swig_types[240] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Queue_t swig_types[241] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Section_t swig_types[242] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__StackFrame_t swig_types[243] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Stream_t swig_types[244] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__StructuredDataPlugin_t swig_types[245] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__SymbolFileType_t swig_types[246] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Target_t swig_types[247] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Thread_t swig_types[248] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Type_t swig_types[249] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__UnixSignals_t swig_types[250] +#define SWIGTYPE_p_unsigned_char swig_types[251] +#define SWIGTYPE_p_unsigned_int swig_types[252] +#define SWIGTYPE_p_unsigned_long_long swig_types[253] +#define SWIGTYPE_p_unsigned_short swig_types[254] +#define SWIGTYPE_p_void swig_types[255] +static swig_type_info *swig_types[257]; +static swig_module_info swig_module = {swig_types, 256, 0, 0, 0, 0}; #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) @@ -3132,18 +3152,20 @@ SWIGINTERN void SWIG_write_ptr_array(lua_State* L,void #include "lldb/API/SBBreakpointName.h" #include "lldb/API/SBBroadcaster.h" #include "lldb/API/SBCommandInterpreter.h" +#include "lldb/API/SBCommandInterpreterRunOptions.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/SBEnvironment.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/SBFile.h" +#include "lldb/API/SBFileSpec.h" #include "lldb/API/SBFileSpecList.h" #include "lldb/API/SBFrame.h" #include "lldb/API/SBFunction.h" @@ -3163,6 +3185,7 @@ SWIGINTERN void SWIG_write_ptr_array(lua_State* L,void #include "lldb/API/SBProcessInfo.h" #include "lldb/API/SBQueue.h" #include "lldb/API/SBQueueItem.h" +#include "lldb/API/SBReproducer.h" #include "lldb/API/SBSection.h" #include "lldb/API/SBSourceManager.h" #include "lldb/API/SBStream.h" @@ -3185,11 +3208,11 @@ SWIGINTERN void SWIG_write_ptr_array(lua_State* L,void #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/SBUnixSignals.h" using namespace lldb_private; @@ -3455,9 +3478,6 @@ SWIGINTERN std::string lldb_SBSection___str__(lldb::SB } return std::string(desc, desc_len); } -SWIGINTERN void lldb_SBStream_Print(lldb::SBStream *self,char const *str){ - self->Printf("%s", str); - } SWIGINTERN void lldb_SBStream_RedirectToFileHandle(lldb::SBStream *self,lldb::FileSP file,bool transfer_fh_ownership){ self->RedirectToFile(file); } @@ -4027,7 +4047,7 @@ static int _wrap_new_SBAddress(lua_State* L) { int _v; { void *ptr; - if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBAddress, 0)) { + if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBAddress, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; @@ -4041,7 +4061,7 @@ static int _wrap_new_SBAddress(lua_State* L) { int _v; { void *ptr; - if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBSection, 0)) { + if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBSection, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; @@ -4064,7 +4084,7 @@ static int _wrap_new_SBAddress(lua_State* L) { if (_v) { { void *ptr; - if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { + if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; @@ -4772,7 +4792,7 @@ static int _wrap_new_SBAttachInfo(lua_State* L) { int _v; { void *ptr; - if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBAttachInfo, 0)) { + if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBAttachInfo, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; @@ -4964,7 +4984,7 @@ static int _wrap_SBAttachInfo_SetExecutable(lua_State* if (_v) { { void *ptr; - if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpec, 0)) { + if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpec, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; @@ -5853,7 +5873,7 @@ static int _wrap_new_SBBlock(lua_State* L) { int _v; { void *ptr; - if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBlock, 0)) { + if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBlock, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; @@ -6386,7 +6406,7 @@ static int _wrap_SBBlock_GetVariables(lua_State* L) { if (_v) { { void *ptr; - if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { + if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; @@ -6425,7 +6445,7 @@ static int _wrap_SBBlock_GetVariables(lua_State* L) { if (_v) { { void *ptr; - if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) { + if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; @@ -6609,7 +6629,7 @@ static int _wrap_new_SBBreakpoint(lua_State* L) { int _v; { void *ptr; - if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpoint, 0)) { + if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpoint, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; @@ -7454,7 +7474,7 @@ static int _wrap_SBBreakpoint_SetScriptCallbackFunctio if (_v) { { void *ptr; - if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, 0)) { + if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; @@ -7593,6 +7613,36 @@ fail: } +static int _wrap_SBBreakpoint_AddNameWithErrorHandling(lua_State* L) { + int SWIG_arg = 0; + lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBBreakpoint::AddNameWithErrorHandling",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::AddNameWithErrorHandling",1,"lldb::SBBreakpoint *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::AddNameWithErrorHandling",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){ + SWIG_fail_ptr("SBBreakpoint_AddNameWithErrorHandling",1,SWIGTYPE_p_lldb__SBBreakpoint); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (arg1)->AddNameWithErrorHandling((char const *)arg2); + { + lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + if(0) SWIG_fail; + +fail: + lua_error(L); + return SWIG_arg; +} + + static int _wrap_SBBreakpoint_RemoveName(lua_State* L) { int SWIG_arg = 0; lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ; @@ -7809,7 +7859,7 @@ static int _wrap_SBBreakpoint_GetDescription(lua_State if (_v) { { void *ptr; - if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBStream, 0)) { + if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBStream, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; @@ -7833,7 +7883,7 @@ static int _wrap_SBBreakpoint_GetDescription(lua_State if (_v) { { void *ptr; - if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBStream, 0)) { + if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBStream, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; @@ -8119,6 +8169,7 @@ static swig_lua_method swig_SBBreakpoint_methods[]= { { "SetCommandLineCommands", _wrap_SBBreakpoint_SetCommandLineCommands}, { "GetCommandLineCommands", _wrap_SBBreakpoint_GetCommandLineCommands}, { "AddName", _wrap_SBBreakpoint_AddName}, + { "AddNameWithErrorHandling", _wrap_SBBreakpoint_AddNameWithErrorHandling}, { "RemoveName", _wrap_SBBreakpoint_RemoveName}, { "MatchesName", _wrap_SBBreakpoint_MatchesName}, { "GetNames", _wrap_SBBreakpoint_GetNames}, @@ -8494,7 +8545,7 @@ static int _wrap_new_SBBreakpointLocation(lua_State* L int _v; { void *ptr; - if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpointLocation, 0)) { + if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpointLocation, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; @@ -8943,7 +8994,7 @@ static int _wrap_SBBreakpointLocation_SetScriptCallbac if (_v) { { void *ptr; - if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, 0)) { + if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; @@ -9551,7 +9602,7 @@ static int _wrap_new_SBBreakpointName(lua_State* L) { int _v; { void *ptr; - if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpointName, 0)) { + if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpointName, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; @@ -9565,7 +9616,7 @@ static int _wrap_new_SBBreakpointName(lua_State* L) { int _v; { void *ptr; - if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpoint, 0)) { + if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpoint, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; @@ -9584,7 +9635,7 @@ static int _wrap_new_SBBreakpointName(lua_State* L) { int _v; { void *ptr; - if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) { + if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; @@ -10247,7 +10298,7 @@ static int _wrap_SBBreakpointName_SetScriptCallbackFun if (_v) { { void *ptr; - if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, 0)) { + if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; @@ -10773,7 +10824,7 @@ static int _wrap_new_SBBroadcaster(lua_State* L) { int _v; { void *ptr; - if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBroadcaster, 0)) { + if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBroadcaster, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; @@ -11048,7 +11099,7 @@ static int _wrap_SBBroadcaster_BroadcastEvent(lua_Stat if (_v) { { void *ptr; - if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBEvent, 0)) { + if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBEvent, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; @@ -11072,7 +11123,7 @@ static int _wrap_SBBroadcaster_BroadcastEvent(lua_Stat if (_v) { { void *ptr; - if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBEvent, 0)) { + if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBEvent, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; @@ -11304,7 +11355,7 @@ static int _wrap_SBBroadcaster_RemoveListener(lua_Stat if (_v) { { void *ptr; - if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBListener, 0)) { + if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBListener, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; @@ -11328,7 +11379,7 @@ static int _wrap_SBBroadcaster_RemoveListener(lua_Stat if (_v) { { void *ptr; - if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBListener, 0)) { + if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBListener, SWIG_POINTER_NO_NULL)) { _v = 0; } else { _v = 1; @@ -11442,382 +11493,6 @@ static swig_lua_class *swig_SBBroadcaster_bases[] = {0 static const char *swig_SBBroadcaster_base_names[] = {0}; static swig_lua_class _wrap_class_SBBroadcaster = { "SBBroadcaster", "SBBroadcaster", &SWIGTYPE_p_lldb__SBBroadcaster,_proxy__wrap_new_SBBroadcaster, swig_delete_SBBroadcaster, swig_SBBroadcaster_methods, swig_SBBroadcaster_attributes, &swig_SBBroadcaster_Sf_SwigStatic, swig_SBBroadcaster_meta, swig_SBBroadcaster_bases, swig_SBBroadcaster_base_names }; -static int _wrap_new_SBCommandInterpreterRunOptions(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreterRunOptions *result = 0 ; - - SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::SBCommandInterpreterRunOptions",0,0) - result = (lldb::SBCommandInterpreterRunOptions *)new lldb::SBCommandInterpreterRunOptions(); - SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,1); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: - lua_error(L); - return SWIG_arg; -} - - -static int _wrap_SBCommandInterpreterRunOptions_GetStopOnContinue(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::GetStopOnContinue",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::GetStopOnContinue",1,"lldb::SBCommandInterpreterRunOptions const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){ - SWIG_fail_ptr("SBCommandInterpreterRunOptions_GetStopOnContinue",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions); - } - - result = (bool)((lldb::SBCommandInterpreterRunOptions const *)arg1)->GetStopOnContinue(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: - lua_error(L); - return SWIG_arg; -} - - -static int _wrap_SBCommandInterpreterRunOptions_SetStopOnContinue(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::SetStopOnContinue",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetStopOnContinue",1,"lldb::SBCommandInterpreterRunOptions *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetStopOnContinue",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){ - SWIG_fail_ptr("SBCommandInterpreterRunOptions_SetStopOnContinue",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions); - } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetStopOnContinue(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: - lua_error(L); - return SWIG_arg; -} - - -static int _wrap_SBCommandInterpreterRunOptions_GetStopOnError(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::GetStopOnError",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::GetStopOnError",1,"lldb::SBCommandInterpreterRunOptions const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){ - SWIG_fail_ptr("SBCommandInterpreterRunOptions_GetStopOnError",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions); - } - - result = (bool)((lldb::SBCommandInterpreterRunOptions const *)arg1)->GetStopOnError(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: - lua_error(L); - return SWIG_arg; -} - - -static int _wrap_SBCommandInterpreterRunOptions_SetStopOnError(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ; - bool arg2 ; - - SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::SetStopOnError",2,2) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetStopOnError",1,"lldb::SBCommandInterpreterRunOptions *"); - if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetStopOnError",2,"bool"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){ - SWIG_fail_ptr("SBCommandInterpreterRunOptions_SetStopOnError",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions); - } - - arg2 = (lua_toboolean(L, 2)!=0); - (arg1)->SetStopOnError(arg2); - - return SWIG_arg; - - if(0) SWIG_fail; - -fail: - lua_error(L); - return SWIG_arg; -} - - -static int _wrap_SBCommandInterpreterRunOptions_GetStopOnCrash(lua_State* L) { - int SWIG_arg = 0; - lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ; - bool result; - - SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::GetStopOnCrash",1,1) - if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::GetStopOnCrash",1,"lldb::SBCommandInterpreterRunOptions const *"); - - if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){ - SWIG_fail_ptr("SBCommandInterpreterRunOptions_GetStopOnCrash",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions); - } - - result = (bool)((lldb::SBCommandInterpreterRunOptions const *)arg1)->GetStopOnCrash(); - lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; - return SWIG_arg; - - if(0) SWIG_fail; - -fail: *** DIFF OUTPUT TRUNCATED AT 1000 LINES *** From owner-svn-src-projects@freebsd.org Thu Aug 6 19:30:02 2020 Return-Path: Delivered-To: svn-src-projects@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 42F7D3A9546 for ; Thu, 6 Aug 2020 19:30:02 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BMz8p1LQcz4VXG; Thu, 6 Aug 2020 19:30:02 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0D2F3B9E5; Thu, 6 Aug 2020 19:30:02 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 076JU17T065150; Thu, 6 Aug 2020 19:30:01 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 076JU02A065142; Thu, 6 Aug 2020 19:30:00 GMT (envelope-from dim@FreeBSD.org) Message-Id: <202008061930.076JU02A065142@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Thu, 6 Aug 2020 19:30:00 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r363984 - in projects/clang1100-import: etc/mtree lib/clang/headers lib/clang/libclang lib/clang/liblldb lib/clang/libllvm lib/clang/libllvmminimal lib/libclang_rt usr.bin/clang/clang-t... X-SVN-Group: projects X-SVN-Commit-Author: dim X-SVN-Commit-Paths: in projects/clang1100-import: etc/mtree lib/clang/headers lib/clang/libclang lib/clang/liblldb lib/clang/libllvm lib/clang/libllvmminimal lib/libclang_rt usr.bin/clang/clang-tblgen usr.bin/clang/lld u... X-SVN-Commit-Revision: 363984 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Aug 2020 19:30:02 -0000 Author: dim Date: Thu Aug 6 19:30:00 2020 New Revision: 363984 URL: https://svnweb.freebsd.org/changeset/base/363984 Log: Update Makefiles under lib/clang and usr.bin/clang for 11.0.0 builds, and also bump the version in the mtree files. Modified: projects/clang1100-import/etc/mtree/BSD.debug.dist projects/clang1100-import/etc/mtree/BSD.usr.dist projects/clang1100-import/lib/clang/headers/Makefile projects/clang1100-import/lib/clang/libclang/Makefile projects/clang1100-import/lib/clang/liblldb/Makefile projects/clang1100-import/lib/clang/libllvm/Makefile projects/clang1100-import/lib/clang/libllvmminimal/Makefile projects/clang1100-import/lib/libclang_rt/Makefile.inc projects/clang1100-import/usr.bin/clang/clang-tblgen/Makefile projects/clang1100-import/usr.bin/clang/lld/Makefile projects/clang1100-import/usr.bin/clang/llvm-dwarfdump/Makefile projects/clang1100-import/usr.bin/clang/llvm-objcopy/Makefile projects/clang1100-import/usr.bin/clang/llvm-objdump/Makefile projects/clang1100-import/usr.bin/clang/llvm-tblgen/Makefile Modified: projects/clang1100-import/etc/mtree/BSD.debug.dist ============================================================================== --- projects/clang1100-import/etc/mtree/BSD.debug.dist Thu Aug 6 19:28:00 2020 (r363983) +++ projects/clang1100-import/etc/mtree/BSD.debug.dist Thu Aug 6 19:30:00 2020 (r363984) @@ -31,7 +31,7 @@ .. lib clang - 10.0.1 + 11.0.0 lib freebsd .. Modified: projects/clang1100-import/etc/mtree/BSD.usr.dist ============================================================================== --- projects/clang1100-import/etc/mtree/BSD.usr.dist Thu Aug 6 19:28:00 2020 (r363983) +++ projects/clang1100-import/etc/mtree/BSD.usr.dist Thu Aug 6 19:30:00 2020 (r363984) @@ -37,7 +37,7 @@ aout .. clang - 10.0.1 + 11.0.0 include cuda_wrappers .. Modified: projects/clang1100-import/lib/clang/headers/Makefile ============================================================================== --- projects/clang1100-import/lib/clang/headers/Makefile Thu Aug 6 19:28:00 2020 (r363983) +++ projects/clang1100-import/lib/clang/headers/Makefile Thu Aug 6 19:30:00 2020 (r363984) @@ -1,4 +1,3 @@ - # $FreeBSD$ .include "../clang.pre.mk" @@ -6,29 +5,30 @@ .PATH: ${CLANG_SRCS}/lib/Headers INCSGROUPS= INCS CUDA OMP PPC -INCSDIR= ${LIBDIR}/clang/10.0.1/include +INCSDIR= ${LIBDIR}/clang/11.0.0/include CUDADIR= ${INCSDIR}/cuda_wrappers OMPDIR= ${INCSDIR}/openmp_wrappers PPCDIR= ${INCSDIR}/ppc_wrappers -GENINCS+= arm_fp16.h -GENINCS+= arm_mve.h -GENINCS+= arm_neon.h - INCS+= __clang_cuda_builtin_vars.h INCS+= __clang_cuda_cmath.h INCS+= __clang_cuda_complex_builtins.h INCS+= __clang_cuda_device_functions.h INCS+= __clang_cuda_intrinsics.h INCS+= __clang_cuda_libdevice_declares.h +INCS+= __clang_cuda_math.h INCS+= __clang_cuda_math_forward_declares.h INCS+= __clang_cuda_runtime_wrapper.h +INCS+= __clang_hip_libdevice_declares.h +INCS+= __clang_hip_math.h +INCS+= __clang_hip_runtime_wrapper.h INCS+= __stddef_max_align_t.h INCS+= __wmmintrin_aes.h INCS+= __wmmintrin_pclmul.h INCS+= adxintrin.h INCS+= altivec.h INCS+= ammintrin.h +INCS+= amxintrin.h INCS+= arm64intr.h INCS+= arm_acle.h INCS+= arm_cmse.h @@ -63,6 +63,7 @@ INCS+= avx512vpopcntdqvlintrin.h INCS+= avxintrin.h INCS+= bmi2intrin.h INCS+= bmiintrin.h +INCS+= cet.h INCS+= cetintrin.h INCS+= cldemoteintrin.h INCS+= clflushoptintrin.h @@ -102,16 +103,19 @@ INCS+= ptwriteintrin.h INCS+= rdseedintrin.h INCS+= rtmintrin.h INCS+= s390intrin.h +INCS+= serializeintrin.h INCS+= sgxintrin.h INCS+= shaintrin.h INCS+= smmintrin.h INCS+= tbmintrin.h INCS+= tmmintrin.h +INCS+= tsxldtrkintrin.h INCS+= vadefs.h INCS+= vaesintrin.h INCS+= vecintrin.h INCS+= vpclmulqdqintrin.h INCS+= waitpkgintrin.h +INCS+= wasm_simd128.h INCS+= wbnoinvdintrin.h INCS+= wmmintrin.h INCS+= x86intrin.h @@ -125,7 +129,7 @@ INCS+= xtestintrin.h INCS+= ${GENINCS} # Headers which possibly conflict with our own versions: -.if defined(INSTALL_CONFLICTING_CLANG_HEADERS) +.ifdef INSTALL_CONFLICTING_CLANG_HEADERS INCS+= float.h INCS+= intrin.h INCS+= inttypes.h @@ -139,17 +143,20 @@ INCS+= stddef.h INCS+= stdint.h INCS+= stdnoreturn.h INCS+= tgmath.h +INCS+= unwind.h INCS+= varargs.h -.endif +.endif # INSTALL_CONFLICTING_CLANG_HEADERS CUDA+= cuda_wrappers/algorithm CUDA+= cuda_wrappers/complex CUDA+= cuda_wrappers/new -OMP+= openmp_wrappers/__clang_openmp_math.h -OMP+= openmp_wrappers/__clang_openmp_math_declares.h +OMP+= openmp_wrappers/__clang_openmp_device_functions.h OMP+= openmp_wrappers/cmath +OMP+= openmp_wrappers/complex +OMP+= openmp_wrappers/complex.h OMP+= openmp_wrappers/math.h +OMP+= openmp_wrappers/new PPC+= ppc_wrappers/emmintrin.h PPC+= ppc_wrappers/mm_malloc.h @@ -159,20 +166,13 @@ PPC+= ppc_wrappers/smmintrin.h PPC+= ppc_wrappers/tmmintrin.h PPC+= ppc_wrappers/xmmintrin.h -arm_fp16.h: ${CLANG_SRCS}/include/clang/Basic/arm_fp16.td - ${CLANG_TBLGEN} -gen-arm-fp16 \ +.for hdr in bf16/bf16 cde/cde-header fp16/fp16 mve/mve-header sve/sve-header +arm_${hdr:H}.h: ${CLANG_SRCS}/include/clang/Basic/arm_${hdr:H}.td + ${CLANG_TBLGEN} -gen-arm-${hdr:T} \ -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \ - -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_fp16.td - -arm_mve.h: ${CLANG_SRCS}/include/clang/Basic/arm_mve.td - ${CLANG_TBLGEN} -gen-arm-mve-header \ - -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \ - -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_mve.td - -arm_neon.h: ${CLANG_SRCS}/include/clang/Basic/arm_neon.td - ${CLANG_TBLGEN} -gen-arm-neon \ - -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \ - -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_neon.td + -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_${hdr:H}.td +GENINCS+= arm_${hdr:H}.h +.endfor CLEANFILES= ${GENINCS} ${GENINCS:C/$/.d/} Modified: projects/clang1100-import/lib/clang/libclang/Makefile ============================================================================== --- projects/clang1100-import/lib/clang/libclang/Makefile Thu Aug 6 19:28:00 2020 (r363983) +++ projects/clang1100-import/lib/clang/libclang/Makefile Thu Aug 6 19:30:00 2020 (r363984) @@ -65,6 +65,7 @@ SRCS_MIN+= AST/CommentLexer.cpp SRCS_MIN+= AST/CommentParser.cpp SRCS_MIN+= AST/CommentSema.cpp SRCS_MIN+= AST/ComparisonCategories.cpp +SRCS_MIN+= AST/ComputeDependence.cpp SRCS_FUL+= AST/DataCollection.cpp SRCS_MIN+= AST/Decl.cpp SRCS_MIN+= AST/DeclBase.cpp @@ -86,7 +87,6 @@ SRCS_LDB+= AST/ExternalASTMerger.cpp SRCS_MIN+= AST/ExternalASTSource.cpp SRCS_MIN+= AST/FormatString.cpp SRCS_MIN+= AST/InheritViz.cpp -SRCS_MIN+= AST/Interp/Block.cpp SRCS_MIN+= AST/Interp/ByteCodeEmitter.cpp SRCS_MIN+= AST/Interp/ByteCodeExprGen.cpp SRCS_MIN+= AST/Interp/ByteCodeGenError.cpp @@ -97,6 +97,7 @@ SRCS_MIN+= AST/Interp/EvalEmitter.cpp SRCS_MIN+= AST/Interp/Frame.cpp SRCS_MIN+= AST/Interp/Function.cpp SRCS_MIN+= AST/Interp/Interp.cpp +SRCS_MIN+= AST/Interp/InterpBlock.cpp SRCS_MIN+= AST/Interp/InterpFrame.cpp SRCS_MIN+= AST/Interp/InterpStack.cpp SRCS_MIN+= AST/Interp/InterpState.cpp @@ -118,6 +119,7 @@ SRCS_MIN+= AST/ODRHash.cpp SRCS_MIN+= AST/OSLog.cpp SRCS_MIN+= AST/OpenMPClause.cpp SRCS_MIN+= AST/ParentMap.cpp +SRCS_MIN+= AST/ParentMapContext.cpp SRCS_MIN+= AST/PrintfFormatString.cpp SRCS_MIN+= AST/QualTypeNames.cpp SRCS_MIN+= AST/RawCommentList.cpp @@ -177,6 +179,7 @@ SRCS_MIN+= Basic/Cuda.cpp SRCS_MIN+= Basic/Diagnostic.cpp SRCS_MIN+= Basic/DiagnosticIDs.cpp SRCS_MIN+= Basic/DiagnosticOptions.cpp +SRCS_MIN+= Basic/ExpressionTraits.cpp SRCS_MIN+= Basic/FileManager.cpp SRCS_MIN+= Basic/FileSystemStatCache.cpp SRCS_MIN+= Basic/FixedPoint.cpp @@ -215,10 +218,12 @@ SRCS_MIN+= Basic/Targets/SPIR.cpp SRCS_MIN+= Basic/Targets/Sparc.cpp SRCS_MIN+= Basic/Targets/SystemZ.cpp SRCS_MIN+= Basic/Targets/TCE.cpp +SRCS_MIN+= Basic/Targets/VE.cpp SRCS_MIN+= Basic/Targets/WebAssembly.cpp SRCS_MIN+= Basic/Targets/X86.cpp SRCS_MIN+= Basic/Targets/XCore.cpp SRCS_MIN+= Basic/TokenKinds.cpp +SRCS_MIN+= Basic/TypeTraits.cpp SRCS_MIN+= Basic/Version.cpp SRCS_MIN+= Basic/Warnings.cpp SRCS_MIN+= Basic/XRayInstr.cpp @@ -303,6 +308,7 @@ SRCS_MIN+= Driver/ToolChains/Arch/PPC.cpp SRCS_MIN+= Driver/ToolChains/Arch/RISCV.cpp SRCS_MIN+= Driver/ToolChains/Arch/Sparc.cpp SRCS_MIN+= Driver/ToolChains/Arch/SystemZ.cpp +SRCS_MIN+= Driver/ToolChains/Arch/VE.cpp SRCS_MIN+= Driver/ToolChains/Arch/X86.cpp SRCS_MIN+= Driver/ToolChains/BareMetal.cpp SRCS_MIN+= Driver/ToolChains/Clang.cpp @@ -337,6 +343,7 @@ SRCS_MIN+= Driver/ToolChains/PS4CPU.cpp SRCS_MIN+= Driver/ToolChains/RISCVToolchain.cpp SRCS_MIN+= Driver/ToolChains/Solaris.cpp SRCS_MIN+= Driver/ToolChains/TCE.cpp +SRCS_MIN+= Driver/ToolChains/VEToolchain.cpp SRCS_MIN+= Driver/ToolChains/WebAssembly.cpp SRCS_MIN+= Driver/ToolChains/XCore.cpp SRCS_MIN+= Driver/Types.cpp @@ -460,6 +467,7 @@ SRCS_MIN+= Sema/ScopeInfo.cpp SRCS_MIN+= Sema/Sema.cpp SRCS_MIN+= Sema/SemaAccess.cpp SRCS_MIN+= Sema/SemaAttr.cpp +SRCS_MIN+= Sema/SemaAvailability.cpp SRCS_MIN+= Sema/SemaCUDA.cpp SRCS_MIN+= Sema/SemaCXXScopeSpec.cpp SRCS_MIN+= Sema/SemaCast.cpp @@ -486,6 +494,7 @@ SRCS_MIN+= Sema/SemaObjCProperty.cpp SRCS_MIN+= Sema/SemaOpenMP.cpp SRCS_MIN+= Sema/SemaOverload.cpp SRCS_MIN+= Sema/SemaPseudoObject.cpp +SRCS_MIN+= Sema/SemaSYCL.cpp SRCS_MIN+= Sema/SemaStmt.cpp SRCS_MIN+= Sema/SemaStmtAsm.cpp SRCS_MIN+= Sema/SemaStmtAttr.cpp @@ -533,9 +542,11 @@ SRCS_FUL+= StaticAnalyzer/Checkers/CheckSecuritySyntax SRCS_FUL+= StaticAnalyzer/Checkers/CheckSizeofPointer.cpp SRCS_FUL+= StaticAnalyzer/Checkers/ChrootChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/CloneChecker.cpp +SRCS_FUL+= StaticAnalyzer/Checkers/ContainerModeling.cpp SRCS_FUL+= StaticAnalyzer/Checkers/ConversionChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/DeadStoresChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/DebugCheckers.cpp +SRCS_FUL+= StaticAnalyzer/Checkers/DebugContainerModeling.cpp SRCS_FUL+= StaticAnalyzer/Checkers/DebugIteratorModeling.cpp SRCS_FUL+= StaticAnalyzer/Checkers/DeleteWithNonVirtualDtorChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/DereferenceChecker.cpp @@ -599,7 +610,9 @@ SRCS_FUL+= StaticAnalyzer/Checkers/ReturnPointerRangeC SRCS_FUL+= StaticAnalyzer/Checkers/ReturnUndefChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/ReturnValueChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/RunLoopAutoreleaseLeakChecker.cpp +SRCS_FUL+= StaticAnalyzer/Checkers/STLAlgorithmModeling.cpp SRCS_FUL+= StaticAnalyzer/Checkers/SimpleStreamChecker.cpp +SRCS_FUL+= StaticAnalyzer/Checkers/SmartPtrChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/SmartPtrModeling.cpp SRCS_FUL+= StaticAnalyzer/Checkers/StackAddrEscapeChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp @@ -622,6 +635,12 @@ SRCS_FUL+= StaticAnalyzer/Checkers/VLASizeChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/ValistChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/VforkChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/VirtualCallChecker.cpp +SRCS_FUL+= StaticAnalyzer/Checkers/cert/PutenvWithAutoChecker.cpp +SRCS_FUL+= StaticAnalyzer/Checkers/WebKit/ASTUtils.cpp +SRCS_FUL+= StaticAnalyzer/Checkers/WebKit/NoUncountedMembersChecker.cpp +SRCS_FUL+= StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp +SRCS_FUL+= StaticAnalyzer/Checkers/WebKit/RefCntblBaseVirtualDtorChecker.cpp +SRCS_FUL+= StaticAnalyzer/Checkers/WebKit/UncountedCallArgsChecker.cpp SRCS_FUL+= StaticAnalyzer/Core/APSIntType.cpp SRCS_FUL+= StaticAnalyzer/Core/AnalysisManager.cpp SRCS_FUL+= StaticAnalyzer/Core/AnalyzerOptions.cpp @@ -634,9 +653,11 @@ SRCS_FUL+= StaticAnalyzer/Core/Checker.cpp SRCS_FUL+= StaticAnalyzer/Core/CheckerContext.cpp SRCS_FUL+= StaticAnalyzer/Core/CheckerHelpers.cpp SRCS_FUL+= StaticAnalyzer/Core/CheckerManager.cpp +SRCS_FUL+= StaticAnalyzer/Core/CheckerRegistryData.cpp SRCS_FUL+= StaticAnalyzer/Core/CommonBugCategories.cpp SRCS_FUL+= StaticAnalyzer/Core/ConstraintManager.cpp SRCS_FUL+= StaticAnalyzer/Core/CoreEngine.cpp +SRCS_FUL+= StaticAnalyzer/Core/DynamicSize.cpp SRCS_FUL+= StaticAnalyzer/Core/DynamicType.cpp SRCS_FUL+= StaticAnalyzer/Core/Environment.cpp SRCS_FUL+= StaticAnalyzer/Core/ExplodedGraph.cpp @@ -663,12 +684,13 @@ SRCS_FUL+= StaticAnalyzer/Core/SarifDiagnostics.cpp SRCS_FUL+= StaticAnalyzer/Core/SimpleConstraintManager.cpp SRCS_FUL+= StaticAnalyzer/Core/SimpleSValBuilder.cpp SRCS_FUL+= StaticAnalyzer/Core/Store.cpp -SRCS_FUL+= StaticAnalyzer/Core/SubEngine.cpp SRCS_FUL+= StaticAnalyzer/Core/SymbolManager.cpp +SRCS_FUL+= StaticAnalyzer/Core/TextDiagnostics.cpp SRCS_FUL+= StaticAnalyzer/Core/WorkList.cpp SRCS_FUL+= StaticAnalyzer/Frontend/AnalysisConsumer.cpp -SRCS_FUL+= StaticAnalyzer/Frontend/CheckerRegistration.cpp +SRCS_FUL+= StaticAnalyzer/Frontend/AnalyzerHelpFlags.cpp SRCS_FUL+= StaticAnalyzer/Frontend/CheckerRegistry.cpp +SRCS_FUL+= StaticAnalyzer/Frontend/CreateCheckerManager.cpp SRCS_FUL+= StaticAnalyzer/Frontend/FrontendActions.cpp SRCS_FUL+= StaticAnalyzer/Frontend/ModelConsumer.cpp SRCS_FUL+= StaticAnalyzer/Frontend/ModelInjector.cpp @@ -876,6 +898,32 @@ clang/Basic/arm_neon.inc: ${CLANG_SRCS}/include/clang/ -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_neon.td TGHDRS+= clang/Basic/arm_neon.inc +clang/Basic/arm_cde_builtins.inc: ${CLANG_SRCS}/include/clang/Basic/arm_cde.td + ${CLANG_TBLGEN} -gen-arm-cde-builtin-def \ + -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \ + -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_cde.td +TGHDRS+= clang/Basic/arm_cde_builtins.inc + +clang/Basic/arm_cde_builtin_aliases.inc: \ + ${CLANG_SRCS}/include/clang/Basic/arm_cde.td + ${CLANG_TBLGEN} -gen-arm-cde-builtin-aliases \ + -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \ + -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_cde.td +TGHDRS+= clang/Basic/arm_cde_builtin_aliases.inc + +clang/Basic/arm_cde_builtin_cg.inc: ${CLANG_SRCS}/include/clang/Basic/arm_cde.td + ${CLANG_TBLGEN} -gen-arm-cde-builtin-codegen \ + -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \ + -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_cde.td +TGHDRS+= clang/Basic/arm_cde_builtin_cg.inc + +clang/Basic/arm_cde_builtin_sema.inc: \ + ${CLANG_SRCS}/include/clang/Basic/arm_cde.td + ${CLANG_TBLGEN} -gen-arm-cde-builtin-sema \ + -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \ + -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_cde.td +TGHDRS+= clang/Basic/arm_cde_builtin_sema.inc + clang/Basic/arm_mve_builtins.inc: ${CLANG_SRCS}/include/clang/Basic/arm_mve.td ${CLANG_TBLGEN} -gen-arm-mve-builtin-def \ -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \ @@ -901,6 +949,32 @@ clang/Basic/arm_mve_builtin_sema.inc: \ -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \ -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_mve.td TGHDRS+= clang/Basic/arm_mve_builtin_sema.inc + +clang/Basic/arm_sve_builtins.inc: ${CLANG_SRCS}/include/clang/Basic/arm_sve.td + ${CLANG_TBLGEN} -gen-arm-sve-builtins \ + -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \ + -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_sve.td +TGHDRS+= clang/Basic/arm_sve_builtins.inc + +clang/Basic/arm_sve_builtin_cg.inc: ${CLANG_SRCS}/include/clang/Basic/arm_sve.td + ${CLANG_TBLGEN} -gen-arm-sve-builtin-codegen \ + -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \ + -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_sve.td +TGHDRS+= clang/Basic/arm_sve_builtin_cg.inc + +clang/Basic/arm_sve_sema_rangechecks.inc: \ + ${CLANG_SRCS}/include/clang/Basic/arm_sve.td + ${CLANG_TBLGEN} -gen-arm-sve-sema-rangechecks \ + -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \ + -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_sve.td +TGHDRS+= clang/Basic/arm_sve_sema_rangechecks.inc + +clang/Basic/arm_sve_typeflags.inc: \ + ${CLANG_SRCS}/include/clang/Basic/arm_sve.td + ${CLANG_TBLGEN} -gen-arm-sve-typeflags \ + -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \ + -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_sve.td +TGHDRS+= clang/Basic/arm_sve_typeflags.inc clang/Driver/Options.inc: ${CLANG_SRCS}/include/clang/Driver/Options.td ${LLVM_TBLGEN} -gen-opt-parser-defs \ Modified: projects/clang1100-import/lib/clang/liblldb/Makefile ============================================================================== --- projects/clang1100-import/lib/clang/liblldb/Makefile Thu Aug 6 19:28:00 2020 (r363983) +++ projects/clang1100-import/lib/clang/liblldb/Makefile Thu Aug 6 19:30:00 2020 (r363984) @@ -7,9 +7,9 @@ SRCDIR= lldb/source CFLAGS+= -I${LLDB_SRCS}/include CFLAGS+= -I${LLDB_SRCS}/source -CFLAGS+= -I${LLDB_SRCS}/source/Plugins/Process/FreeBSD -CFLAGS+= -I${LLDB_SRCS}/source/Plugins/Process/POSIX -CFLAGS+= -I${LLDB_SRCS}/source/Plugins/Process/Utility +#CFLAGS+= -I${LLDB_SRCS}/source/Plugins/Process/FreeBSD +#CFLAGS+= -I${LLDB_SRCS}/source/Plugins/Process/POSIX +#CFLAGS+= -I${LLDB_SRCS}/source/Plugins/Process/Utility CFLAGS+= -I${OBJTOP}/lib/clang/libllvm CFLAGS+= -I${OBJTOP}/lib/clang/libclang CFLAGS+= -I${OBJTOP}/lib/clang/liblldb @@ -25,12 +25,14 @@ SRCS+= API/SBBreakpointName.cpp SRCS+= API/SBBreakpointOptionCommon.cpp SRCS+= API/SBBroadcaster.cpp SRCS+= API/SBCommandInterpreter.cpp +SRCS+= API/SBCommandInterpreterRunOptions.cpp SRCS+= API/SBCommandReturnObject.cpp SRCS+= API/SBCommunication.cpp SRCS+= API/SBCompileUnit.cpp SRCS+= API/SBData.cpp SRCS+= API/SBDebugger.cpp SRCS+= API/SBDeclaration.cpp +SRCS+= API/SBEnvironment.cpp SRCS+= API/SBError.cpp SRCS+= API/SBEvent.cpp SRCS+= API/SBExecutionContext.cpp @@ -235,7 +237,6 @@ SRCS+= Host/common/Socket.cpp SRCS+= Host/common/SocketAddress.cpp SRCS+= Host/common/StringConvert.cpp SRCS+= Host/common/TCPSocket.cpp -SRCS+= Host/common/TaskPool.cpp SRCS+= Host/common/Terminal.cpp SRCS+= Host/common/ThreadLauncher.cpp SRCS+= Host/common/UDPSocket.cpp @@ -298,48 +299,60 @@ SRCS+= Interpreter/OptionValueUUID.cpp SRCS+= Interpreter/Options.cpp SRCS+= Interpreter/Property.cpp SRCS+= Interpreter/ScriptInterpreter.cpp -SRCS+= Plugins/ABI/SysV-arm/ABISysV_arm.cpp -SRCS+= Plugins/ABI/SysV-arm64/ABISysV_arm64.cpp -SRCS+= Plugins/ABI/SysV-i386/ABISysV_i386.cpp -SRCS+= Plugins/ABI/SysV-mips/ABISysV_mips.cpp -SRCS+= Plugins/ABI/SysV-mips64/ABISysV_mips64.cpp -SRCS+= Plugins/ABI/SysV-ppc/ABISysV_ppc.cpp -SRCS+= Plugins/ABI/SysV-ppc64/ABISysV_ppc64.cpp -SRCS+= Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp +SRCS+= Plugins/ABI/AArch64/ABIAArch64.cpp +SRCS+= Plugins/ABI/AArch64/ABISysV_arm64.cpp +SRCS+= Plugins/ABI/ARM/ABIARM.cpp +SRCS+= Plugins/ABI/ARM/ABISysV_arm.cpp +SRCS+= Plugins/ABI/Mips/ABIMips.cpp +SRCS+= Plugins/ABI/Mips/ABISysV_mips.cpp +SRCS+= Plugins/ABI/Mips/ABISysV_mips64.cpp +SRCS+= Plugins/ABI/PowerPC/ABIPowerPC.cpp +SRCS+= Plugins/ABI/PowerPC/ABISysV_ppc.cpp +SRCS+= Plugins/ABI/PowerPC/ABISysV_ppc64.cpp +SRCS+= Plugins/ABI/X86/ABISysV_i386.cpp +SRCS+= Plugins/ABI/X86/ABISysV_x86_64.cpp +SRCS+= Plugins/ABI/X86/ABIX86.cpp SRCS+= Plugins/Architecture/Arm/ArchitectureArm.cpp SRCS+= Plugins/Architecture/Mips/ArchitectureMips.cpp SRCS+= Plugins/Architecture/PPC64/ArchitecturePPC64.cpp -SRCS+= Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp +SRCS+= Plugins/Disassembler/LLVMC/DisassemblerLLVMC.cpp SRCS+= Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.cpp SRCS+= Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp SRCS+= Plugins/DynamicLoader/Static/DynamicLoaderStatic.cpp SRCS+= Plugins/ExpressionParser/Clang/ASTResultSynthesizer.cpp SRCS+= Plugins/ExpressionParser/Clang/ASTStructExtractor.cpp SRCS+= Plugins/ExpressionParser/Clang/ASTUtils.cpp +SRCS+= Plugins/ExpressionParser/Clang/ClangASTImporter.cpp +SRCS+= Plugins/ExpressionParser/Clang/ClangASTMetadata.cpp SRCS+= Plugins/ExpressionParser/Clang/ClangASTSource.cpp SRCS+= Plugins/ExpressionParser/Clang/ClangDeclVendor.cpp SRCS+= Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp SRCS+= Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp SRCS+= Plugins/ExpressionParser/Clang/ClangExpressionSourceCode.cpp SRCS+= Plugins/ExpressionParser/Clang/ClangExpressionVariable.cpp +SRCS+= Plugins/ExpressionParser/Clang/ClangExternalASTSourceCallbacks.cpp SRCS+= Plugins/ExpressionParser/Clang/ClangFunctionCaller.cpp SRCS+= Plugins/ExpressionParser/Clang/ClangHost.cpp SRCS+= Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp SRCS+= Plugins/ExpressionParser/Clang/ClangPersistentVariables.cpp SRCS+= Plugins/ExpressionParser/Clang/ClangUserExpression.cpp +SRCS+= Plugins/ExpressionParser/Clang/ClangUtil.cpp SRCS+= Plugins/ExpressionParser/Clang/ClangUtilityFunction.cpp SRCS+= Plugins/ExpressionParser/Clang/CppModuleConfiguration.cpp +SRCS+= Plugins/ExpressionParser/Clang/CxxModuleHandler.cpp SRCS+= Plugins/ExpressionParser/Clang/IRDynamicChecks.cpp SRCS+= Plugins/ExpressionParser/Clang/IRForTarget.cpp +SRCS+= Plugins/ExpressionParser/Clang/NameSearchContext.cpp SRCS+= Plugins/Instruction/ARM/EmulateInstructionARM.cpp SRCS+= Plugins/Instruction/ARM/EmulationStateARM.cpp SRCS+= Plugins/Instruction/ARM64/EmulateInstructionARM64.cpp SRCS+= Plugins/Instruction/MIPS/EmulateInstructionMIPS.cpp SRCS+= Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.cpp SRCS+= Plugins/Instruction/PPC64/EmulateInstructionPPC64.cpp -SRCS+= Plugins/InstrumentationRuntime/ASan/ASanRuntime.cpp -SRCS+= Plugins/InstrumentationRuntime/MainThreadChecker/MainThreadCheckerRuntime.cpp -SRCS+= Plugins/InstrumentationRuntime/UBSan/UBSanRuntime.cpp +SRCS+= Plugins/InstrumentationRuntime/ASan/InstrumentationRuntimeASan.cpp +SRCS+= Plugins/InstrumentationRuntime/MainThreadChecker/InstrumentationRuntimeMainThreadChecker.cpp +SRCS+= Plugins/InstrumentationRuntime/TSan/InstrumentationRuntimeTSan.cpp +SRCS+= Plugins/InstrumentationRuntime/UBSan/InstrumentationRuntimeUBSan.cpp SRCS+= Plugins/JITLoader/GDB/JITLoaderGDB.cpp SRCS+= Plugins/Language/CPlusPlus/BlockPointer.cpp SRCS+= Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp @@ -378,6 +391,8 @@ SRCS+= Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/ SRCS+= Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.cpp SRCS+= Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleThreadPlanStepThroughObjCTrampoline.cpp SRCS+= Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.cpp +SRCS+= Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp +SRCS+= Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptExpressionOpts.cpp SRCS+= Plugins/MemoryHistory/asan/MemoryHistoryASan.cpp SRCS+= Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp SRCS+= Plugins/ObjectFile/Breakpad/BreakpadRecords.cpp @@ -418,13 +433,12 @@ SRCS+= Plugins/Process/Utility/RegisterContextFreeBSD SRCS+= Plugins/Process/Utility/RegisterContextFreeBSD_powerpc.cpp SRCS+= Plugins/Process/Utility/RegisterContextFreeBSD_x86_64.cpp SRCS+= Plugins/Process/Utility/RegisterContextHistory.cpp -SRCS+= Plugins/Process/Utility/RegisterContextLLDB.cpp SRCS+= Plugins/Process/Utility/RegisterContextLinux_i386.cpp SRCS+= Plugins/Process/Utility/RegisterContextLinux_mips.cpp SRCS+= Plugins/Process/Utility/RegisterContextLinux_mips64.cpp SRCS+= Plugins/Process/Utility/RegisterContextLinux_x86_64.cpp -SRCS+= Plugins/Process/Utility/RegisterContextMacOSXFrameBackchain.cpp SRCS+= Plugins/Process/Utility/RegisterContextMemory.cpp +SRCS+= Plugins/Process/Utility/RegisterContextNetBSD_i386.cpp SRCS+= Plugins/Process/Utility/RegisterContextNetBSD_x86_64.cpp SRCS+= Plugins/Process/Utility/RegisterContextOpenBSD_i386.cpp SRCS+= Plugins/Process/Utility/RegisterContextOpenBSD_x86_64.cpp @@ -440,8 +454,6 @@ SRCS+= Plugins/Process/Utility/RegisterInfoPOSIX_arm6 SRCS+= Plugins/Process/Utility/RegisterInfoPOSIX_ppc64le.cpp SRCS+= Plugins/Process/Utility/StopInfoMachException.cpp SRCS+= Plugins/Process/Utility/ThreadMemory.cpp -SRCS+= Plugins/Process/Utility/UnwindLLDB.cpp -SRCS+= Plugins/Process/Utility/UnwindMacOSXFrameBackchain.cpp SRCS+= Plugins/Process/elf-core/ProcessElfCore.cpp SRCS+= Plugins/Process/elf-core/RegisterContextPOSIXCore_arm.cpp SRCS+= Plugins/Process/elf-core/RegisterContextPOSIXCore_arm64.cpp @@ -499,27 +511,20 @@ SRCS+= Plugins/SymbolFile/DWARF/NameToDIE.cpp SRCS+= Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp SRCS+= Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp SRCS+= Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.cpp -SRCS+= Plugins/SymbolFile/DWARF/SymbolFileDWARFDwoDwp.cpp -SRCS+= Plugins/SymbolFile/DWARF/SymbolFileDWARFDwp.cpp SRCS+= Plugins/SymbolFile/DWARF/UniqueDWARFASTType.cpp SRCS+= Plugins/SymbolFile/Symtab/SymbolFileSymtab.cpp SRCS+= Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp +SRCS+= Plugins/TypeSystem/Clang/TypeSystemClang.cpp SRCS+= Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp SRCS+= Plugins/UnwindAssembly/x86/UnwindAssembly-x86.cpp SRCS+= Plugins/UnwindAssembly/x86/x86AssemblyInspectionEngine.cpp SRCS+= Symbol/ArmUnwindInfo.cpp SRCS+= Symbol/Block.cpp -SRCS+= Symbol/ClangASTContext.cpp -SRCS+= Symbol/ClangASTImporter.cpp -SRCS+= Symbol/ClangASTMetadata.cpp -SRCS+= Symbol/ClangExternalASTSourceCallbacks.cpp -SRCS+= Symbol/ClangUtil.cpp SRCS+= Symbol/CompactUnwindInfo.cpp SRCS+= Symbol/CompileUnit.cpp SRCS+= Symbol/CompilerDecl.cpp SRCS+= Symbol/CompilerDeclContext.cpp SRCS+= Symbol/CompilerType.cpp -SRCS+= Symbol/CxxModuleHandler.cpp SRCS+= Symbol/DWARFCallFrameInfo.cpp SRCS+= Symbol/DebugMacros.cpp SRCS+= Symbol/DeclVendor.cpp @@ -545,6 +550,7 @@ SRCS+= Symbol/UnwindTable.cpp SRCS+= Symbol/Variable.cpp SRCS+= Symbol/VariableList.cpp SRCS+= Target/ABI.cpp +SRCS+= Target/AssertFrameRecognizer.cpp SRCS+= Target/ExecutionContext.cpp SRCS+= Target/InstrumentationRuntime.cpp SRCS+= Target/InstrumentationRuntimeStopInfo.cpp @@ -564,6 +570,7 @@ SRCS+= Target/Queue.cpp SRCS+= Target/QueueItem.cpp SRCS+= Target/QueueList.cpp SRCS+= Target/RegisterContext.cpp +SRCS+= Target/RegisterContextUnwind.cpp SRCS+= Target/RegisterNumber.cpp SRCS+= Target/RemoteAwarePlatform.cpp SRCS+= Target/SectionLoadHistory.cpp @@ -587,6 +594,7 @@ SRCS+= Target/ThreadPlanCallUserExpression.cpp SRCS+= Target/ThreadPlanPython.cpp SRCS+= Target/ThreadPlanRunToAddress.cpp SRCS+= Target/ThreadPlanShouldStopHere.cpp +SRCS+= Target/ThreadPlanStack.cpp SRCS+= Target/ThreadPlanStepInRange.cpp SRCS+= Target/ThreadPlanStepInstruction.cpp SRCS+= Target/ThreadPlanStepOut.cpp @@ -599,6 +607,7 @@ SRCS+= Target/ThreadPlanTracer.cpp SRCS+= Target/ThreadSpec.cpp SRCS+= Target/UnixSignals.cpp SRCS+= Target/UnwindAssembly.cpp +SRCS+= Target/UnwindLLDB.cpp SRCS+= Utility/ArchSpec.cpp SRCS+= Utility/Args.cpp SRCS+= Utility/Baton.cpp @@ -627,7 +636,6 @@ SRCS+= Utility/Reproducer.cpp SRCS+= Utility/ReproducerInstrumentation.cpp SRCS+= Utility/Scalar.cpp SRCS+= Utility/SelectHelper.cpp -SRCS+= Utility/SharingPtr.cpp SRCS+= Utility/State.cpp SRCS+= Utility/Status.cpp SRCS+= Utility/Stream.cpp @@ -687,13 +695,13 @@ INTERNALLIB= # Building lldb's bindings requires swig, but we do not want to include it in # the FreeBSD base system (as a build tool) because it has non-trivial # dependencies. As a workaround we commit the generated file. Requires the -# swig30 package. +# swig package. # # After importing an updated llvm/lldb into FreeBSD run `make run-swig` in # this directory to generate generate LLDBWrapLua.cpp, and commit the result. .PHONY: run-swig run-swig: - swig3.0 -I${LLDB_SRCS}/include \ + swig -I${LLDB_SRCS}/include \ -c++ -features autodoc -lua -w503 \ -o ${.CURDIR}/LLDBWrapLua.cpp ${LLDB_SRCS}/bindings/lua.swig Modified: projects/clang1100-import/lib/clang/libllvm/Makefile ============================================================================== --- projects/clang1100-import/lib/clang/libllvm/Makefile Thu Aug 6 19:28:00 2020 (r363983) +++ projects/clang1100-import/lib/clang/libllvm/Makefile Thu Aug 6 19:30:00 2020 (r363984) @@ -41,6 +41,7 @@ SRCS_MIN+= Analysis/AliasAnalysisEvaluator.cpp SRCS_MIN+= Analysis/AliasAnalysisSummary.cpp SRCS_MIN+= Analysis/AliasSetTracker.cpp SRCS_EXT+= Analysis/Analysis.cpp +SRCS_MIN+= Analysis/AssumeBundleQueries.cpp SRCS_MIN+= Analysis/AssumptionCache.cpp SRCS_MIN+= Analysis/BasicAliasAnalysis.cpp SRCS_MIN+= Analysis/BlockFrequencyInfo.cpp @@ -71,10 +72,14 @@ SRCS_MIN+= Analysis/DominanceFrontier.cpp SRCS_MIN+= Analysis/EHPersonalities.cpp SRCS_MIN+= Analysis/GlobalsModRef.cpp SRCS_MIN+= Analysis/GuardUtils.cpp +SRCS_MIN+= Analysis/HeatUtils.cpp SRCS_MIN+= Analysis/IVDescriptors.cpp SRCS_MIN+= Analysis/IVUsers.cpp SRCS_MIN+= Analysis/IndirectCallPromotionAnalysis.cpp +SRCS_MIN+= Analysis/InlineAdvisor.cpp SRCS_MIN+= Analysis/InlineCost.cpp +SRCS_MIN+= Analysis/InlineFeaturesAnalysis.cpp +SRCS_MIN+= Analysis/InlineSizeEstimatorAnalysis.cpp SRCS_MIN+= Analysis/InstCount.cpp SRCS_MIN+= Analysis/InstructionPrecedenceTracking.cpp SRCS_MIN+= Analysis/InstructionSimplify.cpp @@ -91,6 +96,7 @@ SRCS_MIN+= Analysis/LoopAccessAnalysis.cpp SRCS_MIN+= Analysis/LoopAnalysisManager.cpp SRCS_MIN+= Analysis/LoopCacheAnalysis.cpp SRCS_MIN+= Analysis/LoopInfo.cpp +SRCS_MIN+= Analysis/LoopNestAnalysis.cpp SRCS_MIN+= Analysis/LoopPass.cpp SRCS_MIN+= Analysis/LoopUnrollAnalyzer.cpp SRCS_MIN+= Analysis/MemDepPrinter.cpp @@ -107,8 +113,6 @@ SRCS_MIN+= Analysis/ObjCARCAliasAnalysis.cpp SRCS_MIN+= Analysis/ObjCARCAnalysisUtils.cpp SRCS_MIN+= Analysis/ObjCARCInstKind.cpp SRCS_MIN+= Analysis/OptimizationRemarkEmitter.cpp -SRCS_MIN+= Analysis/OrderedBasicBlock.cpp -SRCS_MIN+= Analysis/OrderedInstructions.cpp SRCS_MIN+= Analysis/PHITransAddr.cpp SRCS_MIN+= Analysis/PhiValues.cpp SRCS_MIN+= Analysis/PostDominators.cpp @@ -118,10 +122,12 @@ SRCS_MIN+= Analysis/RegionInfo.cpp SRCS_MIN+= Analysis/RegionPass.cpp SRCS_MIN+= Analysis/RegionPrinter.cpp SRCS_MIN+= Analysis/ScalarEvolution.cpp +SRCS_MIN+= Analysis/ScalarEvolution.cpp SRCS_MIN+= Analysis/ScalarEvolutionAliasAnalysis.cpp -SRCS_MIN+= Analysis/ScalarEvolutionExpander.cpp +SRCS_MIN+= Analysis/ScalarEvolutionDivision.cpp SRCS_MIN+= Analysis/ScalarEvolutionNormalization.cpp SRCS_MIN+= Analysis/ScopedNoAliasAA.cpp +SRCS_MIN+= Analysis/StackLifetime.cpp SRCS_MIN+= Analysis/StackSafetyAnalysis.cpp SRCS_MIN+= Analysis/SyncDependenceAnalysis.cpp SRCS_MIN+= Analysis/SyntheticCountsUtils.cpp @@ -139,6 +145,7 @@ SRCS_MIN+= AsmParser/LLParser.cpp SRCS_MIN+= AsmParser/Parser.cpp SRCS_MIN+= BinaryFormat/Dwarf.cpp SRCS_MIN+= BinaryFormat/Magic.cpp +SRCS_MIN+= BinaryFormat/MachO.cpp SRCS_MIN+= BinaryFormat/Wasm.cpp SRCS_MIN+= BinaryFormat/XCOFF.cpp SRCS_MIN+= Bitcode/Reader/BitReader.cpp @@ -179,6 +186,7 @@ SRCS_MIN+= CodeGen/AsmPrinter/WasmException.cpp SRCS_MIN+= CodeGen/AsmPrinter/WinCFGuard.cpp SRCS_MIN+= CodeGen/AsmPrinter/WinException.cpp SRCS_MIN+= CodeGen/AtomicExpandPass.cpp +SRCS_MIN+= CodeGen/BBSectionsPrepare.cpp SRCS_MIN+= CodeGen/BasicTargetTransformInfo.cpp SRCS_MIN+= CodeGen/BranchFolding.cpp SRCS_MIN+= CodeGen/BranchRelaxation.cpp @@ -190,6 +198,7 @@ SRCS_MIN+= CodeGen/CalcSpillWeights.cpp SRCS_MIN+= CodeGen/CallingConvLower.cpp SRCS_MIN+= CodeGen/CodeGen.cpp SRCS_MIN+= CodeGen/CodeGenPrepare.cpp +SRCS_EXL+= CodeGen/CommandFlags.cpp SRCS_MIN+= CodeGen/CriticalAntiDepBreaker.cpp SRCS_MIN+= CodeGen/DFAPacketizer.cpp SRCS_MIN+= CodeGen/DeadMachineInstructionElim.cpp @@ -204,6 +213,7 @@ SRCS_MIN+= CodeGen/ExpandReductions.cpp SRCS_MIN+= CodeGen/FEntryInserter.cpp SRCS_MIN+= CodeGen/FaultMaps.cpp SRCS_MIN+= CodeGen/FinalizeISel.cpp +SRCS_MIN+= CodeGen/FixupStatepointCallerSaved.cpp SRCS_MIN+= CodeGen/FuncletLayout.cpp SRCS_MIN+= CodeGen/GCMetadata.cpp SRCS_MIN+= CodeGen/GCMetadataPrinter.cpp @@ -218,6 +228,7 @@ SRCS_MIN+= CodeGen/GlobalISel/GISelChangeObserver.cpp SRCS_MIN+= CodeGen/GlobalISel/GISelKnownBits.cpp SRCS_MIN+= CodeGen/GlobalISel/GlobalISel.cpp SRCS_MIN+= CodeGen/GlobalISel/IRTranslator.cpp +SRCS_MIN+= CodeGen/GlobalISel/InlineAsmLowering.cpp SRCS_MIN+= CodeGen/GlobalISel/InstructionSelect.cpp SRCS_MIN+= CodeGen/GlobalISel/InstructionSelector.cpp SRCS_MIN+= CodeGen/GlobalISel/LegalityPredicates.cpp @@ -226,6 +237,7 @@ SRCS_MIN+= CodeGen/GlobalISel/Legalizer.cpp SRCS_MIN+= CodeGen/GlobalISel/LegalizerHelper.cpp SRCS_MIN+= CodeGen/GlobalISel/LegalizerInfo.cpp SRCS_MIN+= CodeGen/GlobalISel/Localizer.cpp +SRCS_MIN+= CodeGen/GlobalISel/LostDebugLocObserver.cpp SRCS_MIN+= CodeGen/GlobalISel/MachineIRBuilder.cpp SRCS_MIN+= CodeGen/GlobalISel/RegBankSelect.cpp SRCS_MIN+= CodeGen/GlobalISel/RegisterBank.cpp @@ -248,6 +260,7 @@ SRCS_MIN+= CodeGen/LexicalScopes.cpp SRCS_MIN+= CodeGen/LiveDebugValues.cpp SRCS_MIN+= CodeGen/LiveDebugVariables.cpp SRCS_MIN+= CodeGen/LiveInterval.cpp +SRCS_MIN+= CodeGen/LiveIntervalCalc.cpp SRCS_MIN+= CodeGen/LiveIntervalUnion.cpp SRCS_MIN+= CodeGen/LiveIntervals.cpp SRCS_MIN+= CodeGen/LivePhysRegs.cpp @@ -262,6 +275,7 @@ SRCS_MIN+= CodeGen/LocalStackSlotAllocation.cpp SRCS_MIN+= CodeGen/LoopTraversal.cpp SRCS_MIN+= CodeGen/LowLevelType.cpp SRCS_MIN+= CodeGen/LowerEmuTLS.cpp +SRCS_MIN+= CodeGen/MBFIWrapper.cpp SRCS_MIN+= CodeGen/MIRCanonicalizerPass.cpp SRCS_MIN+= CodeGen/MIRNamerPass.cpp SRCS_EXT+= CodeGen/MIRParser/MILexer.cpp @@ -277,6 +291,7 @@ SRCS_MIN+= CodeGen/MachineBranchProbabilityInfo.cpp SRCS_MIN+= CodeGen/MachineCSE.cpp SRCS_MIN+= CodeGen/MachineCombiner.cpp SRCS_MIN+= CodeGen/MachineCopyPropagation.cpp +SRCS_MIN+= CodeGen/MachineDebugify.cpp SRCS_MIN+= CodeGen/MachineDominanceFrontier.cpp SRCS_MIN+= CodeGen/MachineDominators.cpp SRCS_MIN+= CodeGen/MachineFrameInfo.cpp @@ -301,6 +316,7 @@ SRCS_MIN+= CodeGen/MachineSSAUpdater.cpp SRCS_MIN+= CodeGen/MachineScheduler.cpp SRCS_MIN+= CodeGen/MachineSink.cpp SRCS_MIN+= CodeGen/MachineSizeOpts.cpp +SRCS_MIN+= CodeGen/MachineStripDebug.cpp SRCS_MIN+= CodeGen/MachineTraceMetrics.cpp SRCS_MIN+= CodeGen/MachineVerifier.cpp SRCS_MIN+= CodeGen/MacroFusion.cpp @@ -336,7 +352,6 @@ SRCS_MIN+= CodeGen/RegisterUsageInfo.cpp SRCS_MIN+= CodeGen/RenameIndependentSubregs.cpp SRCS_MIN+= CodeGen/ResetMachineFunctionPass.cpp SRCS_MIN+= CodeGen/SafeStack.cpp -SRCS_MIN+= CodeGen/SafeStackColoring.cpp SRCS_MIN+= CodeGen/SafeStackLayout.cpp SRCS_MIN+= CodeGen/ScalarizeMaskedMemIntrin.cpp SRCS_MIN+= CodeGen/ScheduleDAG.cpp @@ -490,11 +505,16 @@ SRCS_EXT+= DebugInfo/PDB/Native/NamedStreamMap.cpp SRCS_EXT+= DebugInfo/PDB/Native/NativeCompilandSymbol.cpp SRCS_EXT+= DebugInfo/PDB/Native/NativeEnumGlobals.cpp SRCS_EXT+= DebugInfo/PDB/Native/NativeEnumInjectedSources.cpp +SRCS_EXT+= DebugInfo/PDB/Native/NativeEnumLineNumbers.cpp SRCS_EXT+= DebugInfo/PDB/Native/NativeEnumModules.cpp SRCS_EXT+= DebugInfo/PDB/Native/NativeEnumTypes.cpp SRCS_EXT+= DebugInfo/PDB/Native/NativeExeSymbol.cpp +SRCS_EXT+= DebugInfo/PDB/Native/NativeFunctionSymbol.cpp +SRCS_EXT+= DebugInfo/PDB/Native/NativeLineNumber.cpp +SRCS_EXT+= DebugInfo/PDB/Native/NativePublicSymbol.cpp SRCS_EXT+= DebugInfo/PDB/Native/NativeRawSymbol.cpp SRCS_EXT+= DebugInfo/PDB/Native/NativeSession.cpp +SRCS_EXT+= DebugInfo/PDB/Native/NativeSourceFile.cpp SRCS_EXT+= DebugInfo/PDB/Native/NativeSymbolEnumerator.cpp SRCS_EXT+= DebugInfo/PDB/Native/NativeTypeArray.cpp SRCS_EXT+= DebugInfo/PDB/Native/NativeTypeBuiltin.cpp @@ -567,6 +587,8 @@ SRCS_XDB+= ExecutionEngine/Interpreter/Execution.cpp SRCS_XDB+= ExecutionEngine/Interpreter/ExternalFunctions.cpp SRCS_XDB+= ExecutionEngine/Interpreter/Interpreter.cpp SRCS_EXT+= ExecutionEngine/JITLink/EHFrameSupport.cpp +SRCS_EXT+= ExecutionEngine/JITLink/ELF.cpp +SRCS_EXT+= ExecutionEngine/JITLink/ELF_x86_64.cpp SRCS_EXT+= ExecutionEngine/JITLink/JITLink.cpp SRCS_EXT+= ExecutionEngine/JITLink/JITLinkGeneric.cpp SRCS_EXT+= ExecutionEngine/JITLink/JITLinkMemoryManager.cpp @@ -578,6 +600,7 @@ SRCS_XDB+= ExecutionEngine/MCJIT/MCJIT.cpp SRCS_EXT+= ExecutionEngine/Orc/CompileOnDemandLayer.cpp SRCS_EXT+= ExecutionEngine/Orc/CompileUtils.cpp SRCS_EXT+= ExecutionEngine/Orc/Core.cpp +SRCS_EXT+= ExecutionEngine/Orc/DebugUtils.cpp SRCS_EXT+= ExecutionEngine/Orc/ExecutionUtils.cpp SRCS_EXT+= ExecutionEngine/Orc/IRCompileLayer.cpp SRCS_EXT+= ExecutionEngine/Orc/IRTransformLayer.cpp @@ -587,6 +610,8 @@ SRCS_EXT+= ExecutionEngine/Orc/LLJIT.cpp SRCS_EXT+= ExecutionEngine/Orc/Layer.cpp SRCS_EXT+= ExecutionEngine/Orc/LazyReexports.cpp SRCS_EXT+= ExecutionEngine/Orc/Legacy.cpp +SRCS_EXT+= ExecutionEngine/Orc/MachOPlatform.cpp +SRCS_EXT+= ExecutionEngine/Orc/Mangling.cpp SRCS_EXT+= ExecutionEngine/Orc/NullResolver.cpp SRCS_EXT+= ExecutionEngine/Orc/ObjectLinkingLayer.cpp SRCS_EXT+= ExecutionEngine/Orc/ObjectTransformLayer.cpp @@ -608,7 +633,7 @@ SRCS_XDB+= ExecutionEngine/RuntimeDyld/RuntimeDyldMach SRCS_XDB+= ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldELFMips.cpp SRCS_XDB+= ExecutionEngine/SectionMemoryManager.cpp SRCS_XDB+= ExecutionEngine/TargetSelect.cpp -SRCS_MIN+= Frontend/OpenMP/OMPConstants.cpp +SRCS_MIN+= Frontend/OpenMP/OMPContext.cpp SRCS_MIN+= Frontend/OpenMP/OMPIRBuilder.cpp SRCS_MIN+= IR/AbstractCallSite.cpp SRCS_MIN+= IR/AsmWriter.cpp @@ -641,6 +666,7 @@ SRCS_MIN+= IR/Instructions.cpp SRCS_MIN+= IR/IntrinsicInst.cpp SRCS_MIN+= IR/LLVMContext.cpp SRCS_MIN+= IR/LLVMContextImpl.cpp +SRCS_MIN+= IR/LLVMRemarkStreamer.cpp SRCS_MIN+= IR/LegacyPassManager.cpp SRCS_MIN+= IR/MDBuilder.cpp SRCS_MIN+= IR/Mangler.cpp @@ -655,7 +681,6 @@ SRCS_MIN+= IR/PassManager.cpp SRCS_MIN+= IR/PassRegistry.cpp SRCS_MIN+= IR/PassTimingInfo.cpp SRCS_MIN+= IR/ProfileSummary.cpp -SRCS_MIN+= IR/RemarkStreamer.cpp SRCS_MIN+= IR/SafepointIRVerifier.cpp SRCS_MIN+= IR/Statepoint.cpp SRCS_MIN+= IR/Type.cpp @@ -705,6 +730,7 @@ SRCS_MIN+= MC/MCInst.cpp SRCS_MIN+= MC/MCInstPrinter.cpp SRCS_MIN+= MC/MCInstrAnalysis.cpp SRCS_MIN+= MC/MCInstrDesc.cpp +SRCS_MIN+= MC/MCInstrInfo.cpp SRCS_MIN+= MC/MCLinkerOptimizationHint.cpp SRCS_MIN+= MC/MCMachOStreamer.cpp SRCS_MIN+= MC/MCMachObjectTargetWriter.cpp @@ -734,7 +760,9 @@ SRCS_MIN+= MC/MCStreamer.cpp SRCS_MIN+= MC/MCSubtargetInfo.cpp SRCS_MIN+= MC/MCSymbol.cpp SRCS_MIN+= MC/MCSymbolELF.cpp +SRCS_MIN+= MC/MCSymbolXCOFF.cpp SRCS_MIN+= MC/MCTargetOptions.cpp +SRCS_MIN+= MC/MCTargetOptionsCommandFlags.cpp SRCS_MIN+= MC/MCValue.cpp SRCS_MIN+= MC/MCWasmStreamer.cpp SRCS_MIN+= MC/MCWin64EH.cpp @@ -790,6 +818,7 @@ SRCS_MIN+= Object/RecordStreamer.cpp SRCS_MIW+= Object/RelocationResolver.cpp SRCS_MIW+= Object/SymbolSize.cpp SRCS_MIN+= Object/SymbolicFile.cpp +SRCS_MIW+= Object/TapiFile.cpp SRCS_MIW+= Object/TapiUniversal.cpp SRCS_MIN+= Object/WasmObjectFile.cpp SRCS_MIW+= Object/WindowsMachineFlag.cpp @@ -824,6 +853,7 @@ SRCS_MIN+= ProfileData/SampleProfWriter.cpp SRCS_MIN+= Remarks/BitstreamRemarkSerializer.cpp SRCS_MIN+= Remarks/RemarkFormat.cpp SRCS_MIN+= Remarks/RemarkSerializer.cpp +SRCS_MIN+= Remarks/RemarkStreamer.cpp SRCS_MIN+= Remarks/RemarkStringTable.cpp SRCS_MIN+= Remarks/YAMLRemarkSerializer.cpp SRCS_MIN+= Support/AArch64TargetParser.cpp @@ -859,6 +889,8 @@ SRCS_MIN+= Support/Debug.cpp SRCS_MIN+= Support/DebugCounter.cpp SRCS_MIN+= Support/DeltaAlgorithm.cpp SRCS_MIN+= Support/DynamicLibrary.cpp +SRCS_MIN+= Support/ELFAttributeParser.cpp +SRCS_MIN+= Support/ELFAttributes.cpp SRCS_MIN+= Support/Errno.cpp SRCS_MIN+= Support/Error.cpp SRCS_MIN+= Support/ErrorHandling.cpp @@ -886,9 +918,11 @@ SRCS_MIN+= Support/LowLevelType.cpp SRCS_MIN+= Support/MD5.cpp SRCS_MIN+= Support/ManagedStatic.cpp SRCS_MIN+= Support/MathExtras.cpp +SRCS_MIN+= Support/MemAlloc.cpp SRCS_XDL+= Support/Memory.cpp SRCS_MIN+= Support/MemoryBuffer.cpp SRCS_MIN+= Support/NativeFormatting.cpp +SRCS_MIN+= Support/OptimizedStructLayout.cpp SRCS_MIN+= Support/Optional.cpp SRCS_LLD+= Support/Parallel.cpp SRCS_MIN+= Support/Path.cpp @@ -896,6 +930,8 @@ SRCS_MIN+= Support/PluginLoader.cpp SRCS_MIN+= Support/PrettyStackTrace.cpp SRCS_MIN+= Support/Process.cpp SRCS_MIN+= Support/Program.cpp +SRCS_MIN+= Support/RISCVAttributeParser.cpp +SRCS_MIN+= Support/RISCVAttributes.cpp SRCS_MIN+= Support/RWMutex.cpp SRCS_MIN+= Support/RandomNumberGenerator.cpp SRCS_MIN+= Support/Regex.cpp @@ -913,6 +949,7 @@ SRCS_MIN+= Support/StringExtras.cpp SRCS_MIN+= Support/StringMap.cpp SRCS_MIN+= Support/StringRef.cpp SRCS_MIN+= Support/StringSaver.cpp +SRCS_MIN+= Support/SuffixTree.cpp SRCS_MIN+= Support/SymbolRemappingReader.cpp SRCS_EXT+= Support/SystemUtils.cpp SRCS_LLD+= Support/TarWriter.cpp @@ -934,6 +971,7 @@ SRCS_MIN+= Support/VirtualFileSystem.cpp SRCS_MIN+= Support/VersionTuple.cpp SRCS_MIN+= Support/Watchdog.cpp SRCS_MIN+= Support/WithColor.cpp +SRCS_MIN+= Support/X86TargetParser.cpp SRCS_MIN+= Support/YAMLParser.cpp SRCS_MIN+= Support/YAMLTraits.cpp SRCS_FUL+= Support/Z3Solver.cpp @@ -961,7 +999,6 @@ SRCS_MIN+= Target/AArch64/AArch64A57FPLoadBalancing.cp SRCS_MIN+= Target/AArch64/AArch64AdvSIMDScalarPass.cpp SRCS_MIN+= Target/AArch64/AArch64AsmPrinter.cpp SRCS_MIN+= Target/AArch64/AArch64BranchTargets.cpp -SRCS_MIN+= Target/AArch64/AArch64CallLowering.cpp SRCS_MIN+= Target/AArch64/AArch64CallingConvention.cpp SRCS_MIN+= Target/AArch64/AArch64CleanupLocalDynamicTLSPass.cpp SRCS_MIN+= Target/AArch64/AArch64CollectLOH.cpp @@ -978,18 +1015,16 @@ SRCS_MIN+= Target/AArch64/AArch64FrameLowering.cpp SRCS_MIN+= Target/AArch64/AArch64ISelDAGToDAG.cpp SRCS_MIN+= Target/AArch64/AArch64ISelLowering.cpp SRCS_MIN+= Target/AArch64/AArch64InstrInfo.cpp -SRCS_MIN+= Target/AArch64/AArch64InstructionSelector.cpp -SRCS_MIN+= Target/AArch64/AArch64LegalizerInfo.cpp SRCS_MIN+= Target/AArch64/AArch64LoadStoreOptimizer.cpp SRCS_MIN+= Target/AArch64/AArch64MCInstLower.cpp +SRCS_MIN+= Target/AArch64/AArch64MachineFunctionInfo.cpp SRCS_MIN+= Target/AArch64/AArch64MacroFusion.cpp SRCS_MIN+= Target/AArch64/AArch64PBQPRegAlloc.cpp -SRCS_MIN+= Target/AArch64/AArch64PreLegalizerCombiner.cpp SRCS_MIN+= Target/AArch64/AArch64PromoteConstant.cpp SRCS_MIN+= Target/AArch64/AArch64RedundantCopyElimination.cpp -SRCS_MIN+= Target/AArch64/AArch64RegisterBankInfo.cpp SRCS_MIN+= Target/AArch64/AArch64RegisterInfo.cpp SRCS_MIN+= Target/AArch64/AArch64SIMDInstrOpt.cpp +SRCS_MIN+= Target/AArch64/AArch64SLSHardening.cpp SRCS_MIN+= Target/AArch64/AArch64SelectionDAGInfo.cpp SRCS_MIN+= Target/AArch64/AArch64SpeculationHardening.cpp SRCS_MIN+= Target/AArch64/AArch64StackTagging.cpp @@ -1002,6 +1037,12 @@ SRCS_MIN+= Target/AArch64/AArch64TargetTransformInfo.c SRCS_MIN+= Target/AArch64/AsmParser/AArch64AsmParser.cpp SRCS_XDW+= Target/AArch64/Disassembler/AArch64Disassembler.cpp SRCS_XDW+= Target/AArch64/Disassembler/AArch64ExternalSymbolizer.cpp +SRCS_MIN+= Target/AArch64/GISel/AArch64CallLowering.cpp +SRCS_MIN+= Target/AArch64/GISel/AArch64InstructionSelector.cpp +SRCS_MIN+= Target/AArch64/GISel/AArch64LegalizerInfo.cpp +SRCS_MIN+= Target/AArch64/GISel/AArch64PreLegalizerCombiner.cpp +SRCS_MIN+= Target/AArch64/GISel/AArch64PostLegalizerCombiner.cpp +SRCS_MIN+= Target/AArch64/GISel/AArch64RegisterBankInfo.cpp SRCS_MIN+= Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp SRCS_MIN+= Target/AArch64/MCTargetDesc/AArch64ELFObjectWriter.cpp SRCS_MIN+= Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp @@ -1014,6 +1055,7 @@ SRCS_MIN+= Target/AArch64/MCTargetDesc/AArch64MachObje SRCS_MIN+= Target/AArch64/MCTargetDesc/AArch64TargetStreamer.cpp SRCS_MIN+= Target/AArch64/MCTargetDesc/AArch64WinCOFFObjectWriter.cpp SRCS_MIN+= Target/AArch64/MCTargetDesc/AArch64WinCOFFStreamer.cpp +SRCS_MIN+= Target/AArch64/SVEIntrinsicOpts.cpp SRCS_MIN+= Target/AArch64/TargetInfo/AArch64TargetInfo.cpp SRCS_MIN+= Target/AArch64/Utils/AArch64BaseInfo.cpp .endif # MK_LLVM_TARGET_AARCH64 @@ -1070,6 +1112,7 @@ SRCS_MIN+= Target/ARM/MLxExpansionPass.cpp SRCS_MIN+= Target/ARM/MVEGatherScatterLowering.cpp SRCS_MIN+= Target/ARM/MVETailPredication.cpp SRCS_MIN+= Target/ARM/MVEVPTBlockPass.cpp +SRCS_MIN+= Target/ARM/MVEVPTOptimisationsPass.cpp SRCS_MIN+= Target/ARM/TargetInfo/ARMTargetInfo.cpp SRCS_MIN+= Target/ARM/Thumb1FrameLowering.cpp SRCS_MIN+= Target/ARM/Thumb1InstrInfo.cpp @@ -1166,12 +1209,12 @@ SRCS_MIN+= Target/PowerPC/AsmParser/PPCAsmParser.cpp SRCS_MIN+= Target/PowerPC/Disassembler/PPCDisassembler.cpp SRCS_MIN+= Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp SRCS_MIN+= Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp +SRCS_MIN+= Target/PowerPC/MCTargetDesc/PPCELFStreamer.cpp SRCS_MIN+= Target/PowerPC/MCTargetDesc/PPCInstPrinter.cpp SRCS_MIN+= Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp SRCS_MIN+= Target/PowerPC/MCTargetDesc/PPCMCCodeEmitter.cpp SRCS_MIN+= Target/PowerPC/MCTargetDesc/PPCMCExpr.cpp SRCS_MIN+= Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp -SRCS_MIN+= Target/PowerPC/MCTargetDesc/PPCMachObjectWriter.cpp SRCS_MIN+= Target/PowerPC/MCTargetDesc/PPCPredicates.cpp SRCS_MIN+= Target/PowerPC/MCTargetDesc/PPCXCOFFObjectWriter.cpp SRCS_MIN+= Target/PowerPC/PPCAsmPrinter.cpp @@ -1191,6 +1234,7 @@ SRCS_MIN+= Target/PowerPC/PPCISelLowering.cpp SRCS_MIN+= Target/PowerPC/PPCInstrInfo.cpp SRCS_MIN+= Target/PowerPC/PPCLoopInstrFormPrep.cpp SRCS_MIN+= Target/PowerPC/PPCLowerMASSVEntries.cpp +SRCS_MIN+= Target/PowerPC/PPCMacroFusion.cpp SRCS_MIN+= Target/PowerPC/PPCMCInstLower.cpp SRCS_MIN+= Target/PowerPC/PPCMIPeephole.cpp SRCS_MIN+= Target/PowerPC/PPCMachineFunctionInfo.cpp @@ -1224,6 +1268,7 @@ SRCS_MIN+= Target/RISCV/MCTargetDesc/RISCVMCTargetDesc SRCS_MIN+= Target/RISCV/MCTargetDesc/RISCVTargetStreamer.cpp SRCS_MIN+= Target/RISCV/RISCVAsmPrinter.cpp SRCS_MIN+= Target/RISCV/RISCVCallLowering.cpp +SRCS_MIN+= Target/RISCV/RISCVExpandAtomicPseudoInsts.cpp SRCS_MIN+= Target/RISCV/RISCVExpandPseudoInsts.cpp SRCS_MIN+= Target/RISCV/RISCVFrameLowering.cpp SRCS_MIN+= Target/RISCV/RISCVInstrInfo.cpp @@ -1260,11 +1305,11 @@ SRCS_MIN+= Target/X86/MCTargetDesc/X86MCAsmInfo.cpp SRCS_MIN+= Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp SRCS_MIN+= Target/X86/MCTargetDesc/X86MCTargetDesc.cpp SRCS_MIN+= Target/X86/MCTargetDesc/X86MachObjectWriter.cpp +SRCS_MIN+= Target/X86/MCTargetDesc/X86ShuffleDecode.cpp SRCS_MIN+= Target/X86/MCTargetDesc/X86WinCOFFObjectWriter.cpp SRCS_MIN+= Target/X86/MCTargetDesc/X86WinCOFFStreamer.cpp SRCS_MIN+= Target/X86/MCTargetDesc/X86WinCOFFTargetStreamer.cpp SRCS_MIN+= Target/X86/TargetInfo/X86TargetInfo.cpp -SRCS_MIN+= Target/X86/Utils/X86ShuffleDecode.cpp SRCS_MIN+= Target/X86/X86AsmPrinter.cpp SRCS_MIN+= Target/X86/X86AvoidStoreForwardingBlocks.cpp SRCS_MIN+= Target/X86/X86AvoidTrailingCall.cpp @@ -1289,6 +1334,7 @@ SRCS_MIN+= Target/X86/X86ISelLowering.cpp SRCS_MIN+= Target/X86/X86IndirectBranchTracking.cpp SRCS_MIN+= Target/X86/X86IndirectThunks.cpp SRCS_MIN+= Target/X86/X86InsertPrefetch.cpp +SRCS_MIN+= Target/X86/X86InsertWait.cpp SRCS_MIN+= Target/X86/X86InstrFMA3Info.cpp SRCS_MIN+= Target/X86/X86InstrFoldTables.cpp SRCS_MIN+= Target/X86/X86InstrInfo.cpp @@ -1302,10 +1348,12 @@ SRCS_MIN+= Target/X86/X86MachineFunctionInfo.cpp *** DIFF OUTPUT TRUNCATED AT 1000 LINES *** From owner-svn-src-projects@freebsd.org Thu Aug 6 19:30:39 2020 Return-Path: Delivered-To: svn-src-projects@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EC87E3A9748 for ; Thu, 6 Aug 2020 19:30:39 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BMz9W6HZGz4Vlw; Thu, 6 Aug 2020 19:30:39 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BC3C9BE66; Thu, 6 Aug 2020 19:30:39 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 076JUdSM067524; Thu, 6 Aug 2020 19:30:39 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 076JUdPf067522; Thu, 6 Aug 2020 19:30:39 GMT (envelope-from dim@FreeBSD.org) Message-Id: <202008061930.076JUdPf067522@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Thu, 6 Aug 2020 19:30:39 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r363985 - projects/clang1100-import X-SVN-Group: projects X-SVN-Commit-Author: dim X-SVN-Commit-Paths: projects/clang1100-import X-SVN-Commit-Revision: 363985 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Aug 2020 19:30:40 -0000 Author: dim Date: Thu Aug 6 19:30:39 2020 New Revision: 363985 URL: https://svnweb.freebsd.org/changeset/base/363985 Log: Tentatively update UPDATING and ObsoleteFiles.inc for 11.0.0. Modified: projects/clang1100-import/ObsoleteFiles.inc projects/clang1100-import/UPDATING Modified: projects/clang1100-import/ObsoleteFiles.inc ============================================================================== --- projects/clang1100-import/ObsoleteFiles.inc Thu Aug 6 19:30:00 2020 (r363984) +++ projects/clang1100-import/ObsoleteFiles.inc Thu Aug 6 19:30:39 2020 (r363985) @@ -36,6 +36,257 @@ # xargs -n1 | sort | uniq -d; # done +# 2020mmdd: new clang import which bumps version from 10.0.1 to 11.0.0. +OLD_FILES+=usr/lib/clang/10.0.1/include/cuda_wrappers/algorithm +OLD_FILES+=usr/lib/clang/10.0.1/include/cuda_wrappers/complex +OLD_FILES+=usr/lib/clang/10.0.1/include/cuda_wrappers/new +OLD_DIRS+=usr/lib/clang/10.0.1/include/cuda_wrappers +OLD_FILES+=usr/lib/clang/10.0.1/include/fuzzer/FuzzedDataProvider.h +OLD_DIRS+=usr/lib/clang/10.0.1/include/fuzzer +OLD_FILES+=usr/lib/clang/10.0.1/include/openmp_wrappers/__clang_openmp_math.h +OLD_FILES+=usr/lib/clang/10.0.1/include/openmp_wrappers/__clang_openmp_math_declares.h +OLD_FILES+=usr/lib/clang/10.0.1/include/openmp_wrappers/cmath +OLD_FILES+=usr/lib/clang/10.0.1/include/openmp_wrappers/math.h +OLD_DIRS+=usr/lib/clang/10.0.1/include/openmp_wrappers +OLD_FILES+=usr/lib/clang/10.0.1/include/ppc_wrappers/emmintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/ppc_wrappers/mm_malloc.h +OLD_FILES+=usr/lib/clang/10.0.1/include/ppc_wrappers/mmintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/ppc_wrappers/pmmintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/ppc_wrappers/smmintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/ppc_wrappers/tmmintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/ppc_wrappers/xmmintrin.h +OLD_DIRS+=usr/lib/clang/10.0.1/include/ppc_wrappers +OLD_FILES+=usr/lib/clang/10.0.1/include/profile/InstrProfData.inc +OLD_DIRS+=usr/lib/clang/10.0.1/include/profile +OLD_FILES+=usr/lib/clang/10.0.1/include/sanitizer/allocator_interface.h +OLD_FILES+=usr/lib/clang/10.0.1/include/sanitizer/asan_interface.h +OLD_FILES+=usr/lib/clang/10.0.1/include/sanitizer/common_interface_defs.h +OLD_FILES+=usr/lib/clang/10.0.1/include/sanitizer/coverage_interface.h +OLD_FILES+=usr/lib/clang/10.0.1/include/sanitizer/dfsan_interface.h +OLD_FILES+=usr/lib/clang/10.0.1/include/sanitizer/hwasan_interface.h +OLD_FILES+=usr/lib/clang/10.0.1/include/sanitizer/linux_syscall_hooks.h +OLD_FILES+=usr/lib/clang/10.0.1/include/sanitizer/lsan_interface.h +OLD_FILES+=usr/lib/clang/10.0.1/include/sanitizer/msan_interface.h +OLD_FILES+=usr/lib/clang/10.0.1/include/sanitizer/netbsd_syscall_hooks.h +OLD_FILES+=usr/lib/clang/10.0.1/include/sanitizer/scudo_interface.h +OLD_FILES+=usr/lib/clang/10.0.1/include/sanitizer/tsan_interface.h +OLD_FILES+=usr/lib/clang/10.0.1/include/sanitizer/tsan_interface_atomic.h +OLD_FILES+=usr/lib/clang/10.0.1/include/sanitizer/ubsan_interface.h +OLD_DIRS+=usr/lib/clang/10.0.1/include/sanitizer +OLD_FILES+=usr/lib/clang/10.0.1/include/xray/xray_interface.h +OLD_FILES+=usr/lib/clang/10.0.1/include/xray/xray_log_interface.h +OLD_FILES+=usr/lib/clang/10.0.1/include/xray/xray_records.h +OLD_DIRS+=usr/lib/clang/10.0.1/include/xray +OLD_FILES+=usr/lib/clang/10.0.1/include/__clang_cuda_builtin_vars.h +OLD_FILES+=usr/lib/clang/10.0.1/include/__clang_cuda_cmath.h +OLD_FILES+=usr/lib/clang/10.0.1/include/__clang_cuda_complex_builtins.h +OLD_FILES+=usr/lib/clang/10.0.1/include/__clang_cuda_device_functions.h +OLD_FILES+=usr/lib/clang/10.0.1/include/__clang_cuda_intrinsics.h +OLD_FILES+=usr/lib/clang/10.0.1/include/__clang_cuda_libdevice_declares.h +OLD_FILES+=usr/lib/clang/10.0.1/include/__clang_cuda_math_forward_declares.h +OLD_FILES+=usr/lib/clang/10.0.1/include/__clang_cuda_runtime_wrapper.h +OLD_FILES+=usr/lib/clang/10.0.1/include/__stddef_max_align_t.h +OLD_FILES+=usr/lib/clang/10.0.1/include/__wmmintrin_aes.h +OLD_FILES+=usr/lib/clang/10.0.1/include/__wmmintrin_pclmul.h +OLD_FILES+=usr/lib/clang/10.0.1/include/adxintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/altivec.h +OLD_FILES+=usr/lib/clang/10.0.1/include/ammintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/arm64intr.h +OLD_FILES+=usr/lib/clang/10.0.1/include/arm_acle.h +OLD_FILES+=usr/lib/clang/10.0.1/include/arm_cmse.h +OLD_FILES+=usr/lib/clang/10.0.1/include/arm_fp16.h +OLD_FILES+=usr/lib/clang/10.0.1/include/arm_mve.h +OLD_FILES+=usr/lib/clang/10.0.1/include/arm_neon.h +OLD_FILES+=usr/lib/clang/10.0.1/include/armintr.h +OLD_FILES+=usr/lib/clang/10.0.1/include/avx2intrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/avx512bf16intrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/avx512bitalgintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/avx512bwintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/avx512cdintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/avx512dqintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/avx512erintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/avx512fintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/avx512ifmaintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/avx512ifmavlintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/avx512pfintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/avx512vbmi2intrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/avx512vbmiintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/avx512vbmivlintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/avx512vlbf16intrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/avx512vlbitalgintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/avx512vlbwintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/avx512vlcdintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/avx512vldqintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/avx512vlintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/avx512vlvbmi2intrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/avx512vlvnniintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/avx512vlvp2intersectintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/avx512vnniintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/avx512vp2intersectintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/avx512vpopcntdqintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/avx512vpopcntdqvlintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/avxintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/bmi2intrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/bmiintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/cetintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/cldemoteintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/clflushoptintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/clwbintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/clzerointrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/cpuid.h +OLD_FILES+=usr/lib/clang/10.0.1/include/emmintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/enqcmdintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/f16cintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/fma4intrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/fmaintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/fxsrintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/gfniintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/htmintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/htmxlintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/ia32intrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/immintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/invpcidintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/lwpintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/lzcntintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/mm3dnow.h +OLD_FILES+=usr/lib/clang/10.0.1/include/mm_malloc.h +OLD_FILES+=usr/lib/clang/10.0.1/include/mmintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/module.modulemap +OLD_FILES+=usr/lib/clang/10.0.1/include/movdirintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/msa.h +OLD_FILES+=usr/lib/clang/10.0.1/include/mwaitxintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/nmmintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/opencl-c-base.h +OLD_FILES+=usr/lib/clang/10.0.1/include/opencl-c.h +OLD_FILES+=usr/lib/clang/10.0.1/include/pconfigintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/pkuintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/pmmintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/popcntintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/prfchwintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/ptwriteintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/rdseedintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/rtmintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/s390intrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/sgxintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/shaintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/smmintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/tbmintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/tmmintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/vadefs.h +OLD_FILES+=usr/lib/clang/10.0.1/include/vaesintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/vecintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/vpclmulqdqintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/waitpkgintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/wbnoinvdintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/wmmintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/x86intrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/xmmintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/xopintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/xsavecintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/xsaveintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/xsaveoptintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/xsavesintrin.h +OLD_FILES+=usr/lib/clang/10.0.1/include/xtestintrin.h +OLD_DIRS+=usr/lib/clang/10.0.1/include +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.asan-aarch64.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.asan-aarch64.so +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.asan-arm.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.asan-arm.so +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.asan-armhf.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.asan-armhf.so +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.asan-i386.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.asan-i386.so +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.asan-preinit-aarch64.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.asan-preinit-arm.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.asan-preinit-armhf.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.asan-preinit-i386.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.asan-preinit-x86_64.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.asan-x86_64.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.asan-x86_64.so +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.asan_cxx-aarch64.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.asan_cxx-arm.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.asan_cxx-armhf.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.asan_cxx-i386.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.asan_cxx-x86_64.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.cfi-aarch64.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.cfi-arm.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.cfi-armhf.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.cfi-i386.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.cfi-x86_64.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.cfi_diag-aarch64.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.cfi_diag-arm.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.cfi_diag-armhf.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.cfi_diag-i386.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.cfi_diag-x86_64.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.dd-aarch64.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.dd-x86_64.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.fuzzer-aarch64.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.fuzzer-x86_64.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.fuzzer_no_main-aarch64.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.fuzzer_no_main-x86_64.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.msan-aarch64.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.msan-x86_64.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.msan_cxx-aarch64.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.msan_cxx-x86_64.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.profile-aarch64.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.profile-arm.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.profile-armhf.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.profile-i386.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.profile-powerpc.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.profile-powerpc64.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.profile-x86_64.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.safestack-aarch64.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.safestack-i386.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.safestack-x86_64.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.stats-aarch64.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.stats-arm.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.stats-armhf.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.stats-i386.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.stats-x86_64.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.stats_client-aarch64.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.stats_client-arm.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.stats_client-armhf.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.stats_client-i386.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.stats_client-x86_64.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.tsan-aarch64.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.tsan-x86_64.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.tsan_cxx-aarch64.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.tsan_cxx-x86_64.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.ubsan_minimal-aarch64.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.ubsan_minimal-arm.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.ubsan_minimal-armhf.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.ubsan_minimal-i386.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.ubsan_minimal-x86_64.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.ubsan_standalone-aarch64.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.ubsan_standalone-arm.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.ubsan_standalone-armhf.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.ubsan_standalone-i386.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.ubsan_standalone-x86_64.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.ubsan_standalone_cxx-aarch64.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.ubsan_standalone_cxx-arm.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.ubsan_standalone_cxx-armhf.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.ubsan_standalone_cxx-i386.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.ubsan_standalone_cxx-x86_64.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.xray-aarch64.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.xray-arm.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.xray-armhf.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.xray-basic-aarch64.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.xray-basic-arm.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.xray-basic-armhf.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.xray-basic-x86_64.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.xray-fdr-aarch64.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.xray-fdr-arm.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.xray-fdr-armhf.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.xray-fdr-x86_64.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.xray-profiling-aarch64.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.xray-profiling-arm.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.xray-profiling-armhf.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.xray-profiling-x86_64.a +OLD_FILES+=usr/lib/clang/10.0.1/lib/freebsd/libclang_rt.xray-x86_64.a +OLD_DIRS+=usr/lib/clang/10.0.1/lib/freebsd +OLD_DIRS+=usr/lib/clang/10.0.1/lib +OLD_DIRS+=usr/lib/clang/10.0.1 + # 20200729: remove long expired serial drivers OLD_FILES+=usr/share/man/man4/cy.4.gz OLD_FILES+=usr/share/man/man4/rc.4.gz @@ -282,7 +533,7 @@ OLD_LIBS+=usr/lib32/padlock.so OLD_FILES+=usr/include/private/event/event.h OLD_DIRS+=usr/include/private/event -# 20200523: new clang import which bumps version from 10.0.0 to 10.0.1.s +# 20200523: new clang import which bumps version from 10.0.0 to 10.0.1. OLD_FILES+=usr/lib/clang/10.0.0/include/cuda_wrappers/algorithm OLD_FILES+=usr/lib/clang/10.0.0/include/cuda_wrappers/complex OLD_FILES+=usr/lib/clang/10.0.0/include/cuda_wrappers/new Modified: projects/clang1100-import/UPDATING ============================================================================== --- projects/clang1100-import/UPDATING Thu Aug 6 19:30:00 2020 (r363984) +++ projects/clang1100-import/UPDATING Thu Aug 6 19:30:39 2020 (r363985) @@ -26,6 +26,12 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 13.x IS SLOW: disable the most expensive debugging functionality run "ln -s 'abort:false,junk:false' /etc/malloc.conf".) +2020mmdd: + Clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp have + been upgraded to 11.0.0. Please see the 20141231 entry below for + information about prerequisites and upgrading, if you are not already + using clang 3.5.0 or higher. + 20200729: r363679 has redefined some undefined behavior in regcomp(3); notably, extraneous escapes of most ordinary characters will no longer be From owner-svn-src-projects@freebsd.org Thu Aug 6 19:31:53 2020 Return-Path: Delivered-To: svn-src-projects@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7984A3A9811 for ; Thu, 6 Aug 2020 19:31:53 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BMzBx2fnxz4Vs3; Thu, 6 Aug 2020 19:31:53 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3F602B9F8; Thu, 6 Aug 2020 19:31:53 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 076JVrvJ069884; Thu, 6 Aug 2020 19:31:53 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 076JVrwJ069883; Thu, 6 Aug 2020 19:31:53 GMT (envelope-from dim@FreeBSD.org) Message-Id: <202008061931.076JVrwJ069883@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Thu, 6 Aug 2020 19:31:53 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r363986 - projects/clang1100-import/lib/libpam/modules/pam_exec X-SVN-Group: projects X-SVN-Commit-Author: dim X-SVN-Commit-Paths: projects/clang1100-import/lib/libpam/modules/pam_exec X-SVN-Commit-Revision: 363986 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Aug 2020 19:31:53 -0000 Author: dim Date: Thu Aug 6 19:31:52 2020 New Revision: 363986 URL: https://svnweb.freebsd.org/changeset/base/363986 Log: Apply tentative fix for clang 11 warning in pam_exec(8): lib/libpam/modules/pam_exec/pam_exec.c:222:56: error: format specifies type 'char *' but the argument has type 'const void *' [-Werror,-Wformat] if (asprintf(&envstr, "%s=%s", pam_item_env[i].name, item) < 0) ~~ ^~~~ Modified: projects/clang1100-import/lib/libpam/modules/pam_exec/pam_exec.c Modified: projects/clang1100-import/lib/libpam/modules/pam_exec/pam_exec.c ============================================================================== --- projects/clang1100-import/lib/libpam/modules/pam_exec/pam_exec.c Thu Aug 6 19:30:39 2020 (r363985) +++ projects/clang1100-import/lib/libpam/modules/pam_exec/pam_exec.c Thu Aug 6 19:31:52 2020 (r363986) @@ -219,7 +219,8 @@ _pam_exec(pam_handle_t *pamh, pam_err = pam_get_item(pamh, pam_item_env[i].item, &item); if (pam_err != PAM_SUCCESS || item == NULL) continue; - if (asprintf(&envstr, "%s=%s", pam_item_env[i].name, item) < 0) + if (asprintf(&envstr, "%s=%s", pam_item_env[i].name, + (const char *)item) < 0) OUT(PAM_BUF_ERR); envlist[envlen++] = envstr; envlist[envlen] = NULL; From owner-svn-src-projects@freebsd.org Thu Aug 6 19:35:01 2020 Return-Path: Delivered-To: svn-src-projects@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 228863A94E7 for ; Thu, 6 Aug 2020 19:35:01 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BMzGX6n7nz4W3l; Thu, 6 Aug 2020 19:35:00 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B32B3BBF2; Thu, 6 Aug 2020 19:35:00 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 076JZ0Bb071128; Thu, 6 Aug 2020 19:35:00 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 076JYuuT071087; Thu, 6 Aug 2020 19:34:56 GMT (envelope-from dim@FreeBSD.org) Message-Id: <202008061934.076JYuuT071087@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Thu, 6 Aug 2020 19:34:56 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r363987 - in projects/clang1100-import: . cddl/contrib/opensolaris/cmd/zinject cddl/contrib/opensolaris/lib/libzfs/common cddl/contrib/opensolaris/lib/libzfs_core/common contrib/bc cont... X-SVN-Group: projects X-SVN-Commit-Author: dim X-SVN-Commit-Paths: in projects/clang1100-import: . cddl/contrib/opensolaris/cmd/zinject cddl/contrib/opensolaris/lib/libzfs/common cddl/contrib/opensolaris/lib/libzfs_core/common contrib/bc contrib/bc/include contrib/bc... X-SVN-Commit-Revision: 363987 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Aug 2020 19:35:01 -0000 Author: dim Date: Thu Aug 6 19:34:55 2020 New Revision: 363987 URL: https://svnweb.freebsd.org/changeset/base/363987 Log: Merge ^/head r363739 through r363986. Added: projects/clang1100-import/contrib/bc/tests/bc/misc6.txt - copied unchanged from r363986, head/contrib/bc/tests/bc/misc6.txt projects/clang1100-import/contrib/bc/tests/bc/misc6_results.txt - copied unchanged from r363986, head/contrib/bc/tests/bc/misc6_results.txt projects/clang1100-import/contrib/bc/tests/bc/misc7.txt - copied unchanged from r363986, head/contrib/bc/tests/bc/misc7.txt projects/clang1100-import/contrib/bc/tests/bc/misc7_results.txt - copied unchanged from r363986, head/contrib/bc/tests/bc/misc7_results.txt projects/clang1100-import/contrib/bc/tests/bc/stdin1.txt - copied unchanged from r363986, head/contrib/bc/tests/bc/stdin1.txt projects/clang1100-import/contrib/bc/tests/bc/stdin1_results.txt - copied unchanged from r363986, head/contrib/bc/tests/bc/stdin1_results.txt projects/clang1100-import/contrib/bc/tests/bc/stdin2.txt - copied unchanged from r363986, head/contrib/bc/tests/bc/stdin2.txt projects/clang1100-import/contrib/bc/tests/bc/stdin2_results.txt - copied unchanged from r363986, head/contrib/bc/tests/bc/stdin2_results.txt projects/clang1100-import/lib/libc/riscv/gen/fpgetmask.c - copied unchanged from r363986, head/lib/libc/riscv/gen/fpgetmask.c projects/clang1100-import/lib/libc/riscv/gen/fpsetmask.c - copied unchanged from r363986, head/lib/libc/riscv/gen/fpsetmask.c projects/clang1100-import/share/man/man4/gpiokeys.4 - copied unchanged from r363986, head/share/man/man4/gpiokeys.4 projects/clang1100-import/sys/amd64/include/iommu.h - copied unchanged from r363986, head/sys/amd64/include/iommu.h projects/clang1100-import/sys/arm/broadcom/bcm2835/bcm2838_xhci.c - copied unchanged from r363986, head/sys/arm/broadcom/bcm2835/bcm2838_xhci.c projects/clang1100-import/sys/arm/broadcom/bcm2835/raspberrypi_gpio.c - copied unchanged from r363986, head/sys/arm/broadcom/bcm2835/raspberrypi_gpio.c projects/clang1100-import/sys/compat/linuxkpi/common/include/linux/sizes.h - copied unchanged from r363986, head/sys/compat/linuxkpi/common/include/linux/sizes.h projects/clang1100-import/sys/dev/usb/misc/cp2112.c - copied unchanged from r363986, head/sys/dev/usb/misc/cp2112.c projects/clang1100-import/sys/gnu/dts/arm/am5729-beagleboneai.dts - copied unchanged from r363986, head/sys/gnu/dts/arm/am5729-beagleboneai.dts projects/clang1100-import/sys/gnu/dts/arm/aspeed-bmc-facebook-yosemitev2.dts - copied unchanged from r363986, head/sys/gnu/dts/arm/aspeed-bmc-facebook-yosemitev2.dts projects/clang1100-import/sys/gnu/dts/arm/aspeed-bmc-opp-nicole.dts - copied unchanged from r363986, head/sys/gnu/dts/arm/aspeed-bmc-opp-nicole.dts projects/clang1100-import/sys/gnu/dts/arm/at91-sama5d2_icp.dts - copied unchanged from r363986, head/sys/gnu/dts/arm/at91-sama5d2_icp.dts projects/clang1100-import/sys/gnu/dts/arm/bcm2835-rpi-common.dtsi - copied unchanged from r363986, head/sys/gnu/dts/arm/bcm2835-rpi-common.dtsi projects/clang1100-import/sys/gnu/dts/arm/dra7-ipu-dsp-common.dtsi - copied unchanged from r363986, head/sys/gnu/dts/arm/dra7-ipu-dsp-common.dtsi projects/clang1100-import/sys/gnu/dts/arm/dra74-ipu-dsp-common.dtsi - copied unchanged from r363986, head/sys/gnu/dts/arm/dra74-ipu-dsp-common.dtsi projects/clang1100-import/sys/gnu/dts/arm/exynos4210-i9100.dts - copied unchanged from r363986, head/sys/gnu/dts/arm/exynos4210-i9100.dts projects/clang1100-import/sys/gnu/dts/arm/imx6dl-colibri-v1_1-eval-v3.dts - copied unchanged from r363986, head/sys/gnu/dts/arm/imx6dl-colibri-v1_1-eval-v3.dts projects/clang1100-import/sys/gnu/dts/arm/imx6qdl-colibri-v1_1-uhs.dtsi - copied unchanged from r363986, head/sys/gnu/dts/arm/imx6qdl-colibri-v1_1-uhs.dtsi projects/clang1100-import/sys/gnu/dts/arm/integratorap-im-pd1.dts - copied unchanged from r363986, head/sys/gnu/dts/arm/integratorap-im-pd1.dts projects/clang1100-import/sys/gnu/dts/arm/kirkwood-l-50.dts - copied unchanged from r363986, head/sys/gnu/dts/arm/kirkwood-l-50.dts projects/clang1100-import/sys/gnu/dts/arm/r8a7742-iwg21d-q7.dts - copied unchanged from r363986, head/sys/gnu/dts/arm/r8a7742-iwg21d-q7.dts projects/clang1100-import/sys/gnu/dts/arm/r8a7742-iwg21m.dtsi - copied unchanged from r363986, head/sys/gnu/dts/arm/r8a7742-iwg21m.dtsi projects/clang1100-import/sys/gnu/dts/arm/r8a7742.dtsi - copied unchanged from r363986, head/sys/gnu/dts/arm/r8a7742.dtsi projects/clang1100-import/sys/gnu/dts/arm/rtd1195-horseradish.dts - copied unchanged from r363986, head/sys/gnu/dts/arm/rtd1195-horseradish.dts projects/clang1100-import/sys/gnu/dts/arm/rtd1195-mele-x1000.dts - copied unchanged from r363986, head/sys/gnu/dts/arm/rtd1195-mele-x1000.dts projects/clang1100-import/sys/gnu/dts/arm/rtd1195.dtsi - copied unchanged from r363986, head/sys/gnu/dts/arm/rtd1195.dtsi projects/clang1100-import/sys/gnu/dts/arm/stm32mp157a-dhcor-avenger96.dts - copied unchanged from r363986, head/sys/gnu/dts/arm/stm32mp157a-dhcor-avenger96.dts projects/clang1100-import/sys/gnu/dts/arm/stm32mp157a-iot-box.dts - copied unchanged from r363986, head/sys/gnu/dts/arm/stm32mp157a-iot-box.dts projects/clang1100-import/sys/gnu/dts/arm/stm32mp157a-stinger96.dts - copied unchanged from r363986, head/sys/gnu/dts/arm/stm32mp157a-stinger96.dts projects/clang1100-import/sys/gnu/dts/arm/stm32mp157a-stinger96.dtsi - copied unchanged from r363986, head/sys/gnu/dts/arm/stm32mp157a-stinger96.dtsi projects/clang1100-import/sys/gnu/dts/arm/stm32mp157c-lxa-mc1.dts - copied unchanged from r363986, head/sys/gnu/dts/arm/stm32mp157c-lxa-mc1.dts projects/clang1100-import/sys/gnu/dts/arm/stm32mp15xx-dhcom-pdk2.dtsi - copied unchanged from r363986, head/sys/gnu/dts/arm/stm32mp15xx-dhcom-pdk2.dtsi projects/clang1100-import/sys/gnu/dts/arm/stm32mp15xx-dhcom-som.dtsi - copied unchanged from r363986, head/sys/gnu/dts/arm/stm32mp15xx-dhcom-som.dtsi projects/clang1100-import/sys/gnu/dts/arm/stm32mp15xx-dhcor-avenger96.dtsi - copied unchanged from r363986, head/sys/gnu/dts/arm/stm32mp15xx-dhcor-avenger96.dtsi projects/clang1100-import/sys/gnu/dts/arm/stm32mp15xx-dhcor-io1v8.dtsi - copied unchanged from r363986, head/sys/gnu/dts/arm/stm32mp15xx-dhcor-io1v8.dtsi projects/clang1100-import/sys/gnu/dts/arm/stm32mp15xx-dhcor-som.dtsi - copied unchanged from r363986, head/sys/gnu/dts/arm/stm32mp15xx-dhcor-som.dtsi projects/clang1100-import/sys/gnu/dts/arm/stm32mp15xx-osd32.dtsi - copied unchanged from r363986, head/sys/gnu/dts/arm/stm32mp15xx-osd32.dtsi projects/clang1100-import/sys/gnu/dts/arm/sun7i-a20-olinuxino-lime-emmc.dts - copied unchanged from r363986, head/sys/gnu/dts/arm/sun7i-a20-olinuxino-lime-emmc.dts projects/clang1100-import/sys/gnu/dts/arm64/allwinner/sun50i-h6-cpu-opp.dtsi - copied unchanged from r363986, head/sys/gnu/dts/arm64/allwinner/sun50i-h6-cpu-opp.dtsi projects/clang1100-import/sys/gnu/dts/arm64/amlogic/meson-g12b-gtking-pro.dts - copied unchanged from r363986, head/sys/gnu/dts/arm64/amlogic/meson-g12b-gtking-pro.dts projects/clang1100-import/sys/gnu/dts/arm64/amlogic/meson-g12b-gtking.dts - copied unchanged from r363986, head/sys/gnu/dts/arm64/amlogic/meson-g12b-gtking.dts projects/clang1100-import/sys/gnu/dts/arm64/amlogic/meson-g12b-w400.dtsi - copied unchanged from r363986, head/sys/gnu/dts/arm64/amlogic/meson-g12b-w400.dtsi projects/clang1100-import/sys/gnu/dts/arm64/amlogic/meson-gxl-s805x.dtsi - copied unchanged from r363986, head/sys/gnu/dts/arm64/amlogic/meson-gxl-s805x.dtsi projects/clang1100-import/sys/gnu/dts/arm64/amlogic/meson-gxl-s905d-sml5442tw.dts - copied unchanged from r363986, head/sys/gnu/dts/arm64/amlogic/meson-gxl-s905d-sml5442tw.dts projects/clang1100-import/sys/gnu/dts/arm64/amlogic/meson-sm1-odroid-c4.dts - copied unchanged from r363986, head/sys/gnu/dts/arm64/amlogic/meson-sm1-odroid-c4.dts projects/clang1100-import/sys/gnu/dts/arm64/freescale/imx8mm-beacon-baseboard.dtsi - copied unchanged from r363986, head/sys/gnu/dts/arm64/freescale/imx8mm-beacon-baseboard.dtsi projects/clang1100-import/sys/gnu/dts/arm64/freescale/imx8mm-beacon-kit.dts - copied unchanged from r363986, head/sys/gnu/dts/arm64/freescale/imx8mm-beacon-kit.dts projects/clang1100-import/sys/gnu/dts/arm64/freescale/imx8mm-beacon-som.dtsi - copied unchanged from r363986, head/sys/gnu/dts/arm64/freescale/imx8mm-beacon-som.dtsi projects/clang1100-import/sys/gnu/dts/arm64/mediatek/mt6358.dtsi - copied unchanged from r363986, head/sys/gnu/dts/arm64/mediatek/mt6358.dtsi projects/clang1100-import/sys/gnu/dts/arm64/mediatek/mt8173-elm-hana-rev7.dts - copied unchanged from r363986, head/sys/gnu/dts/arm64/mediatek/mt8173-elm-hana-rev7.dts projects/clang1100-import/sys/gnu/dts/arm64/mediatek/mt8173-elm-hana.dts - copied unchanged from r363986, head/sys/gnu/dts/arm64/mediatek/mt8173-elm-hana.dts projects/clang1100-import/sys/gnu/dts/arm64/mediatek/mt8173-elm-hana.dtsi - copied unchanged from r363986, head/sys/gnu/dts/arm64/mediatek/mt8173-elm-hana.dtsi projects/clang1100-import/sys/gnu/dts/arm64/mediatek/mt8173-elm.dts - copied unchanged from r363986, head/sys/gnu/dts/arm64/mediatek/mt8173-elm.dts projects/clang1100-import/sys/gnu/dts/arm64/mediatek/mt8173-elm.dtsi - copied unchanged from r363986, head/sys/gnu/dts/arm64/mediatek/mt8173-elm.dtsi projects/clang1100-import/sys/gnu/dts/arm64/qcom/sdm660-xiaomi-lavender.dts - copied unchanged from r363986, head/sys/gnu/dts/arm64/qcom/sdm660-xiaomi-lavender.dts projects/clang1100-import/sys/gnu/dts/arm64/qcom/sdm660.dtsi - copied unchanged from r363986, head/sys/gnu/dts/arm64/qcom/sdm660.dtsi projects/clang1100-import/sys/gnu/dts/arm64/realtek/rtd1295-xnano-x5.dts - copied unchanged from r363986, head/sys/gnu/dts/arm64/realtek/rtd1295-xnano-x5.dts projects/clang1100-import/sys/gnu/dts/arm64/realtek/rtd1395-bpi-m4.dts - copied unchanged from r363986, head/sys/gnu/dts/arm64/realtek/rtd1395-bpi-m4.dts projects/clang1100-import/sys/gnu/dts/arm64/realtek/rtd1395-lionskin.dts - copied unchanged from r363986, head/sys/gnu/dts/arm64/realtek/rtd1395-lionskin.dts projects/clang1100-import/sys/gnu/dts/arm64/realtek/rtd1395.dtsi - copied unchanged from r363986, head/sys/gnu/dts/arm64/realtek/rtd1395.dtsi projects/clang1100-import/sys/gnu/dts/arm64/realtek/rtd139x.dtsi - copied unchanged from r363986, head/sys/gnu/dts/arm64/realtek/rtd139x.dtsi projects/clang1100-import/sys/gnu/dts/arm64/realtek/rtd1619-mjolnir.dts - copied unchanged from r363986, head/sys/gnu/dts/arm64/realtek/rtd1619-mjolnir.dts projects/clang1100-import/sys/gnu/dts/arm64/realtek/rtd1619.dtsi - copied unchanged from r363986, head/sys/gnu/dts/arm64/realtek/rtd1619.dtsi projects/clang1100-import/sys/gnu/dts/arm64/realtek/rtd16xx.dtsi - copied unchanged from r363986, head/sys/gnu/dts/arm64/realtek/rtd16xx.dtsi projects/clang1100-import/sys/gnu/dts/arm64/renesas/aistarvision-mipi-adapter-2.1.dtsi - copied unchanged from r363986, head/sys/gnu/dts/arm64/renesas/aistarvision-mipi-adapter-2.1.dtsi projects/clang1100-import/sys/gnu/dts/arm64/renesas/r8a774c0-ek874-mipi-2.1.dts - copied unchanged from r363986, head/sys/gnu/dts/arm64/renesas/r8a774c0-ek874-mipi-2.1.dts projects/clang1100-import/sys/gnu/dts/arm64/rockchip/rk3326-odroid-go2.dts - copied unchanged from r363986, head/sys/gnu/dts/arm64/rockchip/rk3326-odroid-go2.dts projects/clang1100-import/sys/gnu/dts/arm64/rockchip/rk3326.dtsi - copied unchanged from r363986, head/sys/gnu/dts/arm64/rockchip/rk3326.dtsi projects/clang1100-import/sys/gnu/dts/arm64/socionext/uniphier-ld20-akebi96.dts - copied unchanged from r363986, head/sys/gnu/dts/arm64/socionext/uniphier-ld20-akebi96.dts projects/clang1100-import/sys/gnu/dts/arm64/ti/k3-am654-industrial-thermal.dtsi - copied unchanged from r363986, head/sys/gnu/dts/arm64/ti/k3-am654-industrial-thermal.dtsi projects/clang1100-import/sys/gnu/dts/include/dt-bindings/clock/agilex-clock.h - copied unchanged from r363986, head/sys/gnu/dts/include/dt-bindings/clock/agilex-clock.h projects/clang1100-import/sys/gnu/dts/include/dt-bindings/clock/bt1-ccu.h - copied unchanged from r363986, head/sys/gnu/dts/include/dt-bindings/clock/bt1-ccu.h projects/clang1100-import/sys/gnu/dts/include/dt-bindings/clock/intel,lgm-clk.h - copied unchanged from r363986, head/sys/gnu/dts/include/dt-bindings/clock/intel,lgm-clk.h projects/clang1100-import/sys/gnu/dts/include/dt-bindings/clock/marvell,mmp2-audio.h - copied unchanged from r363986, head/sys/gnu/dts/include/dt-bindings/clock/marvell,mmp2-audio.h projects/clang1100-import/sys/gnu/dts/include/dt-bindings/clock/mt6765-clk.h - copied unchanged from r363986, head/sys/gnu/dts/include/dt-bindings/clock/mt6765-clk.h projects/clang1100-import/sys/gnu/dts/include/dt-bindings/clock/qcom,gcc-msm8939.h - copied unchanged from r363986, head/sys/gnu/dts/include/dt-bindings/clock/qcom,gcc-msm8939.h projects/clang1100-import/sys/gnu/dts/include/dt-bindings/clock/r8a7742-cpg-mssr.h - copied unchanged from r363986, head/sys/gnu/dts/include/dt-bindings/clock/r8a7742-cpg-mssr.h projects/clang1100-import/sys/gnu/dts/include/dt-bindings/clock/x1830-cgu.h - copied unchanged from r363986, head/sys/gnu/dts/include/dt-bindings/clock/x1830-cgu.h projects/clang1100-import/sys/gnu/dts/include/dt-bindings/interconnect/imx8mm.h - copied unchanged from r363986, head/sys/gnu/dts/include/dt-bindings/interconnect/imx8mm.h projects/clang1100-import/sys/gnu/dts/include/dt-bindings/interconnect/imx8mn.h - copied unchanged from r363986, head/sys/gnu/dts/include/dt-bindings/interconnect/imx8mn.h projects/clang1100-import/sys/gnu/dts/include/dt-bindings/interconnect/imx8mq.h - copied unchanged from r363986, head/sys/gnu/dts/include/dt-bindings/interconnect/imx8mq.h projects/clang1100-import/sys/gnu/dts/include/dt-bindings/mailbox/qcom-ipcc.h - copied unchanged from r363986, head/sys/gnu/dts/include/dt-bindings/mailbox/qcom-ipcc.h projects/clang1100-import/sys/gnu/dts/include/dt-bindings/pinctrl/pads-imx8dxl.h - copied unchanged from r363986, head/sys/gnu/dts/include/dt-bindings/pinctrl/pads-imx8dxl.h projects/clang1100-import/sys/gnu/dts/include/dt-bindings/power/marvell,mmp2.h - copied unchanged from r363986, head/sys/gnu/dts/include/dt-bindings/power/marvell,mmp2.h projects/clang1100-import/sys/gnu/dts/include/dt-bindings/power/meson-gxbb-power.h - copied unchanged from r363986, head/sys/gnu/dts/include/dt-bindings/power/meson-gxbb-power.h projects/clang1100-import/sys/gnu/dts/include/dt-bindings/power/meson8-power.h - copied unchanged from r363986, head/sys/gnu/dts/include/dt-bindings/power/meson8-power.h projects/clang1100-import/sys/gnu/dts/include/dt-bindings/power/r8a7742-sysc.h - copied unchanged from r363986, head/sys/gnu/dts/include/dt-bindings/power/r8a7742-sysc.h projects/clang1100-import/sys/gnu/dts/include/dt-bindings/reset/bt1-ccu.h - copied unchanged from r363986, head/sys/gnu/dts/include/dt-bindings/reset/bt1-ccu.h projects/clang1100-import/sys/gnu/dts/include/dt-bindings/reset/imx8mp-reset.h - copied unchanged from r363986, head/sys/gnu/dts/include/dt-bindings/reset/imx8mp-reset.h projects/clang1100-import/sys/gnu/dts/include/dt-bindings/reset/qcom,gcc-msm8939.h - copied unchanged from r363986, head/sys/gnu/dts/include/dt-bindings/reset/qcom,gcc-msm8939.h projects/clang1100-import/sys/gnu/dts/include/dt-bindings/reset/realtek,rtd1195.h - copied unchanged from r363986, head/sys/gnu/dts/include/dt-bindings/reset/realtek,rtd1195.h projects/clang1100-import/sys/i386/include/iommu.h - copied unchanged from r363986, head/sys/i386/include/iommu.h projects/clang1100-import/sys/modules/usb/cp2112/ - copied from r363986, head/sys/modules/usb/cp2112/ projects/clang1100-import/sys/x86/include/iommu.h - copied unchanged from r363986, head/sys/x86/include/iommu.h projects/clang1100-import/usr.bin/gh-bc/tests/ - copied from r363986, head/usr.bin/gh-bc/tests/ Deleted: projects/clang1100-import/sys/gnu/dts/arm/stm32mp157c-dhcom-som.dtsi projects/clang1100-import/sys/gnu/dts/arm64/qcom/apq8016-sbc-pmic-pins.dtsi projects/clang1100-import/sys/gnu/dts/arm64/qcom/apq8016-sbc-soc-pins.dtsi Modified: projects/clang1100-import/Makefile.inc1 projects/clang1100-import/ObsoleteFiles.inc projects/clang1100-import/cddl/contrib/opensolaris/cmd/zinject/translate.c projects/clang1100-import/cddl/contrib/opensolaris/lib/libzfs/common/libzfs.h projects/clang1100-import/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_pool.c projects/clang1100-import/cddl/contrib/opensolaris/lib/libzfs_core/common/libzfs_core.c projects/clang1100-import/cddl/contrib/opensolaris/lib/libzfs_core/common/libzfs_core.h projects/clang1100-import/contrib/bc/Makefile.in projects/clang1100-import/contrib/bc/NEWS.md projects/clang1100-import/contrib/bc/README.md projects/clang1100-import/contrib/bc/include/bc.h projects/clang1100-import/contrib/bc/include/vm.h projects/clang1100-import/contrib/bc/locales/zh_CN.GB18030.msg projects/clang1100-import/contrib/bc/locales/zh_CN.GB2312.msg projects/clang1100-import/contrib/bc/locales/zh_CN.GBK.msg projects/clang1100-import/contrib/bc/locales/zh_CN.UTF-8.msg projects/clang1100-import/contrib/bc/locales/zh_CN.eucCN.msg projects/clang1100-import/contrib/bc/manuals/bc.1.md.in projects/clang1100-import/contrib/bc/manuals/bc/A.1 projects/clang1100-import/contrib/bc/manuals/bc/A.1.md projects/clang1100-import/contrib/bc/manuals/bc/E.1 projects/clang1100-import/contrib/bc/manuals/bc/E.1.md projects/clang1100-import/contrib/bc/manuals/bc/EH.1 projects/clang1100-import/contrib/bc/manuals/bc/EH.1.md projects/clang1100-import/contrib/bc/manuals/bc/EHN.1 projects/clang1100-import/contrib/bc/manuals/bc/EHN.1.md projects/clang1100-import/contrib/bc/manuals/bc/EHNP.1 projects/clang1100-import/contrib/bc/manuals/bc/EHNP.1.md projects/clang1100-import/contrib/bc/manuals/bc/EHP.1 projects/clang1100-import/contrib/bc/manuals/bc/EHP.1.md projects/clang1100-import/contrib/bc/manuals/bc/EN.1 projects/clang1100-import/contrib/bc/manuals/bc/EN.1.md projects/clang1100-import/contrib/bc/manuals/bc/ENP.1 projects/clang1100-import/contrib/bc/manuals/bc/ENP.1.md projects/clang1100-import/contrib/bc/manuals/bc/EP.1 projects/clang1100-import/contrib/bc/manuals/bc/EP.1.md projects/clang1100-import/contrib/bc/manuals/bc/H.1 projects/clang1100-import/contrib/bc/manuals/bc/H.1.md projects/clang1100-import/contrib/bc/manuals/bc/HN.1 projects/clang1100-import/contrib/bc/manuals/bc/HN.1.md projects/clang1100-import/contrib/bc/manuals/bc/HNP.1 projects/clang1100-import/contrib/bc/manuals/bc/HNP.1.md projects/clang1100-import/contrib/bc/manuals/bc/HP.1 projects/clang1100-import/contrib/bc/manuals/bc/HP.1.md projects/clang1100-import/contrib/bc/manuals/bc/N.1 projects/clang1100-import/contrib/bc/manuals/bc/N.1.md projects/clang1100-import/contrib/bc/manuals/bc/NP.1 projects/clang1100-import/contrib/bc/manuals/bc/NP.1.md projects/clang1100-import/contrib/bc/manuals/bc/P.1 projects/clang1100-import/contrib/bc/manuals/bc/P.1.md projects/clang1100-import/contrib/bc/manuals/dc.1.md.in projects/clang1100-import/contrib/bc/manuals/dc/A.1 projects/clang1100-import/contrib/bc/manuals/dc/A.1.md projects/clang1100-import/contrib/bc/manuals/dc/E.1 projects/clang1100-import/contrib/bc/manuals/dc/E.1.md projects/clang1100-import/contrib/bc/manuals/dc/EH.1 projects/clang1100-import/contrib/bc/manuals/dc/EH.1.md projects/clang1100-import/contrib/bc/manuals/dc/EHN.1 projects/clang1100-import/contrib/bc/manuals/dc/EHN.1.md projects/clang1100-import/contrib/bc/manuals/dc/EHNP.1 projects/clang1100-import/contrib/bc/manuals/dc/EHNP.1.md projects/clang1100-import/contrib/bc/manuals/dc/EHP.1 projects/clang1100-import/contrib/bc/manuals/dc/EHP.1.md projects/clang1100-import/contrib/bc/manuals/dc/EN.1 projects/clang1100-import/contrib/bc/manuals/dc/EN.1.md projects/clang1100-import/contrib/bc/manuals/dc/ENP.1 projects/clang1100-import/contrib/bc/manuals/dc/ENP.1.md projects/clang1100-import/contrib/bc/manuals/dc/EP.1 projects/clang1100-import/contrib/bc/manuals/dc/EP.1.md projects/clang1100-import/contrib/bc/manuals/dc/H.1 projects/clang1100-import/contrib/bc/manuals/dc/H.1.md projects/clang1100-import/contrib/bc/manuals/dc/HN.1 projects/clang1100-import/contrib/bc/manuals/dc/HN.1.md projects/clang1100-import/contrib/bc/manuals/dc/HNP.1 projects/clang1100-import/contrib/bc/manuals/dc/HNP.1.md projects/clang1100-import/contrib/bc/manuals/dc/HP.1 projects/clang1100-import/contrib/bc/manuals/dc/HP.1.md projects/clang1100-import/contrib/bc/manuals/dc/N.1 projects/clang1100-import/contrib/bc/manuals/dc/N.1.md projects/clang1100-import/contrib/bc/manuals/dc/NP.1 projects/clang1100-import/contrib/bc/manuals/dc/NP.1.md projects/clang1100-import/contrib/bc/manuals/dc/P.1 projects/clang1100-import/contrib/bc/manuals/dc/P.1.md projects/clang1100-import/contrib/bc/src/args.c projects/clang1100-import/contrib/bc/src/bc/bc.c projects/clang1100-import/contrib/bc/src/bc/parse.c projects/clang1100-import/contrib/bc/src/dc/dc.c projects/clang1100-import/contrib/bc/src/program.c projects/clang1100-import/contrib/bc/src/vm.c projects/clang1100-import/contrib/bc/tests/bc/all.txt projects/clang1100-import/contrib/ipfilter/iplang/iplang_y.y projects/clang1100-import/etc/mtree/BSD.tests.dist projects/clang1100-import/lib/Makefile projects/clang1100-import/lib/csu/mips/Makefile projects/clang1100-import/lib/googletest/gtest/Makefile projects/clang1100-import/lib/libc/gen/directory.3 projects/clang1100-import/lib/libc/gen/getpeereid.c projects/clang1100-import/lib/libc/gen/setmode.c projects/clang1100-import/lib/libc/powerpc64/gen/makecontext.c projects/clang1100-import/lib/libc/regex/regcomp.c projects/clang1100-import/lib/libc/regex/regex.3 projects/clang1100-import/lib/libc/regex/regex2.h projects/clang1100-import/lib/libc/riscv/gen/Makefile.inc projects/clang1100-import/lib/libdevinfo/Makefile projects/clang1100-import/lib/libdevinfo/devinfo.c projects/clang1100-import/lib/libpmcstat/libpmcstat.h projects/clang1100-import/lib/libregex/tests/gnuext.in projects/clang1100-import/lib/libregex/tests/libregex_test.sh projects/clang1100-import/lib/ncurses/ncurses/Makefile projects/clang1100-import/release/packages/kernel.ucl projects/clang1100-import/release/packages/runtime.ucl projects/clang1100-import/sbin/ipfw/nat64clat.c projects/clang1100-import/sbin/ipfw/nat64stl.c projects/clang1100-import/sbin/route/tests/basic.sh projects/clang1100-import/share/dtrace/mbuf.d projects/clang1100-import/share/examples/etc/make.conf projects/clang1100-import/share/examples/ipfilter/Makefile projects/clang1100-import/share/examples/smbfs/Makefile projects/clang1100-import/share/examples/smbfs/print/Makefile projects/clang1100-import/share/man/man4/unix.4 projects/clang1100-import/share/man/man5/core.5 projects/clang1100-import/share/man/man7/build.7 projects/clang1100-import/share/man/man7/environ.7 projects/clang1100-import/share/man/man7/ports.7 projects/clang1100-import/share/man/man9/Makefile projects/clang1100-import/share/man/man9/malloc.9 projects/clang1100-import/share/man/man9/zone.9 projects/clang1100-import/share/mk/bsd.sys.mk projects/clang1100-import/share/mk/src.libnames.mk projects/clang1100-import/sys/arm/allwinner/clkng/aw_clk_nm.c projects/clang1100-import/sys/arm/allwinner/clkng/ccu_sun8i_r.c projects/clang1100-import/sys/arm/broadcom/bcm2835/bcm2835_firmware.c projects/clang1100-import/sys/arm/broadcom/bcm2835/bcm2835_mbox.c projects/clang1100-import/sys/arm/broadcom/bcm2835/bcm2835_mbox_prop.h projects/clang1100-import/sys/arm/broadcom/bcm2835/files.bcm283x projects/clang1100-import/sys/arm64/conf/GENERIC projects/clang1100-import/sys/arm64/include/profile.h projects/clang1100-import/sys/arm64/rockchip/clk/rk3328_cru.c projects/clang1100-import/sys/arm64/rockchip/clk/rk_clk_composite.c projects/clang1100-import/sys/arm64/rockchip/clk/rk_clk_composite.h projects/clang1100-import/sys/cam/ctl/ctl.c projects/clang1100-import/sys/cam/ctl/ctl_cmd_table.c projects/clang1100-import/sys/cam/ctl/ctl_private.h projects/clang1100-import/sys/cam/mmc/mmc_all.h projects/clang1100-import/sys/cam/mmc/mmc_da.c projects/clang1100-import/sys/cam/mmc/mmc_xpt.c projects/clang1100-import/sys/cam/scsi/scsi_all.h projects/clang1100-import/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/vdev.h projects/clang1100-import/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/vdev_impl.h projects/clang1100-import/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev.c projects/clang1100-import/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_label.c projects/clang1100-import/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c projects/clang1100-import/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c projects/clang1100-import/sys/cddl/contrib/opensolaris/uts/common/sys/fs/zfs.h projects/clang1100-import/sys/compat/freebsd32/freebsd32_misc.c projects/clang1100-import/sys/compat/linuxkpi/common/include/linux/bitops.h projects/clang1100-import/sys/compat/linuxkpi/common/include/linux/dma-mapping.h projects/clang1100-import/sys/compat/linuxkpi/common/include/linux/jiffies.h projects/clang1100-import/sys/compat/linuxkpi/common/include/linux/kref.h projects/clang1100-import/sys/compat/linuxkpi/common/include/linux/mutex.h projects/clang1100-import/sys/conf/files projects/clang1100-import/sys/conf/files.arm64 projects/clang1100-import/sys/dev/ahci/ahci_pci.c projects/clang1100-import/sys/dev/fdt/simplebus.c projects/clang1100-import/sys/dev/fdt/simplebus.h projects/clang1100-import/sys/dev/hwpmc/hwpmc_mod.c projects/clang1100-import/sys/dev/ioat/ioat.c projects/clang1100-import/sys/dev/iommu/busdma_iommu.c projects/clang1100-import/sys/dev/iommu/iommu.h projects/clang1100-import/sys/dev/iommu/iommu_gas.c projects/clang1100-import/sys/dev/mpr/mpr_sas.c projects/clang1100-import/sys/dev/mps/mps_sas.c projects/clang1100-import/sys/dev/neta/if_mvneta.c projects/clang1100-import/sys/dev/nvme/nvme_qpair.c projects/clang1100-import/sys/dev/rtwn/usb/rtwn_usb_attach.h projects/clang1100-import/sys/dev/safexcel/safexcel.c projects/clang1100-import/sys/dev/usb/controller/xhci.h projects/clang1100-import/sys/dev/usb/controller/xhci_pci.c projects/clang1100-import/sys/dev/usb/usbdevs projects/clang1100-import/sys/dev/vt/vt_core.c projects/clang1100-import/sys/fs/cd9660/cd9660_vnops.c projects/clang1100-import/sys/fs/devfs/devfs_vnops.c projects/clang1100-import/sys/fs/ext2fs/ext2_vnops.c projects/clang1100-import/sys/fs/fuse/fuse_internal.c projects/clang1100-import/sys/fs/msdosfs/msdosfs_vnops.c projects/clang1100-import/sys/fs/nfs/nfs_var.h projects/clang1100-import/sys/fs/nfsclient/nfs_clvnops.c projects/clang1100-import/sys/fs/nfsserver/nfs_nfsdport.c projects/clang1100-import/sys/fs/nfsserver/nfs_nfsdserv.c projects/clang1100-import/sys/fs/pseudofs/pseudofs_vnops.c projects/clang1100-import/sys/fs/smbfs/smbfs_vnops.c projects/clang1100-import/sys/fs/tmpfs/tmpfs_vnops.c projects/clang1100-import/sys/fs/udf/udf_vnops.c projects/clang1100-import/sys/gnu/dts/arm/am335x-baltos.dtsi projects/clang1100-import/sys/gnu/dts/arm/am335x-boneblack-common.dtsi projects/clang1100-import/sys/gnu/dts/arm/am335x-boneblack-wireless.dts projects/clang1100-import/sys/gnu/dts/arm/am335x-boneblue.dts projects/clang1100-import/sys/gnu/dts/arm/am335x-bonegreen-wireless.dts projects/clang1100-import/sys/gnu/dts/arm/am335x-evm.dts projects/clang1100-import/sys/gnu/dts/arm/am335x-evmsk.dts projects/clang1100-import/sys/gnu/dts/arm/am335x-guardian.dts projects/clang1100-import/sys/gnu/dts/arm/am335x-lxm.dts projects/clang1100-import/sys/gnu/dts/arm/am335x-moxa-uc-2100-common.dtsi projects/clang1100-import/sys/gnu/dts/arm/am335x-moxa-uc-8100-me-t.dts projects/clang1100-import/sys/gnu/dts/arm/am335x-pepper.dts projects/clang1100-import/sys/gnu/dts/arm/am335x-phycore-som.dtsi projects/clang1100-import/sys/gnu/dts/arm/am335x-pocketbeagle.dts projects/clang1100-import/sys/gnu/dts/arm/am33xx-l4.dtsi projects/clang1100-import/sys/gnu/dts/arm/am33xx.dtsi projects/clang1100-import/sys/gnu/dts/arm/am3517-evm.dts projects/clang1100-import/sys/gnu/dts/arm/am3517.dtsi projects/clang1100-import/sys/gnu/dts/arm/am4372.dtsi projects/clang1100-import/sys/gnu/dts/arm/am437x-cm-t43.dts projects/clang1100-import/sys/gnu/dts/arm/am437x-gp-evm.dts projects/clang1100-import/sys/gnu/dts/arm/am437x-l4.dtsi projects/clang1100-import/sys/gnu/dts/arm/am437x-sk-evm.dts projects/clang1100-import/sys/gnu/dts/arm/am43x-epos-evm.dts projects/clang1100-import/sys/gnu/dts/arm/am571x-idk.dts projects/clang1100-import/sys/gnu/dts/arm/am572x-idk-common.dtsi projects/clang1100-import/sys/gnu/dts/arm/am57xx-beagle-x15-common.dtsi projects/clang1100-import/sys/gnu/dts/arm/am57xx-idk-common.dtsi projects/clang1100-import/sys/gnu/dts/arm/armada-370-xp.dtsi projects/clang1100-import/sys/gnu/dts/arm/armada-375.dtsi projects/clang1100-import/sys/gnu/dts/arm/armada-38x.dtsi projects/clang1100-import/sys/gnu/dts/arm/armada-39x.dtsi projects/clang1100-import/sys/gnu/dts/arm/aspeed-ast2600-evb.dts projects/clang1100-import/sys/gnu/dts/arm/aspeed-bmc-facebook-tiogapass.dts projects/clang1100-import/sys/gnu/dts/arm/aspeed-bmc-ibm-rainier.dts projects/clang1100-import/sys/gnu/dts/arm/aspeed-bmc-opp-mihawk.dts projects/clang1100-import/sys/gnu/dts/arm/aspeed-bmc-opp-romulus.dts projects/clang1100-import/sys/gnu/dts/arm/aspeed-bmc-opp-tacoma.dts projects/clang1100-import/sys/gnu/dts/arm/aspeed-bmc-opp-witherspoon.dts projects/clang1100-import/sys/gnu/dts/arm/aspeed-bmc-opp-zaius.dts projects/clang1100-import/sys/gnu/dts/arm/aspeed-g4.dtsi projects/clang1100-import/sys/gnu/dts/arm/aspeed-g5.dtsi projects/clang1100-import/sys/gnu/dts/arm/aspeed-g6.dtsi projects/clang1100-import/sys/gnu/dts/arm/at91-dvk_su60_somc.dtsi projects/clang1100-import/sys/gnu/dts/arm/at91-kizbox3-hs.dts projects/clang1100-import/sys/gnu/dts/arm/at91-kizbox3_common.dtsi projects/clang1100-import/sys/gnu/dts/arm/at91-sam9x60ek.dts projects/clang1100-import/sys/gnu/dts/arm/at91-sama5d27_som1.dtsi projects/clang1100-import/sys/gnu/dts/arm/at91-sama5d27_som1_ek.dts projects/clang1100-import/sys/gnu/dts/arm/at91-sama5d27_wlsom1.dtsi projects/clang1100-import/sys/gnu/dts/arm/at91-sama5d27_wlsom1_ek.dts projects/clang1100-import/sys/gnu/dts/arm/at91-sama5d2_ptc_ek.dts projects/clang1100-import/sys/gnu/dts/arm/at91-sama5d2_xplained.dts projects/clang1100-import/sys/gnu/dts/arm/at91-wb50n.dtsi projects/clang1100-import/sys/gnu/dts/arm/at91rm9200.dtsi projects/clang1100-import/sys/gnu/dts/arm/at91sam9g45.dtsi projects/clang1100-import/sys/gnu/dts/arm/at91sam9m10g45ek.dts projects/clang1100-import/sys/gnu/dts/arm/at91sam9n12.dtsi projects/clang1100-import/sys/gnu/dts/arm/at91sam9n12ek.dts projects/clang1100-import/sys/gnu/dts/arm/at91sam9rl.dtsi projects/clang1100-import/sys/gnu/dts/arm/at91sam9x5.dtsi projects/clang1100-import/sys/gnu/dts/arm/bcm-nsp.dtsi projects/clang1100-import/sys/gnu/dts/arm/bcm2711-rpi-4-b.dts projects/clang1100-import/sys/gnu/dts/arm/bcm2835-common.dtsi projects/clang1100-import/sys/gnu/dts/arm/bcm2835.dtsi projects/clang1100-import/sys/gnu/dts/arm/bcm2836.dtsi projects/clang1100-import/sys/gnu/dts/arm/bcm2837.dtsi projects/clang1100-import/sys/gnu/dts/arm/bcm47094-luxul-xwc-2000.dts projects/clang1100-import/sys/gnu/dts/arm/bcm958522er.dts projects/clang1100-import/sys/gnu/dts/arm/bcm958525er.dts projects/clang1100-import/sys/gnu/dts/arm/bcm958525xmc.dts projects/clang1100-import/sys/gnu/dts/arm/bcm958622hr.dts projects/clang1100-import/sys/gnu/dts/arm/bcm958623hr.dts projects/clang1100-import/sys/gnu/dts/arm/bcm958625hr.dts projects/clang1100-import/sys/gnu/dts/arm/bcm958625k.dts projects/clang1100-import/sys/gnu/dts/arm/berlin2.dtsi projects/clang1100-import/sys/gnu/dts/arm/berlin2cd.dtsi projects/clang1100-import/sys/gnu/dts/arm/berlin2q.dtsi projects/clang1100-import/sys/gnu/dts/arm/dm814x.dtsi projects/clang1100-import/sys/gnu/dts/arm/dm816x.dtsi projects/clang1100-import/sys/gnu/dts/arm/dove.dtsi projects/clang1100-import/sys/gnu/dts/arm/dra7-evm-common.dtsi projects/clang1100-import/sys/gnu/dts/arm/dra7-evm.dts projects/clang1100-import/sys/gnu/dts/arm/dra7-l4.dtsi projects/clang1100-import/sys/gnu/dts/arm/dra7.dtsi projects/clang1100-import/sys/gnu/dts/arm/dra71-evm.dts projects/clang1100-import/sys/gnu/dts/arm/dra72-evm-common.dtsi projects/clang1100-import/sys/gnu/dts/arm/dra72-evm-revc.dts projects/clang1100-import/sys/gnu/dts/arm/dra72-evm.dts projects/clang1100-import/sys/gnu/dts/arm/dra72x.dtsi projects/clang1100-import/sys/gnu/dts/arm/dra74x.dtsi projects/clang1100-import/sys/gnu/dts/arm/dra76-evm.dts projects/clang1100-import/sys/gnu/dts/arm/e60k02.dtsi projects/clang1100-import/sys/gnu/dts/arm/exynos3250-monk.dts projects/clang1100-import/sys/gnu/dts/arm/exynos3250-rinato.dts projects/clang1100-import/sys/gnu/dts/arm/exynos4210-origen.dts projects/clang1100-import/sys/gnu/dts/arm/exynos4210-trats.dts projects/clang1100-import/sys/gnu/dts/arm/exynos4210-universal_c210.dts projects/clang1100-import/sys/gnu/dts/arm/exynos4412-galaxy-s3.dtsi projects/clang1100-import/sys/gnu/dts/arm/exynos4412-midas.dtsi projects/clang1100-import/sys/gnu/dts/arm/exynos4412-odroid-common.dtsi projects/clang1100-import/sys/gnu/dts/arm/exynos4412-origen.dts projects/clang1100-import/sys/gnu/dts/arm/exynos5250-arndale.dts projects/clang1100-import/sys/gnu/dts/arm/exynos5420-arndale-octa.dts projects/clang1100-import/sys/gnu/dts/arm/imx50.dtsi projects/clang1100-import/sys/gnu/dts/arm/imx51.dtsi projects/clang1100-import/sys/gnu/dts/arm/imx53-cx9020.dts projects/clang1100-import/sys/gnu/dts/arm/imx53.dtsi projects/clang1100-import/sys/gnu/dts/arm/imx6q-dhcom-pdk2.dts projects/clang1100-import/sys/gnu/dts/arm/imx6qdl-colibri.dtsi projects/clang1100-import/sys/gnu/dts/arm/imx6qdl-gw551x.dtsi projects/clang1100-import/sys/gnu/dts/arm/imx6qdl-gw552x.dtsi projects/clang1100-import/sys/gnu/dts/arm/imx6qdl-gw560x.dtsi projects/clang1100-import/sys/gnu/dts/arm/imx6qdl-gw5904.dtsi projects/clang1100-import/sys/gnu/dts/arm/imx6qdl-gw5910.dtsi projects/clang1100-import/sys/gnu/dts/arm/imx6qdl-icore.dtsi projects/clang1100-import/sys/gnu/dts/arm/imx6qdl-sabresd.dtsi projects/clang1100-import/sys/gnu/dts/arm/imx6qdl-sr-som.dtsi projects/clang1100-import/sys/gnu/dts/arm/imx6qdl.dtsi projects/clang1100-import/sys/gnu/dts/arm/imx6sl.dtsi projects/clang1100-import/sys/gnu/dts/arm/imx6sx-sabreauto.dts projects/clang1100-import/sys/gnu/dts/arm/imx6sx-sdb.dtsi projects/clang1100-import/sys/gnu/dts/arm/imx6sx.dtsi projects/clang1100-import/sys/gnu/dts/arm/imx6ul-kontron-n6x1x-s.dtsi projects/clang1100-import/sys/gnu/dts/arm/imx6ul-kontron-n6x1x-som-common.dtsi projects/clang1100-import/sys/gnu/dts/arm/imx6ul.dtsi projects/clang1100-import/sys/gnu/dts/arm/imx7-tqma7.dtsi projects/clang1100-import/sys/gnu/dts/arm/imx7d-cl-som-imx7.dts projects/clang1100-import/sys/gnu/dts/arm/imx7d-colibri.dtsi projects/clang1100-import/sys/gnu/dts/arm/imx7d-nitrogen7.dts projects/clang1100-import/sys/gnu/dts/arm/imx7d-pinfunc.h projects/clang1100-import/sys/gnu/dts/arm/imx7d-sdb.dts projects/clang1100-import/sys/gnu/dts/arm/imx7d-tqma7.dtsi projects/clang1100-import/sys/gnu/dts/arm/imx7d-zii-rmu2.dts projects/clang1100-import/sys/gnu/dts/arm/imx7d-zii-rpu2.dts projects/clang1100-import/sys/gnu/dts/arm/imx7d.dtsi projects/clang1100-import/sys/gnu/dts/arm/imx7s.dtsi projects/clang1100-import/sys/gnu/dts/arm/integratorap.dts projects/clang1100-import/sys/gnu/dts/arm/keystone-k2e.dtsi projects/clang1100-import/sys/gnu/dts/arm/keystone-k2g-evm.dts projects/clang1100-import/sys/gnu/dts/arm/keystone-k2g.dtsi projects/clang1100-import/sys/gnu/dts/arm/keystone-k2hk.dtsi projects/clang1100-import/sys/gnu/dts/arm/keystone-k2l.dtsi projects/clang1100-import/sys/gnu/dts/arm/kirkwood-netgear_readynas_nv+_v2.dts projects/clang1100-import/sys/gnu/dts/arm/kirkwood.dtsi projects/clang1100-import/sys/gnu/dts/arm/logicpd-torpedo-baseboard.dtsi projects/clang1100-import/sys/gnu/dts/arm/ls1021a-twr.dts projects/clang1100-import/sys/gnu/dts/arm/meson.dtsi projects/clang1100-import/sys/gnu/dts/arm/meson8b-odroidc1.dts projects/clang1100-import/sys/gnu/dts/arm/meson8b.dtsi projects/clang1100-import/sys/gnu/dts/arm/meson8m2-mxiii-plus.dts projects/clang1100-import/sys/gnu/dts/arm/meson8m2.dtsi projects/clang1100-import/sys/gnu/dts/arm/mmp2.dtsi projects/clang1100-import/sys/gnu/dts/arm/mmp3.dtsi projects/clang1100-import/sys/gnu/dts/arm/motorola-cpcap-mapphone.dtsi projects/clang1100-import/sys/gnu/dts/arm/mt2701-evb.dts projects/clang1100-import/sys/gnu/dts/arm/mt2701.dtsi projects/clang1100-import/sys/gnu/dts/arm/mt7623.dtsi projects/clang1100-import/sys/gnu/dts/arm/mt7623n-rfb-emmc.dts projects/clang1100-import/sys/gnu/dts/arm/omap2.dtsi projects/clang1100-import/sys/gnu/dts/arm/omap2420.dtsi projects/clang1100-import/sys/gnu/dts/arm/omap2430.dtsi projects/clang1100-import/sys/gnu/dts/arm/omap3-beagle.dts projects/clang1100-import/sys/gnu/dts/arm/omap3-devkit8000.dts projects/clang1100-import/sys/gnu/dts/arm/omap3-gta04.dtsi projects/clang1100-import/sys/gnu/dts/arm/omap3-n900.dts projects/clang1100-import/sys/gnu/dts/arm/omap3.dtsi projects/clang1100-import/sys/gnu/dts/arm/omap4-duovero-parlor.dts projects/clang1100-import/sys/gnu/dts/arm/omap4-l4.dtsi projects/clang1100-import/sys/gnu/dts/arm/omap4.dtsi projects/clang1100-import/sys/gnu/dts/arm/omap5-l4.dtsi projects/clang1100-import/sys/gnu/dts/arm/omap5.dtsi projects/clang1100-import/sys/gnu/dts/arm/pxa168.dtsi projects/clang1100-import/sys/gnu/dts/arm/pxa3xx.dtsi projects/clang1100-import/sys/gnu/dts/arm/pxa910.dtsi projects/clang1100-import/sys/gnu/dts/arm/qcom-ipq4019.dtsi projects/clang1100-import/sys/gnu/dts/arm/qcom-ipq8064.dtsi projects/clang1100-import/sys/gnu/dts/arm/qcom-msm8974-samsung-klte.dts projects/clang1100-import/sys/gnu/dts/arm/qcom-msm8974.dtsi projects/clang1100-import/sys/gnu/dts/arm/r8a7740.dtsi projects/clang1100-import/sys/gnu/dts/arm/r8a7743.dtsi projects/clang1100-import/sys/gnu/dts/arm/r8a7744.dtsi projects/clang1100-import/sys/gnu/dts/arm/r8a7745.dtsi projects/clang1100-import/sys/gnu/dts/arm/r8a7790.dtsi projects/clang1100-import/sys/gnu/dts/arm/r8a7791.dtsi projects/clang1100-import/sys/gnu/dts/arm/r8a7793.dtsi projects/clang1100-import/sys/gnu/dts/arm/r8a7794.dtsi projects/clang1100-import/sys/gnu/dts/arm/rk3036-kylin.dts projects/clang1100-import/sys/gnu/dts/arm/rk3066a-mk808.dts projects/clang1100-import/sys/gnu/dts/arm/rk3188-radxarock.dts projects/clang1100-import/sys/gnu/dts/arm/rk3229-xms6.dts projects/clang1100-import/sys/gnu/dts/arm/rk322x.dtsi projects/clang1100-import/sys/gnu/dts/arm/rk3288-firefly-reload.dts projects/clang1100-import/sys/gnu/dts/arm/rk3288-firefly.dtsi projects/clang1100-import/sys/gnu/dts/arm/rk3288-miqi.dts projects/clang1100-import/sys/gnu/dts/arm/rk3288-phycore-som.dtsi projects/clang1100-import/sys/gnu/dts/arm/rk3288-rock2-square.dts projects/clang1100-import/sys/gnu/dts/arm/rk3288-tinker.dtsi projects/clang1100-import/sys/gnu/dts/arm/rk3288.dtsi projects/clang1100-import/sys/gnu/dts/arm/s5pv210-aries.dtsi projects/clang1100-import/sys/gnu/dts/arm/s5pv210-fascinate4g.dts projects/clang1100-import/sys/gnu/dts/arm/s5pv210-galaxys.dts projects/clang1100-import/sys/gnu/dts/arm/s5pv210-pinctrl.dtsi projects/clang1100-import/sys/gnu/dts/arm/s5pv210.dtsi projects/clang1100-import/sys/gnu/dts/arm/sama5d2.dtsi projects/clang1100-import/sys/gnu/dts/arm/sama5d3.dtsi projects/clang1100-import/sys/gnu/dts/arm/sama5d3_can.dtsi projects/clang1100-import/sys/gnu/dts/arm/sama5d3_emac.dtsi projects/clang1100-import/sys/gnu/dts/arm/sama5d3_gmac.dtsi projects/clang1100-import/sys/gnu/dts/arm/sama5d3_lcd.dtsi projects/clang1100-import/sys/gnu/dts/arm/sama5d3_mci2.dtsi projects/clang1100-import/sys/gnu/dts/arm/sama5d3_tcb1.dtsi projects/clang1100-import/sys/gnu/dts/arm/sama5d3_uart.dtsi projects/clang1100-import/sys/gnu/dts/arm/sama5d3xmb.dtsi projects/clang1100-import/sys/gnu/dts/arm/sama5d3xmb_cmp.dtsi projects/clang1100-import/sys/gnu/dts/arm/sama5d4.dtsi projects/clang1100-import/sys/gnu/dts/arm/sh73a0.dtsi projects/clang1100-import/sys/gnu/dts/arm/socfpga.dtsi projects/clang1100-import/sys/gnu/dts/arm/socfpga_arria10.dtsi projects/clang1100-import/sys/gnu/dts/arm/ste-ux500-samsung-golden.dts projects/clang1100-import/sys/gnu/dts/arm/ste-ux500-samsung-skomer.dts projects/clang1100-import/sys/gnu/dts/arm/stih407-family.dtsi projects/clang1100-import/sys/gnu/dts/arm/stih418.dtsi projects/clang1100-import/sys/gnu/dts/arm/stm32f429.dtsi projects/clang1100-import/sys/gnu/dts/arm/stm32h743.dtsi projects/clang1100-import/sys/gnu/dts/arm/stm32mp15-pinctrl.dtsi projects/clang1100-import/sys/gnu/dts/arm/stm32mp151.dtsi projects/clang1100-import/sys/gnu/dts/arm/stm32mp157.dtsi projects/clang1100-import/sys/gnu/dts/arm/stm32mp157a-avenger96.dts projects/clang1100-import/sys/gnu/dts/arm/stm32mp157c-dhcom-pdk2.dts projects/clang1100-import/sys/gnu/dts/arm/stm32mp157c-dk2.dts projects/clang1100-import/sys/gnu/dts/arm/stm32mp157c-ed1.dts projects/clang1100-import/sys/gnu/dts/arm/stm32mp157c-ev1.dts projects/clang1100-import/sys/gnu/dts/arm/stm32mp15xx-dkx.dtsi projects/clang1100-import/sys/gnu/dts/arm/sun4i-a10.dtsi projects/clang1100-import/sys/gnu/dts/arm/sun5i.dtsi projects/clang1100-import/sys/gnu/dts/arm/sun7i-a20.dtsi projects/clang1100-import/sys/gnu/dts/arm/sun8i-a83t.dtsi projects/clang1100-import/sys/gnu/dts/arm/sun8i-h2-plus-bananapi-m2-zero.dts projects/clang1100-import/sys/gnu/dts/arm/sun8i-h3.dtsi projects/clang1100-import/sys/gnu/dts/arm/sunxi-h3-h5.dtsi projects/clang1100-import/sys/gnu/dts/arm/tegra114-dalmore.dts projects/clang1100-import/sys/gnu/dts/arm/tegra124-venice2.dts projects/clang1100-import/sys/gnu/dts/arm/tegra20-colibri-eval-v3.dts projects/clang1100-import/sys/gnu/dts/arm/tegra20-colibri-iris.dts projects/clang1100-import/sys/gnu/dts/arm/tegra20-harmony.dts projects/clang1100-import/sys/gnu/dts/arm/tegra20-medcom-wide.dts projects/clang1100-import/sys/gnu/dts/arm/tegra20-paz00.dts projects/clang1100-import/sys/gnu/dts/arm/tegra20-seaboard.dts projects/clang1100-import/sys/gnu/dts/arm/tegra20-ventana.dts projects/clang1100-import/sys/gnu/dts/arm/tegra30-apalis-eval.dts projects/clang1100-import/sys/gnu/dts/arm/tegra30-apalis-v1.1-eval.dts projects/clang1100-import/sys/gnu/dts/arm/tegra30-beaver.dts projects/clang1100-import/sys/gnu/dts/arm/tegra30-cardhu.dtsi projects/clang1100-import/sys/gnu/dts/arm/tegra30-colibri-eval-v3.dts projects/clang1100-import/sys/gnu/dts/arm/uniphier-ld4.dtsi projects/clang1100-import/sys/gnu/dts/arm/uniphier-ld6b-ref.dts projects/clang1100-import/sys/gnu/dts/arm/uniphier-pro4-ace.dts projects/clang1100-import/sys/gnu/dts/arm/uniphier-pro4-ref.dts projects/clang1100-import/sys/gnu/dts/arm/uniphier-pro4-sanji.dts projects/clang1100-import/sys/gnu/dts/arm/uniphier-pro4.dtsi projects/clang1100-import/sys/gnu/dts/arm/uniphier-pro5.dtsi projects/clang1100-import/sys/gnu/dts/arm/uniphier-pxs2-gentil.dts projects/clang1100-import/sys/gnu/dts/arm/uniphier-pxs2-vodka.dts projects/clang1100-import/sys/gnu/dts/arm/uniphier-pxs2.dtsi projects/clang1100-import/sys/gnu/dts/arm/uniphier-sld8.dtsi projects/clang1100-import/sys/gnu/dts/arm/vexpress-v2m-rs1.dtsi projects/clang1100-import/sys/gnu/dts/arm64/allwinner/sun50i-a64-olinuxino.dts projects/clang1100-import/sys/gnu/dts/arm64/allwinner/sun50i-a64.dtsi projects/clang1100-import/sys/gnu/dts/arm64/allwinner/sun50i-h6-beelink-gs1.dts projects/clang1100-import/sys/gnu/dts/arm64/allwinner/sun50i-h6-orangepi-3.dts projects/clang1100-import/sys/gnu/dts/arm64/allwinner/sun50i-h6-orangepi-lite2.dts projects/clang1100-import/sys/gnu/dts/arm64/allwinner/sun50i-h6-orangepi.dtsi projects/clang1100-import/sys/gnu/dts/arm64/allwinner/sun50i-h6-pine-h64.dts projects/clang1100-import/sys/gnu/dts/arm64/allwinner/sun50i-h6-tanix-tx6.dts projects/clang1100-import/sys/gnu/dts/arm64/allwinner/sun50i-h6.dtsi projects/clang1100-import/sys/gnu/dts/arm64/altera/socfpga_stratix10.dtsi projects/clang1100-import/sys/gnu/dts/arm64/altera/socfpga_stratix10_socdk.dts projects/clang1100-import/sys/gnu/dts/arm64/altera/socfpga_stratix10_socdk_nand.dts projects/clang1100-import/sys/gnu/dts/arm64/amlogic/meson-axg.dtsi projects/clang1100-import/sys/gnu/dts/arm64/amlogic/meson-g12-common.dtsi projects/clang1100-import/sys/gnu/dts/arm64/amlogic/meson-g12.dtsi projects/clang1100-import/sys/gnu/dts/arm64/amlogic/meson-g12b-khadas-vim3.dtsi projects/clang1100-import/sys/gnu/dts/arm64/amlogic/meson-g12b-s922x.dtsi projects/clang1100-import/sys/gnu/dts/arm64/amlogic/meson-g12b-ugoos-am6.dts projects/clang1100-import/sys/gnu/dts/arm64/amlogic/meson-g12b.dtsi projects/clang1100-import/sys/gnu/dts/arm64/amlogic/meson-gx-libretech-pc.dtsi projects/clang1100-import/sys/gnu/dts/arm64/amlogic/meson-gx-p23x-q20x.dtsi projects/clang1100-import/sys/gnu/dts/arm64/amlogic/meson-gx.dtsi projects/clang1100-import/sys/gnu/dts/arm64/amlogic/meson-gxbb-kii-pro.dts projects/clang1100-import/sys/gnu/dts/arm64/amlogic/meson-gxbb-nanopi-k2.dts projects/clang1100-import/sys/gnu/dts/arm64/amlogic/meson-gxbb-nexbox-a95x.dts projects/clang1100-import/sys/gnu/dts/arm64/amlogic/meson-gxbb-odroidc2.dts projects/clang1100-import/sys/gnu/dts/arm64/amlogic/meson-gxbb-vega-s95.dtsi projects/clang1100-import/sys/gnu/dts/arm64/amlogic/meson-gxbb-wetek-play2.dts projects/clang1100-import/sys/gnu/dts/arm64/amlogic/meson-gxbb-wetek.dtsi projects/clang1100-import/sys/gnu/dts/arm64/amlogic/meson-gxbb.dtsi projects/clang1100-import/sys/gnu/dts/arm64/amlogic/meson-gxl-s805x-libretech-ac.dts projects/clang1100-import/sys/gnu/dts/arm64/amlogic/meson-gxl-s805x-p241.dts projects/clang1100-import/sys/gnu/dts/arm64/amlogic/meson-gxl-s905d-phicomm-n1.dts projects/clang1100-import/sys/gnu/dts/arm64/amlogic/meson-gxl-s905w-p281.dts projects/clang1100-import/sys/gnu/dts/arm64/amlogic/meson-gxl-s905w-tx3-mini.dts projects/clang1100-import/sys/gnu/dts/arm64/amlogic/meson-gxl-s905x-khadas-vim.dts projects/clang1100-import/sys/gnu/dts/arm64/amlogic/meson-gxl-s905x-libretech-cc.dts projects/clang1100-import/sys/gnu/dts/arm64/amlogic/meson-gxl-s905x-nexbox-a95x.dts projects/clang1100-import/sys/gnu/dts/arm64/amlogic/meson-gxl-s905x-p212.dtsi projects/clang1100-import/sys/gnu/dts/arm64/amlogic/meson-gxl.dtsi projects/clang1100-import/sys/gnu/dts/arm64/amlogic/meson-gxm-khadas-vim2.dts projects/clang1100-import/sys/gnu/dts/arm64/amlogic/meson-gxm-nexbox-a1.dts projects/clang1100-import/sys/gnu/dts/arm64/amlogic/meson-gxm-rbox-pro.dts projects/clang1100-import/sys/gnu/dts/arm64/amlogic/meson-gxm-vega-s96.dts projects/clang1100-import/sys/gnu/dts/arm64/amlogic/meson-gxm.dtsi projects/clang1100-import/sys/gnu/dts/arm64/amlogic/meson-khadas-vim3.dtsi projects/clang1100-import/sys/gnu/dts/arm64/amlogic/meson-sm1-sei610.dts projects/clang1100-import/sys/gnu/dts/arm64/amlogic/meson-sm1.dtsi projects/clang1100-import/sys/gnu/dts/arm64/arm/foundation-v8-gicv2.dtsi projects/clang1100-import/sys/gnu/dts/arm64/arm/foundation-v8-gicv3.dtsi projects/clang1100-import/sys/gnu/dts/arm64/arm/foundation-v8.dtsi projects/clang1100-import/sys/gnu/dts/arm64/arm/fvp-base-revc.dts projects/clang1100-import/sys/gnu/dts/arm64/arm/juno-base.dtsi projects/clang1100-import/sys/gnu/dts/arm64/arm/juno-motherboard.dtsi projects/clang1100-import/sys/gnu/dts/arm64/arm/rtsm_ve-aemv8a.dts projects/clang1100-import/sys/gnu/dts/arm64/arm/rtsm_ve-motherboard-rs2.dtsi projects/clang1100-import/sys/gnu/dts/arm64/arm/rtsm_ve-motherboard.dtsi projects/clang1100-import/sys/gnu/dts/arm64/arm/vexpress-v2m-rs1.dtsi projects/clang1100-import/sys/gnu/dts/arm64/freescale/fsl-ls1012a-frdm.dts projects/clang1100-import/sys/gnu/dts/arm64/freescale/fsl-ls1012a-frwy.dts projects/clang1100-import/sys/gnu/dts/arm64/freescale/fsl-ls1012a-qds.dts projects/clang1100-import/sys/gnu/dts/arm64/freescale/fsl-ls1012a-rdb.dts projects/clang1100-import/sys/gnu/dts/arm64/freescale/fsl-ls1012a.dtsi projects/clang1100-import/sys/gnu/dts/arm64/freescale/fsl-ls1028a-kontron-sl28-var2.dts projects/clang1100-import/sys/gnu/dts/arm64/freescale/fsl-ls1028a-kontron-sl28.dts projects/clang1100-import/sys/gnu/dts/arm64/freescale/fsl-ls1028a.dtsi projects/clang1100-import/sys/gnu/dts/arm64/freescale/fsl-ls1043a-rdb.dts projects/clang1100-import/sys/gnu/dts/arm64/freescale/fsl-ls1043a.dtsi projects/clang1100-import/sys/gnu/dts/arm64/freescale/fsl-lx2160a.dtsi projects/clang1100-import/sys/gnu/dts/arm64/freescale/imx8mm-evk.dts projects/clang1100-import/sys/gnu/dts/arm64/freescale/imx8mm.dtsi projects/clang1100-import/sys/gnu/dts/arm64/freescale/imx8mn-ddr4-evk.dts projects/clang1100-import/sys/gnu/dts/arm64/freescale/imx8mn.dtsi projects/clang1100-import/sys/gnu/dts/arm64/freescale/imx8mp.dtsi projects/clang1100-import/sys/gnu/dts/arm64/freescale/imx8mq-librem5-devkit.dts projects/clang1100-import/sys/gnu/dts/arm64/freescale/imx8mq.dtsi projects/clang1100-import/sys/gnu/dts/arm64/freescale/imx8qxp-mek.dts projects/clang1100-import/sys/gnu/dts/arm64/freescale/imx8qxp.dtsi projects/clang1100-import/sys/gnu/dts/arm64/freescale/qoriq-fman3-0.dtsi projects/clang1100-import/sys/gnu/dts/arm64/hisilicon/hi3660.dtsi projects/clang1100-import/sys/gnu/dts/arm64/hisilicon/hi6220-coresight.dtsi projects/clang1100-import/sys/gnu/dts/arm64/hisilicon/hikey960-pinctrl.dtsi projects/clang1100-import/sys/gnu/dts/arm64/intel/socfpga_agilex.dtsi projects/clang1100-import/sys/gnu/dts/arm64/intel/socfpga_agilex_socdk.dts projects/clang1100-import/sys/gnu/dts/arm64/marvell/armada-3720-db.dts projects/clang1100-import/sys/gnu/dts/arm64/marvell/armada-3720-espressobin.dtsi projects/clang1100-import/sys/gnu/dts/arm64/marvell/armada-3720-turris-mox.dts projects/clang1100-import/sys/gnu/dts/arm64/marvell/armada-3720-uDPU.dts projects/clang1100-import/sys/gnu/dts/arm64/marvell/armada-37xx.dtsi projects/clang1100-import/sys/gnu/dts/arm64/marvell/armada-8040-clearfog-gt-8k.dts projects/clang1100-import/sys/gnu/dts/arm64/marvell/armada-8040-mcbin-singleshot.dts projects/clang1100-import/sys/gnu/dts/arm64/marvell/armada-8040-mcbin.dts projects/clang1100-import/sys/gnu/dts/arm64/marvell/armada-ap80x.dtsi projects/clang1100-import/sys/gnu/dts/arm64/mediatek/mt2712-evb.dts projects/clang1100-import/sys/gnu/dts/arm64/mediatek/mt2712e.dtsi projects/clang1100-import/sys/gnu/dts/arm64/mediatek/mt6797-x20-dev.dts projects/clang1100-import/sys/gnu/dts/arm64/mediatek/mt6797.dtsi projects/clang1100-import/sys/gnu/dts/arm64/mediatek/mt7622-bananapi-bpi-r64.dts projects/clang1100-import/sys/gnu/dts/arm64/mediatek/mt7622-rfb1.dts projects/clang1100-import/sys/gnu/dts/arm64/mediatek/mt7622.dtsi projects/clang1100-import/sys/gnu/dts/arm64/mediatek/mt8173.dtsi projects/clang1100-import/sys/gnu/dts/arm64/mediatek/mt8183-evb.dts projects/clang1100-import/sys/gnu/dts/arm64/mediatek/mt8183.dtsi projects/clang1100-import/sys/gnu/dts/arm64/mediatek/mt8516.dtsi projects/clang1100-import/sys/gnu/dts/arm64/mediatek/pumpkin-common.dtsi projects/clang1100-import/sys/gnu/dts/arm64/nvidia/tegra132-norrin.dts projects/clang1100-import/sys/gnu/dts/arm64/nvidia/tegra186-p3310.dtsi projects/clang1100-import/sys/gnu/dts/arm64/nvidia/tegra194-p2888.dtsi projects/clang1100-import/sys/gnu/dts/arm64/nvidia/tegra194.dtsi projects/clang1100-import/sys/gnu/dts/arm64/nvidia/tegra210-p2180.dtsi projects/clang1100-import/sys/gnu/dts/arm64/nvidia/tegra210-p2597.dtsi projects/clang1100-import/sys/gnu/dts/arm64/nvidia/tegra210-p3450-0000.dts projects/clang1100-import/sys/gnu/dts/arm64/nvidia/tegra210.dtsi projects/clang1100-import/sys/gnu/dts/arm64/qcom/apq8016-sbc.dtsi projects/clang1100-import/sys/gnu/dts/arm64/qcom/apq8096-db820c.dtsi projects/clang1100-import/sys/gnu/dts/arm64/qcom/ipq8074-hk01.dts projects/clang1100-import/sys/gnu/dts/arm64/qcom/ipq8074.dtsi projects/clang1100-import/sys/gnu/dts/arm64/qcom/msm8916-longcheer-l8150.dts projects/clang1100-import/sys/gnu/dts/arm64/qcom/msm8916-pins.dtsi projects/clang1100-import/sys/gnu/dts/arm64/qcom/msm8916-samsung-a2015-common.dtsi projects/clang1100-import/sys/gnu/dts/arm64/qcom/msm8916-samsung-a3u-eur.dts projects/clang1100-import/sys/gnu/dts/arm64/qcom/msm8916-samsung-a5u-eur.dts projects/clang1100-import/sys/gnu/dts/arm64/qcom/msm8916.dtsi projects/clang1100-import/sys/gnu/dts/arm64/qcom/msm8996.dtsi projects/clang1100-import/sys/gnu/dts/arm64/qcom/msm8998.dtsi projects/clang1100-import/sys/gnu/dts/arm64/qcom/pm8150.dtsi projects/clang1100-import/sys/gnu/dts/arm64/qcom/pm8150b.dtsi projects/clang1100-import/sys/gnu/dts/arm64/qcom/pm8150l.dtsi projects/clang1100-import/sys/gnu/dts/arm64/qcom/pmi8994.dtsi projects/clang1100-import/sys/gnu/dts/arm64/qcom/qcs404-evb.dtsi projects/clang1100-import/sys/gnu/dts/arm64/qcom/qcs404.dtsi projects/clang1100-import/sys/gnu/dts/arm64/qcom/sc7180-idp.dts projects/clang1100-import/sys/gnu/dts/arm64/qcom/sc7180.dtsi projects/clang1100-import/sys/gnu/dts/arm64/qcom/sdm845-cheza.dtsi projects/clang1100-import/sys/gnu/dts/arm64/qcom/sdm845-db845c.dts projects/clang1100-import/sys/gnu/dts/arm64/qcom/sdm845-mtp.dts projects/clang1100-import/sys/gnu/dts/arm64/qcom/sdm845.dtsi projects/clang1100-import/sys/gnu/dts/arm64/qcom/sdm850-lenovo-yoga-c630.dts projects/clang1100-import/sys/gnu/dts/arm64/qcom/sm8250-mtp.dts projects/clang1100-import/sys/gnu/dts/arm64/qcom/sm8250.dtsi projects/clang1100-import/sys/gnu/dts/arm64/realtek/rtd1293-ds418j.dts projects/clang1100-import/sys/gnu/dts/arm64/realtek/rtd1293.dtsi projects/clang1100-import/sys/gnu/dts/arm64/realtek/rtd1295-mele-v9.dts projects/clang1100-import/sys/gnu/dts/arm64/realtek/rtd1295-probox2-ava.dts projects/clang1100-import/sys/gnu/dts/arm64/realtek/rtd1295-zidoo-x9s.dts projects/clang1100-import/sys/gnu/dts/arm64/realtek/rtd1295.dtsi projects/clang1100-import/sys/gnu/dts/arm64/realtek/rtd1296-ds418.dts projects/clang1100-import/sys/gnu/dts/arm64/realtek/rtd1296.dtsi projects/clang1100-import/sys/gnu/dts/arm64/realtek/rtd129x.dtsi projects/clang1100-import/sys/gnu/dts/arm64/renesas/r8a774a1.dtsi projects/clang1100-import/sys/gnu/dts/arm64/renesas/r8a774b1.dtsi projects/clang1100-import/sys/gnu/dts/arm64/renesas/r8a774c0.dtsi projects/clang1100-import/sys/gnu/dts/arm64/renesas/r8a77950.dtsi projects/clang1100-import/sys/gnu/dts/arm64/renesas/r8a77951.dtsi projects/clang1100-import/sys/gnu/dts/arm64/renesas/r8a77960.dtsi projects/clang1100-import/sys/gnu/dts/arm64/renesas/r8a77961.dtsi projects/clang1100-import/sys/gnu/dts/arm64/renesas/r8a77965.dtsi projects/clang1100-import/sys/gnu/dts/arm64/renesas/r8a77970.dtsi projects/clang1100-import/sys/gnu/dts/arm64/renesas/r8a77980.dtsi projects/clang1100-import/sys/gnu/dts/arm64/renesas/r8a77990.dtsi projects/clang1100-import/sys/gnu/dts/arm64/renesas/r8a77995.dtsi projects/clang1100-import/sys/gnu/dts/arm64/rockchip/px30.dtsi projects/clang1100-import/sys/gnu/dts/arm64/rockchip/rk3308-roc-cc.dts projects/clang1100-import/sys/gnu/dts/arm64/rockchip/rk3328-a1.dts projects/clang1100-import/sys/gnu/dts/arm64/rockchip/rk3328-roc-cc.dts projects/clang1100-import/sys/gnu/dts/arm64/rockchip/rk3328-rock64.dts projects/clang1100-import/sys/gnu/dts/arm64/rockchip/rk3328.dtsi projects/clang1100-import/sys/gnu/dts/arm64/rockchip/rk3368-geekbox.dts projects/clang1100-import/sys/gnu/dts/arm64/rockchip/rk3368-orion-r68-meta.dts projects/clang1100-import/sys/gnu/dts/arm64/rockchip/rk3368-r88.dts projects/clang1100-import/sys/gnu/dts/arm64/rockchip/rk3399-ficus.dts projects/clang1100-import/sys/gnu/dts/arm64/rockchip/rk3399-firefly.dts projects/clang1100-import/sys/gnu/dts/arm64/rockchip/rk3399-hugsun-x99.dts projects/clang1100-import/sys/gnu/dts/arm64/rockchip/rk3399-nanopi4.dtsi projects/clang1100-import/sys/gnu/dts/arm64/rockchip/rk3399-orangepi.dts projects/clang1100-import/sys/gnu/dts/arm64/rockchip/rk3399-pinebook-pro.dts projects/clang1100-import/sys/gnu/dts/arm64/rockchip/rk3399-rock960.dts projects/clang1100-import/sys/gnu/dts/arm64/rockchip/rk3399-rockpro64.dtsi projects/clang1100-import/sys/gnu/dts/arm64/rockchip/rk3399.dtsi projects/clang1100-import/sys/gnu/dts/arm64/socionext/uniphier-ld11-global.dts projects/clang1100-import/sys/gnu/dts/arm64/socionext/uniphier-ld11-ref.dts projects/clang1100-import/sys/gnu/dts/arm64/socionext/uniphier-ld11.dtsi projects/clang1100-import/sys/gnu/dts/arm64/socionext/uniphier-ld20-global.dts projects/clang1100-import/sys/gnu/dts/arm64/socionext/uniphier-ld20-ref.dts projects/clang1100-import/sys/gnu/dts/arm64/socionext/uniphier-ld20.dtsi projects/clang1100-import/sys/gnu/dts/arm64/socionext/uniphier-pxs3-ref.dts projects/clang1100-import/sys/gnu/dts/arm64/socionext/uniphier-pxs3.dtsi projects/clang1100-import/sys/gnu/dts/arm64/sprd/sc9863a.dtsi projects/clang1100-import/sys/gnu/dts/arm64/sprd/sharkl3.dtsi projects/clang1100-import/sys/gnu/dts/arm64/ti/k3-am65-main.dtsi projects/clang1100-import/sys/gnu/dts/arm64/ti/k3-am65-mcu.dtsi projects/clang1100-import/sys/gnu/dts/arm64/ti/k3-am65-wakeup.dtsi projects/clang1100-import/sys/gnu/dts/arm64/ti/k3-j721e-common-proc-board.dts projects/clang1100-import/sys/gnu/dts/arm64/ti/k3-j721e-main.dtsi projects/clang1100-import/sys/gnu/dts/arm64/ti/k3-j721e-mcu-wakeup.dtsi projects/clang1100-import/sys/gnu/dts/arm64/xilinx/zynqmp.dtsi projects/clang1100-import/sys/gnu/dts/include/dt-bindings/clock/at91.h projects/clang1100-import/sys/gnu/dts/include/dt-bindings/clock/imx7ulp-clock.h projects/clang1100-import/sys/gnu/dts/include/dt-bindings/clock/imx8mp-clock.h projects/clang1100-import/sys/gnu/dts/include/dt-bindings/clock/marvell,mmp2.h projects/clang1100-import/sys/gnu/dts/include/dt-bindings/clock/meson8b-clkc.h projects/clang1100-import/sys/gnu/dts/include/dt-bindings/clock/qcom,gcc-msm8998.h projects/clang1100-import/sys/gnu/dts/include/dt-bindings/clock/qcom,gcc-sc7180.h projects/clang1100-import/sys/gnu/dts/include/dt-bindings/clock/sprd,sc9863a-clk.h projects/clang1100-import/sys/gnu/dts/include/dt-bindings/clock/tegra114-car.h projects/clang1100-import/sys/gnu/dts/include/dt-bindings/clock/tegra124-car-common.h projects/clang1100-import/sys/gnu/dts/include/dt-bindings/clock/tegra20-car.h projects/clang1100-import/sys/gnu/dts/include/dt-bindings/clock/tegra210-car.h projects/clang1100-import/sys/gnu/dts/include/dt-bindings/clock/tegra30-car.h projects/clang1100-import/sys/gnu/dts/include/dt-bindings/clock/x1000-cgu.h projects/clang1100-import/sys/gnu/dts/include/dt-bindings/firmware/imx/rsrc.h projects/clang1100-import/sys/gnu/dts/include/dt-bindings/input/linux-event-codes.h projects/clang1100-import/sys/gnu/dts/include/dt-bindings/phy/phy.h projects/clang1100-import/sys/gnu/dts/include/dt-bindings/pinctrl/rockchip.h projects/clang1100-import/sys/gnu/dts/include/dt-bindings/power/qcom-rpmpd.h projects/clang1100-import/sys/gnu/dts/include/dt-bindings/reset/amlogic,meson-gxbb-reset.h projects/clang1100-import/sys/gnu/dts/include/dt-bindings/reset/imx8mq-reset.h projects/clang1100-import/sys/gnu/dts/include/dt-bindings/reset/realtek,rtd1295.h projects/clang1100-import/sys/kern/kern_malloc.c projects/clang1100-import/sys/kern/kern_mbuf.c projects/clang1100-import/sys/kern/kern_mutex.c projects/clang1100-import/sys/kern/kern_prot.c projects/clang1100-import/sys/kern/kern_rmlock.c projects/clang1100-import/sys/kern/kern_thread.c projects/clang1100-import/sys/kern/subr_acl_nfs4.c projects/clang1100-import/sys/kern/subr_acl_posix1e.c projects/clang1100-import/sys/kern/subr_bus.c projects/clang1100-import/sys/kern/subr_smp.c projects/clang1100-import/sys/kern/sys_pipe.c projects/clang1100-import/sys/kern/uipc_mbuf.c projects/clang1100-import/sys/kern/uipc_mqueue.c projects/clang1100-import/sys/kern/uipc_sem.c projects/clang1100-import/sys/kern/uipc_shm.c projects/clang1100-import/sys/kern/uipc_usrreq.c projects/clang1100-import/sys/kern/vfs_bio.c projects/clang1100-import/sys/kern/vfs_cache.c projects/clang1100-import/sys/kern/vfs_hash.c projects/clang1100-import/sys/kern/vfs_lookup.c projects/clang1100-import/sys/kern/vfs_subr.c projects/clang1100-import/sys/modules/cpsw/Makefile projects/clang1100-import/sys/modules/usb/Makefile projects/clang1100-import/sys/net/if.c projects/clang1100-import/sys/netinet6/in6_mcast.c projects/clang1100-import/sys/netinet6/in6_proto.c projects/clang1100-import/sys/netpfil/ipfw/nat64/nat64_translate.c projects/clang1100-import/sys/riscv/conf/GENERIC projects/clang1100-import/sys/riscv/include/ieeefp.h projects/clang1100-import/sys/riscv/include/profile.h projects/clang1100-import/sys/security/mac/mac_framework.c projects/clang1100-import/sys/security/mac/mac_framework.h projects/clang1100-import/sys/security/mac/mac_vfs.c projects/clang1100-import/sys/sys/caprights.h projects/clang1100-import/sys/sys/capsicum.h projects/clang1100-import/sys/sys/malloc.h projects/clang1100-import/sys/sys/mbuf.h projects/clang1100-import/sys/sys/mount.h projects/clang1100-import/sys/sys/mutex.h projects/clang1100-import/sys/sys/namei.h projects/clang1100-import/sys/sys/param.h projects/clang1100-import/sys/sys/un.h projects/clang1100-import/sys/sys/vnode.h projects/clang1100-import/sys/tools/makesyscalls.lua projects/clang1100-import/sys/ufs/ffs/ffs_vnops.c projects/clang1100-import/sys/ufs/ufs/ufs_vnops.c projects/clang1100-import/sys/vm/uma.h projects/clang1100-import/sys/vm/uma_core.c projects/clang1100-import/sys/vm/vm_map.c projects/clang1100-import/sys/vm/vm_page.c projects/clang1100-import/sys/vm/vm_page.h projects/clang1100-import/sys/vm/vm_pageout.c projects/clang1100-import/sys/vm/vnode_pager.c projects/clang1100-import/sys/x86/iommu/intel_ctx.c projects/clang1100-import/sys/x86/iommu/intel_dmar.h projects/clang1100-import/sys/x86/iommu/intel_drv.c projects/clang1100-import/sys/x86/iommu/intel_idpgtbl.c projects/clang1100-import/sys/x86/iommu/intel_quirks.c projects/clang1100-import/sys/x86/x86/busdma_bounce.c projects/clang1100-import/tools/uma/smrstress/smrstress.c projects/clang1100-import/usr.bin/gh-bc/Makefile projects/clang1100-import/usr.bin/grep/Makefile projects/clang1100-import/usr.bin/grep/grep.c projects/clang1100-import/usr.bin/vtfontcvt/vtfontcvt.8 projects/clang1100-import/usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c projects/clang1100-import/usr.sbin/ctladm/ctladm.8 projects/clang1100-import/usr.sbin/iovctl/iovctl.conf.5 projects/clang1100-import/usr.sbin/nmtree/Makefile projects/clang1100-import/usr.sbin/pmcstat/pmcpl_callgraph.c projects/clang1100-import/usr.sbin/pmcstat/pmcstat.8 projects/clang1100-import/usr.sbin/pmcstat/pmcstat.c projects/clang1100-import/usr.sbin/pmcstat/pmcstat_log.c Directory Properties: projects/clang1100-import/ (props changed) projects/clang1100-import/cddl/ (props changed) projects/clang1100-import/cddl/contrib/opensolaris/ (props changed) projects/clang1100-import/cddl/contrib/opensolaris/lib/libzfs/ (props changed) projects/clang1100-import/contrib/bc/ (props changed) projects/clang1100-import/contrib/ipfilter/ (props changed) projects/clang1100-import/sys/cddl/contrib/opensolaris/ (props changed) projects/clang1100-import/sys/gnu/dts/arm/ (props changed) projects/clang1100-import/sys/gnu/dts/arm64/ (props changed) projects/clang1100-import/sys/gnu/dts/include/ (props changed) projects/clang1100-import/sys/gnu/dts/riscv/ (props changed) Modified: projects/clang1100-import/Makefile.inc1 ============================================================================== --- projects/clang1100-import/Makefile.inc1 Thu Aug 6 19:31:52 2020 (r363986) +++ projects/clang1100-import/Makefile.inc1 Thu Aug 6 19:34:55 2020 (r363987) @@ -545,6 +545,13 @@ PKG_VERSION= ${_REVISION}${EXTRA_REVISION} .endif .endif # !defined(PKG_VERSION) +.if !defined(PKG_TIMESTAMP) +TIMEEPOCHNOW= %s +SOURCE_DATE_EPOCH= ${TIMEEPOCHNOW:gmtime} +.else +SOURCE_DATE_EPOCH= ${PKG_TIMESTAMP} +.endif + .if !defined(_MKSHOWCONFIG) _CPUTYPE!= MAKEFLAGS= CPUTYPE=${_TARGET_CPUTYPE} ${MAKE} -f /dev/null \ -m ${.CURDIR}/share/mk MK_AUTO_OBJ=no -V CPUTYPE @@ -1782,6 +1789,7 @@ KSTAGEDIR?= ${OBJTOP}/kernelstage REPODIR?= ${OBJROOT}repo PKG_FORMAT?= txz PKGSIGNKEY?= # empty +PKG_OUTPUT_DIR?= ${PKG_VERSION} .ORDER: stage-packages create-packages .ORDER: create-packages create-world-packages @@ -1831,6 +1839,7 @@ create-packages-kernel: _pkgbootstrap _repodir .PHONY ${MAKE} -f Makefile.inc1 \ DESTDIR=${KSTAGEDIR} \ PKG_VERSION=${PKG_VERSION} DISTDIR=kernel \ + SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH} \ create-kernel-packages create-packages: .PHONY create-packages-world create-packages-kernel @@ -1847,6 +1856,7 @@ create-world-packages: _pkgbootstrap .PHONY done > ${WSTAGEDIR}/packages.mk ${_+_}@cd ${.CURDIR}; \ ${MAKE} -f Makefile.inc1 create-world-packages-jobs \ + SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH} \ .MAKE.JOB.PREFIX= .if make(create-world-packages-jobs) @@ -1874,7 +1884,7 @@ create-world-package-${pkgname}: .PHONY create -f ${PKG_FORMAT} -M ${WSTAGEDIR}/${pkgname}.ucl \ -p ${WSTAGEDIR}/${pkgname}.plist \ -r ${WSTAGEDIR} \ - -o ${REPODIR}/${PKG_ABI}/${PKG_VERSION} + -o ${REPODIR}/${PKG_ABI}/${PKG_OUTPUT_DIR} .endfor _default_flavor= -default @@ -1907,7 +1917,7 @@ create-kernel-packages-flavor${flavor:C,^""$,${_defaul -M ${KSTAGEDIR}/${DISTDIR}/kernel.${INSTALLKERNEL}${flavor}.ucl \ -p ${KSTAGEDIR}/${DISTDIR}/kernel.${INSTALLKERNEL}${flavor}.plist \ -r ${KSTAGEDIR}/${DISTDIR} \ - -o ${REPODIR}/${PKG_ABI}/${PKG_VERSION} + -o ${REPODIR}/${PKG_ABI}/${PKG_OUTPUT_DIR} . endfor .endif .if ${BUILDKERNELS:[#]} > 1 && ${NO_INSTALLEXTRAKERNELS} != "yes" @@ -1940,7 +1950,7 @@ create-kernel-packages-extra-flavor${flavor:C,^""$,${_ -M ${KSTAGEDIR}/kernel.${_kernel}/kernel.${_kernel}${flavor}.ucl \ -p ${KSTAGEDIR}/kernel.${_kernel}/kernel.${_kernel}${flavor}.plist \ -r ${KSTAGEDIR}/kernel.${_kernel} \ - -o ${REPODIR}/${PKG_ABI}/${PKG_VERSION} + -o ${REPODIR}/${PKG_ABI}/${PKG_OUTPUT_DIR} . endfor . endif . endfor @@ -1956,7 +1966,7 @@ sign-packages: _pkgbootstrap .PHONY ${REPODIR}/$$(${PKG_CMD} -o ABI_FILE=${WSTAGEDIR}/usr/bin/uname config ABI)/${PKG_VERSION} \ ${PKGSIGNKEY} ; \ cd ${REPODIR}/$$(${PKG_CMD} -o ABI_FILE=${WSTAGEDIR}/usr/bin/uname config ABI); \ - ln -s ${PKG_VERSION} latest + ln -s ${PKG_OUTPUT_DIR} latest # # @@ -2739,6 +2749,10 @@ _prebuild_libs= ${_kerberos5_lib_libasn1} \ .if ${MK_DIALOG} != "no" _prebuild_libs+= gnu/lib/libdialog gnu/lib/libdialog__L: lib/msun__L lib/ncurses/ncursesw__L +.endif + +.if ${MK_GOOGLETEST} != "no" +_prebuild_libs+= lib/libregex .endif .if ${MK_LIBCPLUSPLUS} != "no" Modified: projects/clang1100-import/ObsoleteFiles.inc ============================================================================== --- projects/clang1100-import/ObsoleteFiles.inc Thu Aug 6 19:31:52 2020 (r363986) +++ projects/clang1100-import/ObsoleteFiles.inc Thu Aug 6 19:34:55 2020 (r363987) @@ -287,6 +287,10 @@ OLD_DIRS+=usr/lib/clang/10.0.1/lib/freebsd OLD_DIRS+=usr/lib/clang/10.0.1/lib OLD_DIRS+=usr/lib/clang/10.0.1 +# 20200803: remove free_domain(9) and uma_zfree_domain(9) +OLD_FILES+=usr/share/man/man9/free_domain.9.gz +OLD_FILES+=usr/share/man/man9/uma_zfree_domain.9.gz + # 20200729: remove long expired serial drivers OLD_FILES+=usr/share/man/man4/cy.4.gz OLD_FILES+=usr/share/man/man4/rc.4.gz Modified: projects/clang1100-import/cddl/contrib/opensolaris/cmd/zinject/translate.c ============================================================================== --- projects/clang1100-import/cddl/contrib/opensolaris/cmd/zinject/translate.c Thu Aug 6 19:31:52 2020 (r363986) +++ projects/clang1100-import/cddl/contrib/opensolaris/cmd/zinject/translate.c Thu Aug 6 19:34:55 2020 (r363987) @@ -20,7 +20,7 @@ */ /* * Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. - * Copyright (c) 2012 by Delphix. All rights reserved. + * Copyright (c) 2012, 2020 by Delphix. All rights reserved. */ #include @@ -484,7 +484,7 @@ translate_device(const char *pool, const char *device, record->zi_end = record->zi_start + VDEV_PAD_SIZE - 1; break; case TYPE_LABEL_PAD2: - record->zi_start = offsetof(vdev_label_t, vl_pad2); + record->zi_start = offsetof(vdev_label_t, vl_be); record->zi_end = record->zi_start + VDEV_PAD_SIZE - 1; break; } Modified: projects/clang1100-import/cddl/contrib/opensolaris/lib/libzfs/common/libzfs.h ============================================================================== --- projects/clang1100-import/cddl/contrib/opensolaris/lib/libzfs/common/libzfs.h Thu Aug 6 19:31:52 2020 (r363986) +++ projects/clang1100-import/cddl/contrib/opensolaris/lib/libzfs/common/libzfs.h Thu Aug 6 19:34:55 2020 (r363987) @@ -837,6 +837,8 @@ extern int zpool_in_use(libzfs_handle_t *, int, pool_s extern int zpool_read_label(int, nvlist_t **); extern int zpool_read_all_labels(int, nvlist_t **); extern int zpool_clear_label(int); +extern int zpool_set_bootenv(zpool_handle_t *, const char *); +extern int zpool_get_bootenv(zpool_handle_t *, char *, size_t, off_t); /* is this zvol valid for use as a dump device? */ extern int zvol_check_dump_config(char *); Modified: projects/clang1100-import/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_pool.c ============================================================================== --- projects/clang1100-import/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_pool.c Thu Aug 6 19:31:52 2020 (r363986) +++ projects/clang1100-import/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_pool.c Thu Aug 6 19:34:55 2020 (r363987) @@ -21,7 +21,7 @@ /* * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. - * Copyright (c) 2011, 2017 by Delphix. All rights reserved. + * Copyright (c) 2011, 2020 by Delphix. All rights reserved. * Copyright (c) 2013, Joyent, Inc. All rights reserved. * Copyright 2016 Nexenta Systems, Inc. * Copyright 2016 Igor Kozhukhov @@ -395,7 +395,7 @@ zpool_get_prop(zpool_handle_t *zhp, zpool_prop_t prop, * Assuming bootfs is a valid dataset name. */ static boolean_t -bootfs_name_valid(const char *pool, char *bootfs) +bootfs_name_valid(const char *pool, const char *bootfs) { int len = strlen(pool); @@ -4231,6 +4231,42 @@ zpool_obj_to_path(zpool_handle_t *zhp, uint64_t dsobj, (void) snprintf(pathname, len, "%s:<0x%llx>", dsname, obj); } free(mntpnt); +} + +int +zpool_set_bootenv(zpool_handle_t *zhp, const char *envmap) +{ + int error = lzc_set_bootenv(zhp->zpool_name, envmap); + if (error != 0) { + (void) zpool_standard_error_fmt(zhp->zpool_hdl, error, + dgettext(TEXT_DOMAIN, + "error setting bootenv in pool '%s'"), zhp->zpool_name); + } + + return (error); +} + +int +zpool_get_bootenv(zpool_handle_t *zhp, char *outbuf, size_t size, off_t offset) +{ + nvlist_t *nvl; + int error = lzc_get_bootenv(zhp->zpool_name, &nvl);; + if (error != 0) { + (void) zpool_standard_error_fmt(zhp->zpool_hdl, error, + dgettext(TEXT_DOMAIN, + "error getting bootenv in pool '%s'"), zhp->zpool_name); + return (-1); + } + char *envmap = fnvlist_lookup_string(nvl, "envmap"); + if (offset >= strlen(envmap)) { + fnvlist_free(nvl); + return (0); + } + + strlcpy(outbuf, envmap + offset, size); + int bytes = MIN(strlen(envmap + offset), size); + fnvlist_free(nvl); + return (bytes); } #ifdef illumos Modified: projects/clang1100-import/cddl/contrib/opensolaris/lib/libzfs_core/common/libzfs_core.c ============================================================================== --- projects/clang1100-import/cddl/contrib/opensolaris/lib/libzfs_core/common/libzfs_core.c Thu Aug 6 19:31:52 2020 (r363986) +++ projects/clang1100-import/cddl/contrib/opensolaris/lib/libzfs_core/common/libzfs_core.c Thu Aug 6 19:34:55 2020 (r363987) @@ -20,7 +20,7 @@ */ /* - * Copyright (c) 2012, 2018 by Delphix. All rights reserved. + * Copyright (c) 2012, 2020 by Delphix. All rights reserved. * Copyright (c) 2013 Steven Hartland. All rights reserved. * Copyright (c) 2014 Integros [integros.com] * Copyright 2017 RackTop Systems. @@ -1209,4 +1209,26 @@ lzc_initialize(const char *poolname, pool_initialize_f fnvlist_free(args); return (error); +} + +/* + * Set the bootenv contents for the given pool. + */ +int +lzc_set_bootenv(const char *pool, const char *env) +{ + nvlist_t *args = fnvlist_alloc(); + fnvlist_add_string(args, "envmap", env); + int error = lzc_ioctl(ZFS_IOC_SET_BOOTENV, pool, args, NULL); + fnvlist_free(args); + return (error); +} + +/* + * Get the contents of the bootenv of the given pool. + */ +int +lzc_get_bootenv(const char *pool, nvlist_t **outnvl) +{ + return (lzc_ioctl(ZFS_IOC_GET_BOOTENV, pool, NULL, outnvl)); } Modified: projects/clang1100-import/cddl/contrib/opensolaris/lib/libzfs_core/common/libzfs_core.h ============================================================================== --- projects/clang1100-import/cddl/contrib/opensolaris/lib/libzfs_core/common/libzfs_core.h Thu Aug 6 19:31:52 2020 (r363986) +++ projects/clang1100-import/cddl/contrib/opensolaris/lib/libzfs_core/common/libzfs_core.h Thu Aug 6 19:34:55 2020 (r363987) @@ -20,7 +20,7 @@ */ /* - * Copyright (c) 2012, 2016 by Delphix. All rights reserved. + * Copyright (c) 2012, 2020 by Delphix. All rights reserved. * Copyright (c) 2013 by Martin Matuska . All rights reserved. * Copyright 2017 RackTop Systems. * Copyright (c) 2017 Datto Inc. @@ -105,6 +105,8 @@ int lzc_channel_program_nosync(const char *, const cha int lzc_pool_checkpoint(const char *); int lzc_pool_checkpoint_discard(const char *); +int lzc_set_bootenv(const char *, const char *); +int lzc_get_bootenv(const char *, nvlist_t **); #ifdef __cplusplus } #endif Modified: projects/clang1100-import/contrib/bc/Makefile.in ============================================================================== --- projects/clang1100-import/contrib/bc/Makefile.in Thu Aug 6 19:31:52 2020 (r363986) +++ projects/clang1100-import/contrib/bc/Makefile.in Thu Aug 6 19:34:55 2020 (r363987) @@ -29,7 +29,7 @@ # .POSIX: -VERSION = 3.1.3 +VERSION = 3.1.5 SRC = %%SRC%% OBJ = %%OBJ%% Modified: projects/clang1100-import/contrib/bc/NEWS.md ============================================================================== --- projects/clang1100-import/contrib/bc/NEWS.md Thu Aug 6 19:31:52 2020 (r363986) +++ projects/clang1100-import/contrib/bc/NEWS.md Thu Aug 6 19:34:55 2020 (r363987) @@ -1,5 +1,32 @@ # News +## 3.1.5 + +This is a production release that fixes the Chinese locales (which caused `bc` +to crash) and a crash caused by `bc` executing code when it should not have been +able to. + +***ALL USERS SHOULD UPGRADE.*** + +## 3.1.4 + +This is a production release that fixes one bug, changes two behaviors, and +removes one environment variable. + +The bug is like the one in the last release except it applies if files are being +executed. I also made the fix more general. + +The behavior that was changed is that `bc` now exits when given `-e`, `-f`, +`--expression` or `--file`. However, if the last one of those is `-f-` (using +`stdin` as the file), `bc` does not exit. If `-f-` exists and is not the last of +the `-e` and `-f` options (and equivalents), `bc` gives a fatal error and exits. + +Next, I removed the `BC_EXPR_EXIT` and `DC_EXPR_EXIT` environment variables +since their use is not needed with the behavior change. + +Finally, I made it so `bc` does not print the header, though the `-q` and +`--quiet` options were kept for compatibility with GNU `bc`. + ## 3.1.3 This is a production release that fixes one minor bug: if `bc` was invoked like Modified: projects/clang1100-import/contrib/bc/README.md ============================================================================== --- projects/clang1100-import/contrib/bc/README.md Thu Aug 6 19:31:52 2020 (r363986) +++ projects/clang1100-import/contrib/bc/README.md Thu Aug 6 19:34:55 2020 (r363987) @@ -262,8 +262,8 @@ Other projects based on this bc are: toybox `bc` should be reported there. * [FreeBSD `bc`][23]. While the `bc` in FreeBSD is kept up-to-date, it is better - to report bugs there, and the maintainers of the package will contact me if - necessary. + to [report bugs there][24], as well as [submit patches][25], and the + maintainers of the package will contact me if necessary. ## Language @@ -332,4 +332,6 @@ Folders: [20]: https://git.yzena.com/gavin/bc [21]: https://gavinhoward.com/2020/04/i-am-moving-away-from-github/ [22]: https://www.deepl.com/translator -[23]: https://github.com/freebsd/freebsd/tree/master/contrib/bc +[23]: https://svnweb.freebsd.org/base/head/contrib/bc/ +[24]: https://bugs.freebsd.org/ +[25]: https://reviews.freebsd.org/ Modified: projects/clang1100-import/contrib/bc/include/bc.h ============================================================================== --- projects/clang1100-import/contrib/bc/include/bc.h Thu Aug 6 19:31:52 2020 (r363986) +++ projects/clang1100-import/contrib/bc/include/bc.h Thu Aug 6 19:34:55 2020 (r363987) @@ -159,9 +159,6 @@ void bc_parse_expr(BcParse *p, uint8_t flags); void bc_parse_parse(BcParse *p); void bc_parse_expr_status(BcParse *p, uint8_t flags, BcParseNext next); -// This is necessary to clear up for if statements at the end of files. -void bc_parse_noElse(BcParse *p); - extern const char bc_sig_msg[]; extern const uchar bc_sig_msg_len; Modified: projects/clang1100-import/contrib/bc/include/vm.h ============================================================================== --- projects/clang1100-import/contrib/bc/include/vm.h Thu Aug 6 19:31:52 2020 (r363986) +++ projects/clang1100-import/contrib/bc/include/vm.h Thu Aug 6 19:34:55 2020 (r363987) @@ -102,11 +102,10 @@ #define BC_FLAG_G (UINTMAX_C(1)<<4) #endif // BC_ENABLED -#define BC_FLAG_Q (UINTMAX_C(1)<<5) -#define BC_FLAG_I (UINTMAX_C(1)<<6) -#define BC_FLAG_P (UINTMAX_C(1)<<7) -#define BC_FLAG_TTYIN (UINTMAX_C(1)<<8) -#define BC_FLAG_TTY (UINTMAX_C(1)<<9) +#define BC_FLAG_I (UINTMAX_C(1)<<5) +#define BC_FLAG_P (UINTMAX_C(1)<<6) +#define BC_FLAG_TTYIN (UINTMAX_C(1)<<7) +#define BC_FLAG_TTY (UINTMAX_C(1)<<8) #define BC_TTYIN (vm.flags & BC_FLAG_TTYIN) #define BC_TTY (vm.flags & BC_FLAG_TTY) @@ -279,12 +278,6 @@ #define BC_VM_INVALID_CATALOG ((nl_catd) -1) -// dc does not use is_stdin. -#if !BC_ENABLED -#define bc_vm_process(text, is_stdin) bc_vm_process(text) -#else // BC_ENABLED -#endif // BC_ENABLED - typedef struct BcVm { volatile sig_atomic_t status; @@ -310,6 +303,7 @@ typedef struct BcVm { uint16_t nchars; uint16_t line_len; + bool no_exit_exprs; bool eof; BcBigDig maxes[BC_PROG_GLOBALS_LEN + BC_ENABLE_EXTRA_MATH]; @@ -360,7 +354,7 @@ typedef struct BcVm { void bc_vm_info(const char* const help); void bc_vm_boot(int argc, char *argv[], const char *env_len, - const char* const env_args, const char* env_exp_quit); + const char* const env_args); void bc_vm_shutdown(void); void bc_vm_printf(const char *fmt, ...); Modified: projects/clang1100-import/contrib/bc/locales/zh_CN.GB18030.msg ============================================================================== Binary file (source and/or target). No diff available. Modified: projects/clang1100-import/contrib/bc/locales/zh_CN.GB2312.msg ============================================================================== Binary file (source and/or target). No diff available. Modified: projects/clang1100-import/contrib/bc/locales/zh_CN.GBK.msg ============================================================================== Binary file (source and/or target). No diff available. Modified: projects/clang1100-import/contrib/bc/locales/zh_CN.UTF-8.msg ============================================================================== Binary file (source and/or target). No diff available. Modified: projects/clang1100-import/contrib/bc/locales/zh_CN.eucCN.msg ============================================================================== Binary file (source and/or target). No diff available. Modified: projects/clang1100-import/contrib/bc/manuals/bc.1.md.in ============================================================================== --- projects/clang1100-import/contrib/bc/manuals/bc.1.md.in Thu Aug 6 19:31:52 2020 (r363986) +++ projects/clang1100-import/contrib/bc/manuals/bc.1.md.in Thu Aug 6 19:34:55 2020 (r363987) @@ -195,11 +195,11 @@ The following are the options that bc(1) accepts. **-q**, **--quiet** -: Do not print copyright header. bc(1) will also suppress the header in - non-interactive mode. +: This option is for compatibility with the [GNU bc(1)][2]; it is a no-op. + Without this option, GNU bc(1) prints a copyright header. This bc(1) only + prints the copyright header if one or more of the **-v**, **-V**, or + **--version** options are given. - This is mostly for compatibility with the [GNU bc(1)][2]. - This is a **non-portable extension**. **-s**, **--standard** @@ -229,9 +229,10 @@ The following are the options that bc(1) accepts. evaluated in the order given. This means that if a file is given before an expression, the file is read in and evaluated first. - In other bc(1) implementations, this option causes the program to execute - the expressions and then exit. This bc(1) does not, unless the - **BC_EXPR_EXIT** is defined (see the **ENVIRONMENT VARIABLES** section). + After processing all expressions and files, bc(1) will exit, unless **-** + (**stdin**) was given as an argument at least once to **-f** or **--file**. + However, if any other **-e**, **--expression**, **-f**, or **--file** + arguments are given after that, bc(1) will give a fatal error and exit. This is a **non-portable extension**. @@ -241,9 +242,8 @@ The following are the options that bc(1) accepts. through **stdin**. If expressions are also given (see above), the expressions are evaluated in the order given. - In other bc(1) implementations, this option causes the program to execute - the files and then exit. This bc(1) does not, unless the - **BC_EXPR_EXIT** is defined (see the **ENVIRONMENT VARIABLES** section). + After processing all expressions and files, bc(1) will exit, unless **-** + (**stdin**) was given as an argument at least once to **-f** or **--file**. This is a **non-portable extension**. @@ -1614,12 +1614,6 @@ bc(1) recognizes the following environment variables: than **1** and is less than **UINT16_MAX** (**2\^16-1**), bc(1) will output lines to that length, including the backslash (**\\**). The default line length is **70**. - -**BC_EXPR_EXIT** - -: If this variable exists (no matter the contents), bc(1) will exit - immediately after executing expressions and files given by the **-e** and/or - **-f** command-line options (and any equivalents). # EXIT STATUS Modified: projects/clang1100-import/contrib/bc/manuals/bc/A.1 ============================================================================== --- projects/clang1100-import/contrib/bc/manuals/bc/A.1 Thu Aug 6 19:31:52 2020 (r363986) +++ projects/clang1100-import/contrib/bc/manuals/bc/A.1 Thu Aug 6 19:34:55 2020 (r363987) @@ -187,13 +187,13 @@ This is a \f[B]non\-portable extension\f[]. .RE .TP .B \f[B]\-q\f[], \f[B]\-\-quiet\f[] -Do not print copyright header. -bc(1) will also suppress the header in non\-interactive mode. +This option is for compatibility with the GNU +bc(1) (https://www.gnu.org/software/bc/); it is a no\-op. +Without this option, GNU bc(1) prints a copyright header. +This bc(1) only prints the copyright header if one or more of the +\f[B]\-v\f[], \f[B]\-V\f[], or \f[B]\-\-version\f[] options are given. .RS .PP -This is mostly for compatibility with the GNU -bc(1) (https://www.gnu.org/software/bc/). -.PP This is a \f[B]non\-portable extension\f[]. .RE .TP @@ -231,10 +231,12 @@ This means that if a file is given before an expressio read in and evaluated first. .RS .PP -In other bc(1) implementations, this option causes the program to -execute the expressions and then exit. -This bc(1) does not, unless the \f[B]BC_EXPR_EXIT\f[] is defined (see -the \f[B]ENVIRONMENT VARIABLES\f[] section). +After processing all expressions and files, bc(1) will exit, unless +\f[B]\-\f[] (\f[B]stdin\f[]) was given as an argument at least once to +\f[B]\-f\f[] or \f[B]\-\-file\f[]. +However, if any other \f[B]\-e\f[], \f[B]\-\-expression\f[], +\f[B]\-f\f[], or \f[B]\-\-file\f[] arguments are given after that, bc(1) +will give a fatal error and exit. .PP This is a \f[B]non\-portable extension\f[]. .RE @@ -246,10 +248,9 @@ If expressions are also given (see above), the express in the order given. .RS .PP -In other bc(1) implementations, this option causes the program to -execute the files and then exit. -This bc(1) does not, unless the \f[B]BC_EXPR_EXIT\f[] is defined (see -the \f[B]ENVIRONMENT VARIABLES\f[] section). +After processing all expressions and files, bc(1) will exit, unless +\f[B]\-\f[] (\f[B]stdin\f[]) was given as an argument at least once to +\f[B]\-f\f[] or \f[B]\-\-file\f[]. .PP This is a \f[B]non\-portable extension\f[]. .RE @@ -1913,14 +1914,6 @@ greater than \f[B]1\f[] and is less than \f[B]UINT16_M (\f[B]2^16\-1\f[]), bc(1) will output lines to that length, including the backslash (\f[B]\\\f[]). The default line length is \f[B]70\f[]. -.RS -.RE -.TP -.B \f[B]BC_EXPR_EXIT\f[] -If this variable exists (no matter the contents), bc(1) will exit -immediately after executing expressions and files given by the -\f[B]\-e\f[] and/or \f[B]\-f\f[] command\-line options (and any -equivalents). .RS .RE .SH EXIT STATUS Modified: projects/clang1100-import/contrib/bc/manuals/bc/A.1.md ============================================================================== --- projects/clang1100-import/contrib/bc/manuals/bc/A.1.md Thu Aug 6 19:31:52 2020 (r363986) +++ projects/clang1100-import/contrib/bc/manuals/bc/A.1.md Thu Aug 6 19:34:55 2020 (r363987) @@ -153,11 +153,11 @@ The following are the options that bc(1) accepts. **-q**, **--quiet** -: Do not print copyright header. bc(1) will also suppress the header in - non-interactive mode. +: This option is for compatibility with the [GNU bc(1)][2]; it is a no-op. + Without this option, GNU bc(1) prints a copyright header. This bc(1) only + prints the copyright header if one or more of the **-v**, **-V**, or + **--version** options are given. - This is mostly for compatibility with the [GNU bc(1)][2]. - This is a **non-portable extension**. **-s**, **--standard** @@ -187,9 +187,10 @@ The following are the options that bc(1) accepts. evaluated in the order given. This means that if a file is given before an expression, the file is read in and evaluated first. - In other bc(1) implementations, this option causes the program to execute - the expressions and then exit. This bc(1) does not, unless the - **BC_EXPR_EXIT** is defined (see the **ENVIRONMENT VARIABLES** section). + After processing all expressions and files, bc(1) will exit, unless **-** + (**stdin**) was given as an argument at least once to **-f** or **--file**. + However, if any other **-e**, **--expression**, **-f**, or **--file** + arguments are given after that, bc(1) will give a fatal error and exit. This is a **non-portable extension**. @@ -199,9 +200,8 @@ The following are the options that bc(1) accepts. through **stdin**. If expressions are also given (see above), the expressions are evaluated in the order given. - In other bc(1) implementations, this option causes the program to execute - the files and then exit. This bc(1) does not, unless the - **BC_EXPR_EXIT** is defined (see the **ENVIRONMENT VARIABLES** section). + After processing all expressions and files, bc(1) will exit, unless **-** + (**stdin**) was given as an argument at least once to **-f** or **--file**. This is a **non-portable extension**. @@ -1523,12 +1523,6 @@ bc(1) recognizes the following environment variables: than **1** and is less than **UINT16_MAX** (**2\^16-1**), bc(1) will output lines to that length, including the backslash (**\\**). The default line length is **70**. - -**BC_EXPR_EXIT** - -: If this variable exists (no matter the contents), bc(1) will exit - immediately after executing expressions and files given by the **-e** and/or - **-f** command-line options (and any equivalents). # EXIT STATUS Modified: projects/clang1100-import/contrib/bc/manuals/bc/E.1 ============================================================================== --- projects/clang1100-import/contrib/bc/manuals/bc/E.1 Thu Aug 6 19:31:52 2020 (r363986) +++ projects/clang1100-import/contrib/bc/manuals/bc/E.1 Thu Aug 6 19:34:55 2020 (r363987) @@ -148,13 +148,13 @@ This is a \f[B]non\-portable extension\f[]. .RE .TP .B \f[B]\-q\f[], \f[B]\-\-quiet\f[] -Do not print copyright header. -bc(1) will also suppress the header in non\-interactive mode. +This option is for compatibility with the GNU +bc(1) (https://www.gnu.org/software/bc/); it is a no\-op. +Without this option, GNU bc(1) prints a copyright header. +This bc(1) only prints the copyright header if one or more of the +\f[B]\-v\f[], \f[B]\-V\f[], or \f[B]\-\-version\f[] options are given. .RS .PP -This is mostly for compatibility with the GNU -bc(1) (https://www.gnu.org/software/bc/). -.PP This is a \f[B]non\-portable extension\f[]. .RE .TP @@ -192,10 +192,12 @@ This means that if a file is given before an expressio read in and evaluated first. .RS .PP -In other bc(1) implementations, this option causes the program to -execute the expressions and then exit. -This bc(1) does not, unless the \f[B]BC_EXPR_EXIT\f[] is defined (see -the \f[B]ENVIRONMENT VARIABLES\f[] section). +After processing all expressions and files, bc(1) will exit, unless +\f[B]\-\f[] (\f[B]stdin\f[]) was given as an argument at least once to +\f[B]\-f\f[] or \f[B]\-\-file\f[]. +However, if any other \f[B]\-e\f[], \f[B]\-\-expression\f[], +\f[B]\-f\f[], or \f[B]\-\-file\f[] arguments are given after that, bc(1) +will give a fatal error and exit. .PP This is a \f[B]non\-portable extension\f[]. .RE @@ -207,10 +209,9 @@ If expressions are also given (see above), the express in the order given. .RS .PP -In other bc(1) implementations, this option causes the program to -execute the files and then exit. -This bc(1) does not, unless the \f[B]BC_EXPR_EXIT\f[] is defined (see -the \f[B]ENVIRONMENT VARIABLES\f[] section). +After processing all expressions and files, bc(1) will exit, unless +\f[B]\-\f[] (\f[B]stdin\f[]) was given as an argument at least once to +\f[B]\-f\f[] or \f[B]\-\-file\f[]. .PP This is a \f[B]non\-portable extension\f[]. .RE @@ -1159,14 +1160,6 @@ greater than \f[B]1\f[] and is less than \f[B]UINT16_M (\f[B]2^16\-1\f[]), bc(1) will output lines to that length, including the backslash (\f[B]\\\f[]). The default line length is \f[B]70\f[]. -.RS -.RE -.TP -.B \f[B]BC_EXPR_EXIT\f[] -If this variable exists (no matter the contents), bc(1) will exit -immediately after executing expressions and files given by the -\f[B]\-e\f[] and/or \f[B]\-f\f[] command\-line options (and any -equivalents). .RS .RE .SH EXIT STATUS Modified: projects/clang1100-import/contrib/bc/manuals/bc/E.1.md ============================================================================== --- projects/clang1100-import/contrib/bc/manuals/bc/E.1.md Thu Aug 6 19:31:52 2020 (r363986) +++ projects/clang1100-import/contrib/bc/manuals/bc/E.1.md Thu Aug 6 19:34:55 2020 (r363987) @@ -137,11 +137,11 @@ The following are the options that bc(1) accepts. **-q**, **--quiet** -: Do not print copyright header. bc(1) will also suppress the header in - non-interactive mode. +: This option is for compatibility with the [GNU bc(1)][2]; it is a no-op. + Without this option, GNU bc(1) prints a copyright header. This bc(1) only + prints the copyright header if one or more of the **-v**, **-V**, or + **--version** options are given. - This is mostly for compatibility with the [GNU bc(1)][2]. - This is a **non-portable extension**. **-s**, **--standard** @@ -171,9 +171,10 @@ The following are the options that bc(1) accepts. evaluated in the order given. This means that if a file is given before an expression, the file is read in and evaluated first. - In other bc(1) implementations, this option causes the program to execute - the expressions and then exit. This bc(1) does not, unless the - **BC_EXPR_EXIT** is defined (see the **ENVIRONMENT VARIABLES** section). + After processing all expressions and files, bc(1) will exit, unless **-** + (**stdin**) was given as an argument at least once to **-f** or **--file**. + However, if any other **-e**, **--expression**, **-f**, or **--file** + arguments are given after that, bc(1) will give a fatal error and exit. This is a **non-portable extension**. @@ -183,9 +184,8 @@ The following are the options that bc(1) accepts. through **stdin**. If expressions are also given (see above), the expressions are evaluated in the order given. - In other bc(1) implementations, this option causes the program to execute - the files and then exit. This bc(1) does not, unless the - **BC_EXPR_EXIT** is defined (see the **ENVIRONMENT VARIABLES** section). + After processing all expressions and files, bc(1) will exit, unless **-** + (**stdin**) was given as an argument at least once to **-f** or **--file**. This is a **non-portable extension**. @@ -919,12 +919,6 @@ bc(1) recognizes the following environment variables: than **1** and is less than **UINT16_MAX** (**2\^16-1**), bc(1) will output lines to that length, including the backslash (**\\**). The default line length is **70**. - -**BC_EXPR_EXIT** - -: If this variable exists (no matter the contents), bc(1) will exit - immediately after executing expressions and files given by the **-e** and/or - **-f** command-line options (and any equivalents). # EXIT STATUS Modified: projects/clang1100-import/contrib/bc/manuals/bc/EH.1 ============================================================================== --- projects/clang1100-import/contrib/bc/manuals/bc/EH.1 Thu Aug 6 19:31:52 2020 (r363986) +++ projects/clang1100-import/contrib/bc/manuals/bc/EH.1 Thu Aug 6 19:34:55 2020 (r363987) @@ -145,13 +145,13 @@ This is a \f[B]non\-portable extension\f[]. .RE .TP .B \f[B]\-q\f[], \f[B]\-\-quiet\f[] -Do not print copyright header. -bc(1) will also suppress the header in non\-interactive mode. +This option is for compatibility with the GNU +bc(1) (https://www.gnu.org/software/bc/); it is a no\-op. +Without this option, GNU bc(1) prints a copyright header. +This bc(1) only prints the copyright header if one or more of the +\f[B]\-v\f[], \f[B]\-V\f[], or \f[B]\-\-version\f[] options are given. .RS .PP -This is mostly for compatibility with the GNU -bc(1) (https://www.gnu.org/software/bc/). -.PP This is a \f[B]non\-portable extension\f[]. .RE .TP @@ -189,10 +189,12 @@ This means that if a file is given before an expressio read in and evaluated first. .RS .PP -In other bc(1) implementations, this option causes the program to -execute the expressions and then exit. -This bc(1) does not, unless the \f[B]BC_EXPR_EXIT\f[] is defined (see -the \f[B]ENVIRONMENT VARIABLES\f[] section). +After processing all expressions and files, bc(1) will exit, unless +\f[B]\-\f[] (\f[B]stdin\f[]) was given as an argument at least once to +\f[B]\-f\f[] or \f[B]\-\-file\f[]. +However, if any other \f[B]\-e\f[], \f[B]\-\-expression\f[], +\f[B]\-f\f[], or \f[B]\-\-file\f[] arguments are given after that, bc(1) +will give a fatal error and exit. .PP This is a \f[B]non\-portable extension\f[]. .RE @@ -204,10 +206,9 @@ If expressions are also given (see above), the express in the order given. .RS .PP -In other bc(1) implementations, this option causes the program to -execute the files and then exit. -This bc(1) does not, unless the \f[B]BC_EXPR_EXIT\f[] is defined (see -the \f[B]ENVIRONMENT VARIABLES\f[] section). +After processing all expressions and files, bc(1) will exit, unless +\f[B]\-\f[] (\f[B]stdin\f[]) was given as an argument at least once to +\f[B]\-f\f[] or \f[B]\-\-file\f[]. .PP This is a \f[B]non\-portable extension\f[]. .RE @@ -1156,14 +1157,6 @@ greater than \f[B]1\f[] and is less than \f[B]UINT16_M (\f[B]2^16\-1\f[]), bc(1) will output lines to that length, including the backslash (\f[B]\\\f[]). The default line length is \f[B]70\f[]. -.RS -.RE -.TP -.B \f[B]BC_EXPR_EXIT\f[] -If this variable exists (no matter the contents), bc(1) will exit -immediately after executing expressions and files given by the -\f[B]\-e\f[] and/or \f[B]\-f\f[] command\-line options (and any -equivalents). .RS .RE .SH EXIT STATUS Modified: projects/clang1100-import/contrib/bc/manuals/bc/EH.1.md ============================================================================== --- projects/clang1100-import/contrib/bc/manuals/bc/EH.1.md Thu Aug 6 19:31:52 2020 (r363986) +++ projects/clang1100-import/contrib/bc/manuals/bc/EH.1.md Thu Aug 6 19:34:55 2020 (r363987) @@ -134,11 +134,11 @@ The following are the options that bc(1) accepts. **-q**, **--quiet** -: Do not print copyright header. bc(1) will also suppress the header in - non-interactive mode. +: This option is for compatibility with the [GNU bc(1)][2]; it is a no-op. + Without this option, GNU bc(1) prints a copyright header. This bc(1) only + prints the copyright header if one or more of the **-v**, **-V**, or + **--version** options are given. - This is mostly for compatibility with the [GNU bc(1)][2]. - This is a **non-portable extension**. **-s**, **--standard** @@ -168,9 +168,10 @@ The following are the options that bc(1) accepts. evaluated in the order given. This means that if a file is given before an expression, the file is read in and evaluated first. - In other bc(1) implementations, this option causes the program to execute - the expressions and then exit. This bc(1) does not, unless the - **BC_EXPR_EXIT** is defined (see the **ENVIRONMENT VARIABLES** section). + After processing all expressions and files, bc(1) will exit, unless **-** + (**stdin**) was given as an argument at least once to **-f** or **--file**. + However, if any other **-e**, **--expression**, **-f**, or **--file** + arguments are given after that, bc(1) will give a fatal error and exit. This is a **non-portable extension**. @@ -180,9 +181,8 @@ The following are the options that bc(1) accepts. through **stdin**. If expressions are also given (see above), the expressions are evaluated in the order given. - In other bc(1) implementations, this option causes the program to execute - the files and then exit. This bc(1) does not, unless the - **BC_EXPR_EXIT** is defined (see the **ENVIRONMENT VARIABLES** section). + After processing all expressions and files, bc(1) will exit, unless **-** + (**stdin**) was given as an argument at least once to **-f** or **--file**. This is a **non-portable extension**. @@ -916,12 +916,6 @@ bc(1) recognizes the following environment variables: than **1** and is less than **UINT16_MAX** (**2\^16-1**), bc(1) will output lines to that length, including the backslash (**\\**). The default line length is **70**. - -**BC_EXPR_EXIT** - -: If this variable exists (no matter the contents), bc(1) will exit - immediately after executing expressions and files given by the **-e** and/or - **-f** command-line options (and any equivalents). # EXIT STATUS Modified: projects/clang1100-import/contrib/bc/manuals/bc/EHN.1 ============================================================================== --- projects/clang1100-import/contrib/bc/manuals/bc/EHN.1 Thu Aug 6 19:31:52 2020 (r363986) +++ projects/clang1100-import/contrib/bc/manuals/bc/EHN.1 Thu Aug 6 19:34:55 2020 (r363987) @@ -145,13 +145,13 @@ This is a \f[B]non\-portable extension\f[]. .RE .TP .B \f[B]\-q\f[], \f[B]\-\-quiet\f[] -Do not print copyright header. -bc(1) will also suppress the header in non\-interactive mode. +This option is for compatibility with the GNU +bc(1) (https://www.gnu.org/software/bc/); it is a no\-op. +Without this option, GNU bc(1) prints a copyright header. +This bc(1) only prints the copyright header if one or more of the +\f[B]\-v\f[], \f[B]\-V\f[], or \f[B]\-\-version\f[] options are given. .RS .PP -This is mostly for compatibility with the GNU -bc(1) (https://www.gnu.org/software/bc/). -.PP This is a \f[B]non\-portable extension\f[]. .RE .TP @@ -189,10 +189,12 @@ This means that if a file is given before an expressio read in and evaluated first. .RS .PP -In other bc(1) implementations, this option causes the program to -execute the expressions and then exit. -This bc(1) does not, unless the \f[B]BC_EXPR_EXIT\f[] is defined (see -the \f[B]ENVIRONMENT VARIABLES\f[] section). +After processing all expressions and files, bc(1) will exit, unless +\f[B]\-\f[] (\f[B]stdin\f[]) was given as an argument at least once to +\f[B]\-f\f[] or \f[B]\-\-file\f[]. +However, if any other \f[B]\-e\f[], \f[B]\-\-expression\f[], +\f[B]\-f\f[], or \f[B]\-\-file\f[] arguments are given after that, bc(1) +will give a fatal error and exit. .PP This is a \f[B]non\-portable extension\f[]. .RE @@ -204,10 +206,9 @@ If expressions are also given (see above), the express in the order given. .RS .PP -In other bc(1) implementations, this option causes the program to -execute the files and then exit. -This bc(1) does not, unless the \f[B]BC_EXPR_EXIT\f[] is defined (see -the \f[B]ENVIRONMENT VARIABLES\f[] section). +After processing all expressions and files, bc(1) will exit, unless +\f[B]\-\f[] (\f[B]stdin\f[]) was given as an argument at least once to +\f[B]\-f\f[] or \f[B]\-\-file\f[]. .PP This is a \f[B]non\-portable extension\f[]. .RE @@ -1156,14 +1157,6 @@ greater than \f[B]1\f[] and is less than \f[B]UINT16_M (\f[B]2^16\-1\f[]), bc(1) will output lines to that length, including the backslash (\f[B]\\\f[]). The default line length is \f[B]70\f[]. -.RS -.RE -.TP -.B \f[B]BC_EXPR_EXIT\f[] -If this variable exists (no matter the contents), bc(1) will exit -immediately after executing expressions and files given by the -\f[B]\-e\f[] and/or \f[B]\-f\f[] command\-line options (and any -equivalents). .RS .RE .SH EXIT STATUS Modified: projects/clang1100-import/contrib/bc/manuals/bc/EHN.1.md ============================================================================== --- projects/clang1100-import/contrib/bc/manuals/bc/EHN.1.md Thu Aug 6 19:31:52 2020 (r363986) +++ projects/clang1100-import/contrib/bc/manuals/bc/EHN.1.md Thu Aug 6 19:34:55 2020 (r363987) @@ -134,11 +134,11 @@ The following are the options that bc(1) accepts. **-q**, **--quiet** -: Do not print copyright header. bc(1) will also suppress the header in - non-interactive mode. +: This option is for compatibility with the [GNU bc(1)][2]; it is a no-op. + Without this option, GNU bc(1) prints a copyright header. This bc(1) only + prints the copyright header if one or more of the **-v**, **-V**, or + **--version** options are given. - This is mostly for compatibility with the [GNU bc(1)][2]. - This is a **non-portable extension**. **-s**, **--standard** @@ -168,9 +168,10 @@ The following are the options that bc(1) accepts. evaluated in the order given. This means that if a file is given before an expression, the file is read in and evaluated first. - In other bc(1) implementations, this option causes the program to execute - the expressions and then exit. This bc(1) does not, unless the - **BC_EXPR_EXIT** is defined (see the **ENVIRONMENT VARIABLES** section). + After processing all expressions and files, bc(1) will exit, unless **-** + (**stdin**) was given as an argument at least once to **-f** or **--file**. + However, if any other **-e**, **--expression**, **-f**, or **--file** + arguments are given after that, bc(1) will give a fatal error and exit. This is a **non-portable extension**. @@ -180,9 +181,8 @@ The following are the options that bc(1) accepts. through **stdin**. If expressions are also given (see above), the expressions are evaluated in the order given. - In other bc(1) implementations, this option causes the program to execute - the files and then exit. This bc(1) does not, unless the - **BC_EXPR_EXIT** is defined (see the **ENVIRONMENT VARIABLES** section). + After processing all expressions and files, bc(1) will exit, unless **-** + (**stdin**) was given as an argument at least once to **-f** or **--file**. This is a **non-portable extension**. @@ -916,12 +916,6 @@ bc(1) recognizes the following environment variables: than **1** and is less than **UINT16_MAX** (**2\^16-1**), bc(1) will output lines to that length, including the backslash (**\\**). The default line length is **70**. - -**BC_EXPR_EXIT** - -: If this variable exists (no matter the contents), bc(1) will exit - immediately after executing expressions and files given by the **-e** and/or - **-f** command-line options (and any equivalents). # EXIT STATUS Modified: projects/clang1100-import/contrib/bc/manuals/bc/EHNP.1 ============================================================================== --- projects/clang1100-import/contrib/bc/manuals/bc/EHNP.1 Thu Aug 6 19:31:52 2020 (r363986) +++ projects/clang1100-import/contrib/bc/manuals/bc/EHNP.1 Thu Aug 6 19:34:55 2020 (r363987) @@ -140,13 +140,13 @@ This is a \f[B]non\-portable extension\f[]. .RE .TP .B \f[B]\-q\f[], \f[B]\-\-quiet\f[] -Do not print copyright header. -bc(1) will also suppress the header in non\-interactive mode. +This option is for compatibility with the GNU +bc(1) (https://www.gnu.org/software/bc/); it is a no\-op. +Without this option, GNU bc(1) prints a copyright header. +This bc(1) only prints the copyright header if one or more of the +\f[B]\-v\f[], \f[B]\-V\f[], or \f[B]\-\-version\f[] options are given. .RS .PP -This is mostly for compatibility with the GNU -bc(1) (https://www.gnu.org/software/bc/). -.PP This is a \f[B]non\-portable extension\f[]. .RE .TP @@ -184,10 +184,12 @@ This means that if a file is given before an expressio read in and evaluated first. .RS .PP -In other bc(1) implementations, this option causes the program to -execute the expressions and then exit. -This bc(1) does not, unless the \f[B]BC_EXPR_EXIT\f[] is defined (see -the \f[B]ENVIRONMENT VARIABLES\f[] section). +After processing all expressions and files, bc(1) will exit, unless +\f[B]\-\f[] (\f[B]stdin\f[]) was given as an argument at least once to +\f[B]\-f\f[] or \f[B]\-\-file\f[]. +However, if any other \f[B]\-e\f[], \f[B]\-\-expression\f[], +\f[B]\-f\f[], or \f[B]\-\-file\f[] arguments are given after that, bc(1) +will give a fatal error and exit. .PP This is a \f[B]non\-portable extension\f[]. .RE @@ -199,10 +201,9 @@ If expressions are also given (see above), the express in the order given. .RS .PP -In other bc(1) implementations, this option causes the program to -execute the files and then exit. -This bc(1) does not, unless the \f[B]BC_EXPR_EXIT\f[] is defined (see -the \f[B]ENVIRONMENT VARIABLES\f[] section). +After processing all expressions and files, bc(1) will exit, unless +\f[B]\-\f[] (\f[B]stdin\f[]) was given as an argument at least once to +\f[B]\-f\f[] or \f[B]\-\-file\f[]. .PP This is a \f[B]non\-portable extension\f[]. .RE @@ -1151,14 +1152,6 @@ greater than \f[B]1\f[] and is less than \f[B]UINT16_M (\f[B]2^16\-1\f[]), bc(1) will output lines to that length, including the backslash (\f[B]\\\f[]). The default line length is \f[B]70\f[]. -.RS -.RE -.TP -.B \f[B]BC_EXPR_EXIT\f[] -If this variable exists (no matter the contents), bc(1) will exit -immediately after executing expressions and files given by the -\f[B]\-e\f[] and/or \f[B]\-f\f[] command\-line options (and any -equivalents). .RS .RE .SH EXIT STATUS Modified: projects/clang1100-import/contrib/bc/manuals/bc/EHNP.1.md ============================================================================== --- projects/clang1100-import/contrib/bc/manuals/bc/EHNP.1.md Thu Aug 6 19:31:52 2020 (r363986) *** DIFF OUTPUT TRUNCATED AT 1000 LINES *** From owner-svn-src-projects@freebsd.org Thu Aug 6 20:33:18 2020 Return-Path: Delivered-To: svn-src-projects@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BE9D73AA43F for ; Thu, 6 Aug 2020 20:33:18 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BN0Yp4YLSz4YFJ; Thu, 6 Aug 2020 20:33:18 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3C2E8CAE2; Thu, 6 Aug 2020 20:33:18 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 076KXI8R007519; Thu, 6 Aug 2020 20:33:18 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 076KXINJ007518; Thu, 6 Aug 2020 20:33:18 GMT (envelope-from dim@FreeBSD.org) Message-Id: <202008062033.076KXINJ007518@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Thu, 6 Aug 2020 20:33:18 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r363989 - projects/clang1100-import/usr.sbin/yp_mkdb X-SVN-Group: projects X-SVN-Commit-Author: dim X-SVN-Commit-Paths: projects/clang1100-import/usr.sbin/yp_mkdb X-SVN-Commit-Revision: 363989 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Aug 2020 20:33:18 -0000 Author: dim Date: Thu Aug 6 20:33:17 2020 New Revision: 363989 URL: https://svnweb.freebsd.org/changeset/base/363989 Log: Merge ^/head r363583 through r363988. Modified: projects/clang1100-import/usr.sbin/yp_mkdb/yp_mkdb.c Directory Properties: projects/clang1100-import/ (props changed) Modified: projects/clang1100-import/usr.sbin/yp_mkdb/yp_mkdb.c ============================================================================== --- projects/clang1100-import/usr.sbin/yp_mkdb/yp_mkdb.c Thu Aug 6 20:31:50 2020 (r363988) +++ projects/clang1100-import/usr.sbin/yp_mkdb/yp_mkdb.c Thu Aug 6 20:33:17 2020 (r363989) @@ -88,8 +88,8 @@ unwind(char *map) key.data = NULL; while (yp_next_record(dbp, &key, &data, 1, 1) == YP_TRUE) - printf("%.*s %.*s\n", (int)key.size, key.data, (int)data.size, - data.data); + printf("%.*s %.*s\n", (int)key.size, (char *)key.data, + (int)data.size, (char *)data.data); (void)(dbp->close)(dbp); return; From owner-svn-src-projects@freebsd.org Thu Aug 6 20:55:19 2020 Return-Path: Delivered-To: svn-src-projects@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 71E913AB7CD for ; Thu, 6 Aug 2020 20:55:19 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BN13C2HWbz4blV; Thu, 6 Aug 2020 20:55:19 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3252FD112; Thu, 6 Aug 2020 20:55:19 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 076KtJSf020475; Thu, 6 Aug 2020 20:55:19 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 076KtJ06020474; Thu, 6 Aug 2020 20:55:19 GMT (envelope-from dim@FreeBSD.org) Message-Id: <202008062055.076KtJ06020474@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Thu, 6 Aug 2020 20:55:19 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r363994 - projects/clang1100-import/lib/clang/libclang X-SVN-Group: projects X-SVN-Commit-Author: dim X-SVN-Commit-Paths: projects/clang1100-import/lib/clang/libclang X-SVN-Commit-Revision: 363994 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Aug 2020 20:55:19 -0000 Author: dim Date: Thu Aug 6 20:55:18 2020 New Revision: 363994 URL: https://svnweb.freebsd.org/changeset/base/363994 Log: Put clang/lib/Tooling/Core/Replacement.cpp under SRCS_MIN, since it is required by both the static analyzer (MK_CLANG_FULL) and clang-format (MK_CLANG_FORMAT). We could also invent yet another SRCS variant, but that seems a bit overkill. Modified: projects/clang1100-import/lib/clang/libclang/Makefile Modified: projects/clang1100-import/lib/clang/libclang/Makefile ============================================================================== --- projects/clang1100-import/lib/clang/libclang/Makefile Thu Aug 6 20:46:18 2020 (r363993) +++ projects/clang1100-import/lib/clang/libclang/Makefile Thu Aug 6 20:55:18 2020 (r363994) @@ -698,7 +698,7 @@ SRCS_MIN+= Tooling/ArgumentsAdjusters.cpp SRCS_MIN+= Tooling/CommonOptionsParser.cpp SRCS_MIN+= Tooling/CompilationDatabase.cpp SRCS_MIN+= Tooling/Core/Lookup.cpp -SRCS_EXT+= Tooling/Core/Replacement.cpp +SRCS_MIN+= Tooling/Core/Replacement.cpp SRCS_MIN+= Tooling/FileMatchTrie.cpp SRCS_EXT+= Tooling/Inclusions/HeaderIncludes.cpp SRCS_EXT+= Tooling/Inclusions/IncludeStyle.cpp From owner-svn-src-projects@freebsd.org Fri Aug 7 18:12:38 2020 Return-Path: Delivered-To: svn-src-projects@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6CCBA370C6A for ; Fri, 7 Aug 2020 18:12:38 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BNYP22DYkz3VvM; Fri, 7 Aug 2020 18:12:38 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 308341BD24; Fri, 7 Aug 2020 18:12:38 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 077ICchO006187; Fri, 7 Aug 2020 18:12:38 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 077ICcZw006186; Fri, 7 Aug 2020 18:12:38 GMT (envelope-from dim@FreeBSD.org) Message-Id: <202008071812.077ICcZw006186@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Fri, 7 Aug 2020 18:12:38 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r364034 - projects/clang1100-import/lib/clang/headers X-SVN-Group: projects X-SVN-Commit-Author: dim X-SVN-Commit-Paths: projects/clang1100-import/lib/clang/headers X-SVN-Commit-Revision: 364034 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Aug 2020 18:12:38 -0000 Author: dim Date: Fri Aug 7 18:12:37 2020 New Revision: 364034 URL: https://svnweb.freebsd.org/changeset/base/364034 Log: Re-add generated arm_neon.h header, which was accidentally dropped while refactoring lib/clang/headers/Makefile in r363984. Modified: projects/clang1100-import/lib/clang/headers/Makefile Modified: projects/clang1100-import/lib/clang/headers/Makefile ============================================================================== --- projects/clang1100-import/lib/clang/headers/Makefile Fri Aug 7 17:32:53 2020 (r364033) +++ projects/clang1100-import/lib/clang/headers/Makefile Fri Aug 7 18:12:37 2020 (r364034) @@ -166,7 +166,8 @@ PPC+= ppc_wrappers/smmintrin.h PPC+= ppc_wrappers/tmmintrin.h PPC+= ppc_wrappers/xmmintrin.h -.for hdr in bf16/bf16 cde/cde-header fp16/fp16 mve/mve-header sve/sve-header +.for hdr in bf16/bf16 cde/cde-header fp16/fp16 mve/mve-header neon/neon \ + sve/sve-header arm_${hdr:H}.h: ${CLANG_SRCS}/include/clang/Basic/arm_${hdr:H}.td ${CLANG_TBLGEN} -gen-arm-${hdr:T} \ -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \ From owner-svn-src-projects@freebsd.org Fri Aug 7 18:14:48 2020 Return-Path: Delivered-To: svn-src-projects@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8B26A370F8D for ; Fri, 7 Aug 2020 18:14:48 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BNYRX3RZRz3WC7; Fri, 7 Aug 2020 18:14:48 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3ADAC1BF3E; Fri, 7 Aug 2020 18:14:48 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 077IEm58006541; Fri, 7 Aug 2020 18:14:48 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 077IEgsW006508; Fri, 7 Aug 2020 18:14:42 GMT (envelope-from dim@FreeBSD.org) Message-Id: <202008071814.077IEgsW006508@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Fri, 7 Aug 2020 18:14:42 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r364035 - in projects/clang1100-import: . cddl/contrib/opensolaris/lib/libctf/common cddl/contrib/opensolaris/tools/ctf/cvt contrib/telnet/telnet lib/lib80211 lib/libc/locale lib/libc/s... X-SVN-Group: projects X-SVN-Commit-Author: dim X-SVN-Commit-Paths: in projects/clang1100-import: . cddl/contrib/opensolaris/lib/libctf/common cddl/contrib/opensolaris/tools/ctf/cvt contrib/telnet/telnet lib/lib80211 lib/libc/locale lib/libc/stdio release/packages sbi... X-SVN-Commit-Revision: 364035 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Aug 2020 18:14:48 -0000 Author: dim Date: Fri Aug 7 18:14:41 2020 New Revision: 364035 URL: https://svnweb.freebsd.org/changeset/base/364035 Log: Merge ^/head r363989 through r364034. Added: projects/clang1100-import/usr.sbin/pwd_mkdb/pwd.h - copied unchanged from r364034, head/usr.sbin/pwd_mkdb/pwd.h Modified: projects/clang1100-import/Makefile.inc1 projects/clang1100-import/UPDATING projects/clang1100-import/cddl/contrib/opensolaris/lib/libctf/common/ctf_lib.c projects/clang1100-import/cddl/contrib/opensolaris/tools/ctf/cvt/ctfmerge.c projects/clang1100-import/cddl/contrib/opensolaris/tools/ctf/cvt/ctftools.h projects/clang1100-import/contrib/telnet/telnet/telnet.1 projects/clang1100-import/lib/lib80211/lib80211_regdomain.h projects/clang1100-import/lib/libc/locale/mbsrtowcs.3 projects/clang1100-import/lib/libc/locale/setlocale.3 projects/clang1100-import/lib/libc/stdio/tmpnam.3 projects/clang1100-import/release/packages/generate-ucl.sh projects/clang1100-import/sbin/ifconfig/ifieee80211.c projects/clang1100-import/sbin/iscontrol/Makefile projects/clang1100-import/sbin/mount/mount.c projects/clang1100-import/share/man/man4/net80211.4 projects/clang1100-import/share/man/man9/seqc.9 projects/clang1100-import/stand/defs.mk projects/clang1100-import/sys/cddl/compat/opensolaris/sys/assfail.h projects/clang1100-import/sys/cddl/compat/opensolaris/sys/stat.h projects/clang1100-import/sys/cddl/compat/opensolaris/sys/time.h projects/clang1100-import/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dbuf.c projects/clang1100-import/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/dmu.h projects/clang1100-import/sys/cddl/contrib/opensolaris/uts/common/sys/sysmacros.h projects/clang1100-import/sys/compat/linuxkpi/common/include/linux/radix-tree.h projects/clang1100-import/sys/compat/linuxkpi/common/src/linux_radix.c projects/clang1100-import/sys/dev/acpica/acpi_apei.c projects/clang1100-import/sys/dev/e1000/if_em.c projects/clang1100-import/sys/kern/subr_epoch.c projects/clang1100-import/sys/net/iflib.c projects/clang1100-import/sys/net80211/ieee80211_ioctl.c projects/clang1100-import/sys/net80211/ieee80211_ioctl.h projects/clang1100-import/sys/netinet/udp_usrreq.c projects/clang1100-import/sys/netinet6/udp6_usrreq.c projects/clang1100-import/sys/sys/protosw.h projects/clang1100-import/tools/build/Makefile projects/clang1100-import/usr.bin/grep/Makefile projects/clang1100-import/usr.bin/grep/grep.1 projects/clang1100-import/usr.sbin/makefs/msdos/msdosfs_vnops.c projects/clang1100-import/usr.sbin/pwd_mkdb/Makefile projects/clang1100-import/usr.sbin/tzsetup/Makefile Directory Properties: projects/clang1100-import/ (props changed) projects/clang1100-import/cddl/ (props changed) projects/clang1100-import/cddl/contrib/opensolaris/ (props changed) projects/clang1100-import/sys/cddl/contrib/opensolaris/ (props changed) Modified: projects/clang1100-import/Makefile.inc1 ============================================================================== --- projects/clang1100-import/Makefile.inc1 Fri Aug 7 18:12:37 2020 (r364034) +++ projects/clang1100-import/Makefile.inc1 Fri Aug 7 18:14:41 2020 (r364035) @@ -2179,9 +2179,6 @@ _yacc= usr.bin/yacc _gensnmptree= usr.sbin/bsnmpd/gensnmptree .endif -.if ${MK_LOCALES} != "no" -_localedef= usr.bin/localedef -.endif # We need to build tblgen when we're building clang or lld, either as # bootstrap tools, or as the part of the normal build. @@ -2296,13 +2293,12 @@ ${_bt}-links: .PHONY .for _tool in ${_bootstrap_tools_links} ${_bt}-link-${_tool}: .PHONY .MAKE - @if [ ! -e "${WORLDTMP}/legacy/bin/${_tool}" ]; then \ - source_path=`which ${_tool}`; \ - if [ ! -e "$${source_path}" ] ; then \ - echo "Cannot find host tool '${_tool}'"; false; \ - fi; \ - ln -sfnv "$${source_path}" "${WORLDTMP}/legacy/bin/${_tool}"; \ - fi + @rm -f "${WORLDTMP}/legacy/bin/${_tool}"; \ + source_path=`which ${_tool}`; \ + if [ ! -e "$${source_path}" ] ; then \ + echo "Cannot find host tool '${_tool}'"; false; \ + fi; \ + cp -f "$${source_path}" "${WORLDTMP}/legacy/bin/${_tool}" ${_bt}-links: ${_bt}-link-${_tool} .endfor Modified: projects/clang1100-import/UPDATING ============================================================================== --- projects/clang1100-import/UPDATING Fri Aug 7 18:12:37 2020 (r364034) +++ projects/clang1100-import/UPDATING Fri Aug 7 18:14:41 2020 (r364035) @@ -32,6 +32,12 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 13.x IS SLOW: information about prerequisites and upgrading, if you are not already using clang 3.5.0 or higher. +20200807: + Makefile.inc has been updated to work around the issue documented in + 20200729. It was a case where the optimization of using symbolic links + to point to binaries created a situation where we'd run new binaries + with old libraries starting midway through the installworld process. + 20200729: r363679 has redefined some undefined behavior in regcomp(3); notably, extraneous escapes of most ordinary characters will no longer be Modified: projects/clang1100-import/cddl/contrib/opensolaris/lib/libctf/common/ctf_lib.c ============================================================================== --- projects/clang1100-import/cddl/contrib/opensolaris/lib/libctf/common/ctf_lib.c Fri Aug 7 18:12:37 2020 (r364034) +++ projects/clang1100-import/cddl/contrib/opensolaris/lib/libctf/common/ctf_lib.c Fri Aug 7 18:14:41 2020 (r364035) @@ -27,6 +27,7 @@ #pragma ident "%Z%%M% %I% %E% SMI" #include +#include #include #include #include Modified: projects/clang1100-import/cddl/contrib/opensolaris/tools/ctf/cvt/ctfmerge.c ============================================================================== --- projects/clang1100-import/cddl/contrib/opensolaris/tools/ctf/cvt/ctfmerge.c Fri Aug 7 18:12:37 2020 (r364034) +++ projects/clang1100-import/cddl/contrib/opensolaris/tools/ctf/cvt/ctfmerge.c Fri Aug 7 18:14:41 2020 (r364035) @@ -665,6 +665,7 @@ wq_init(workqueue_t *wq, int nfiles) for (i = 0; i < nslots; i++) { pthread_mutex_init(&wq->wq_wip[i].wip_lock, NULL); + pthread_cond_init(&wq->wq_wip[i].wip_cv, NULL); wq->wq_wip[i].wip_batchid = wq->wq_next_batchid++; } Modified: projects/clang1100-import/cddl/contrib/opensolaris/tools/ctf/cvt/ctftools.h ============================================================================== --- projects/clang1100-import/cddl/contrib/opensolaris/tools/ctf/cvt/ctftools.h Fri Aug 7 18:12:37 2020 (r364034) +++ projects/clang1100-import/cddl/contrib/opensolaris/tools/ctf/cvt/ctftools.h Fri Aug 7 18:14:41 2020 (r364035) @@ -38,6 +38,7 @@ #include #include +#include #ifdef __cplusplus extern "C" { @@ -63,6 +64,15 @@ extern "C" { #ifndef MIN #define MIN(a, b) ((a) > (b) ? (b) : (a)) +#endif + +/* Sanity check for cross-build bootstrap tools */ +#if !defined(BYTE_ORDER) +#error "Missing BYTE_ORDER defines" +#elif !defined(_LITTLE_ENDIAN) +#error "Missing _LITTLE_ENDIAN defines" +#elif !defined(_BIG_ENDIAN) +#error "Missing _BIG_ENDIAN defines" #endif #define TRUE 1 Modified: projects/clang1100-import/contrib/telnet/telnet/telnet.1 ============================================================================== --- projects/clang1100-import/contrib/telnet/telnet/telnet.1 Fri Aug 7 18:12:37 2020 (r364034) +++ projects/clang1100-import/contrib/telnet/telnet/telnet.1 Fri Aug 7 18:14:41 2020 (r364035) @@ -28,7 +28,7 @@ .\" @(#)telnet.1 8.6 (Berkeley) 6/1/94 .\" $FreeBSD$ .\" -.Dd September 18, 2006 +.Dd August 7, 2020 .Dt TELNET 1 .Os .Sh NAME @@ -47,6 +47,7 @@ protocol .Op Fl l Ar user .Op Fl n Ar tracefile .Op Fl s Ar src_addr +.Op Fl P Ar policy .Oo .Ar host .Op Ar port @@ -189,6 +190,13 @@ for recording trace information. See the .Ic set tracefile command below. +.It Fl P Ar policy +Use IPsec policy specification string +.Ar policy , +for the connections. +See +.Xr ipsec_set_policy 3 +for details. .It Fl r Specifies a user interface similar to .Xr rlogin 1 . Modified: projects/clang1100-import/lib/lib80211/lib80211_regdomain.h ============================================================================== --- projects/clang1100-import/lib/lib80211/lib80211_regdomain.h Fri Aug 7 18:12:37 2020 (r364034) +++ projects/clang1100-import/lib/lib80211/lib80211_regdomain.h Fri Aug 7 18:14:41 2020 (r364035) @@ -73,10 +73,10 @@ struct regdomain { netband_head bands_11b; /* 11b operation */ netband_head bands_11g; /* 11g operation */ netband_head bands_11a; /* 11a operation */ - netband_head bands_11ng;/* 11ng operation */ - netband_head bands_11na;/* 11na operation */ - netband_head bands_11ac;/* 11ac 5GHz operation */ - netband_head bands_11acg;/* 11ac 2GHz operation */ + netband_head bands_11ng; /* 11ng operation */ + netband_head bands_11na; /* 11na operation */ + netband_head bands_11ac; /* 11ac 5GHz operation */ + netband_head bands_11acg; /* 11ac 2GHz operation */ LIST_ENTRY(regdomain) next; }; Modified: projects/clang1100-import/lib/libc/locale/mbsrtowcs.3 ============================================================================== --- projects/clang1100-import/lib/libc/locale/mbsrtowcs.3 Fri Aug 7 18:12:37 2020 (r364034) +++ projects/clang1100-import/lib/libc/locale/mbsrtowcs.3 Fri Aug 7 18:14:41 2020 (r364035) @@ -23,7 +23,7 @@ .\" SUCH DAMAGE. .\" .\" $FreeBSD$ -.Dd July 21, 2004 +.Dd August 7, 2020 .Dt MBSRTOWCS 3 .Os .Sh NAME @@ -98,15 +98,29 @@ except that conversion stops after reading at most bytes from the buffer pointed to by .Fa src . .Sh RETURN VALUES -The +If successful, and +.Fa dst +is not NULL, the .Fn mbsrtowcs and .Fn mbsnrtowcs functions return the number of wide characters stored in the array pointed to by +.Fa dst . +.Pp +If .Fa dst -if successful, otherwise it returns -.Po Vt size_t Pc Ns \-1 . +was NULL then the functions +.Fn mbsrtowcs +and +.Fn mbsnrtowcs +return the number of wide characters that would have been stored where +.Fa dst +points to an infinitely large array. +.Pp +If either one of the functions is not successful then +.Po Vt size_t Pc Ns \-1 +is returned. .Sh ERRORS The .Fn mbsrtowcs Modified: projects/clang1100-import/lib/libc/locale/setlocale.3 ============================================================================== --- projects/clang1100-import/lib/libc/locale/setlocale.3 Fri Aug 7 18:12:37 2020 (r364034) +++ projects/clang1100-import/lib/libc/locale/setlocale.3 Fri Aug 7 18:14:41 2020 (r364035) @@ -31,7 +31,7 @@ .\" @(#)setlocale.3 8.1 (Berkeley) 6/9/93 .\" $FreeBSD$ .\" -.Dd September 9, 2019 +.Dd August 7, 2020 .Dt SETLOCALE 3 .Os .Sh NAME @@ -98,6 +98,10 @@ as well as values returned by Set a locale for formatting dates and times using the .Fn strftime function. +.It Dv LANG +Sets the generic locale category for native language, local customs +and coded character set in the absence of more specific locale +variables. .El .Pp Only three locales are defined by default, @@ -153,6 +157,25 @@ if the given combination of and .Fa locale makes no sense. +.Sh EXAMPLES +The following code illustrates how a program can initialize the +international environment for one language, while selectively +modifying the program's locale such that regular expressions and +string operations can be applied to text recorded in a different +language: +.Bd -literal + setlocale(LC_ALL, "de"); + setlocale(LC_COLLATE, "fr"); +.Ed +.Pp +When a process is started, its current locale is set to the C or POSIX +locale. +An internationalized program that depends on locale data not defined in +the C or POSIX locale must invoke the setlocale subroutine in the +following manner before using any of the locale-specific information: +.Bd -literal + setlocale(LC_ALL, ""); +.Ed .Sh FILES .Bl -tag -width /usr/share/locale/locale/category -compact .It Pa $PATH_LOCALE/ Ns Em locale/category Modified: projects/clang1100-import/lib/libc/stdio/tmpnam.3 ============================================================================== --- projects/clang1100-import/lib/libc/stdio/tmpnam.3 Fri Aug 7 18:12:37 2020 (r364034) +++ projects/clang1100-import/lib/libc/stdio/tmpnam.3 Fri Aug 7 18:14:41 2020 (r364035) @@ -32,7 +32,7 @@ .\" @(#)tmpnam.3 8.2 (Berkeley) 11/17/93 .\" $FreeBSD$ .\" -.Dd March 18, 2007 +.Dd August 7, 2020 .Dt TMPFILE 3 .Os .Sh NAME @@ -156,6 +156,8 @@ on error. .Bl -tag -width Ds .It Ev TMPDIR .Pf [ Fn tempnam +and +.Fn tmpfile only] If set, the directory in which the temporary file is stored. Modified: projects/clang1100-import/release/packages/generate-ucl.sh ============================================================================== --- projects/clang1100-import/release/packages/generate-ucl.sh Fri Aug 7 18:12:37 2020 (r364034) +++ projects/clang1100-import/release/packages/generate-ucl.sh Fri Aug 7 18:14:41 2020 (r364035) @@ -97,6 +97,8 @@ main() { outname="${outname%%_*}" + pkgdeps="$(echo ${pkgdeps} | tr '_' '-')" + desc="$(make -C ${srctree}/release/packages -f Makefile.package -V ${outname}_DESC)" comment="$(make -C ${srctree}/release/packages -f Makefile.package -V ${outname}_COMMENT)" Modified: projects/clang1100-import/sbin/ifconfig/ifieee80211.c ============================================================================== --- projects/clang1100-import/sbin/ifconfig/ifieee80211.c Fri Aug 7 18:12:37 2020 (r364034) +++ projects/clang1100-import/sbin/ifconfig/ifieee80211.c Fri Aug 7 18:14:41 2020 (r364035) @@ -4779,6 +4779,23 @@ getid(int s, int ix, void *data, size_t len, int *plen return 0; } +static int +getdevicename(int s, void *data, size_t len, int *plen) +{ + struct ieee80211req ireq; + + (void) memset(&ireq, 0, sizeof(ireq)); + (void) strlcpy(ireq.i_name, name, sizeof(ireq.i_name)); + ireq.i_type = IEEE80211_IOC_IC_NAME; + ireq.i_val = -1; + ireq.i_data = data; + ireq.i_len = len; + if (ioctl(s, SIOCG80211, &ireq) < 0) + return (-1); + *plen = ireq.i_len; + return (0); +} + static void ieee80211_status(int s) { @@ -5501,6 +5518,12 @@ end: LINE_CHECK("hwmpmaxhops %u", val); } } + + LINE_BREAK(); + + if (getdevicename(s, data, sizeof(data), &len) < 0) + return; + LINE_CHECK("parent interface: %s", data); LINE_BREAK(); } Modified: projects/clang1100-import/sbin/iscontrol/Makefile ============================================================================== --- projects/clang1100-import/sbin/iscontrol/Makefile Fri Aug 7 18:12:37 2020 (r364034) +++ projects/clang1100-import/sbin/iscontrol/Makefile Fri Aug 7 18:14:41 2020 (r364035) @@ -1,6 +1,6 @@ # $FreeBSD$ -PACKAGE=iscsi_legacy +PACKAGE=iscsilegacy SRCS= iscontrol.c pdu.c fsm.c config.c login.c auth_subr.c misc.c PROG= iscontrol LIBADD= cam md Modified: projects/clang1100-import/sbin/mount/mount.c ============================================================================== --- projects/clang1100-import/sbin/mount/mount.c Fri Aug 7 18:12:37 2020 (r364034) +++ projects/clang1100-import/sbin/mount/mount.c Fri Aug 7 18:14:41 2020 (r364035) @@ -697,9 +697,9 @@ prmount(struct statfs *sfp) (uintmax_t)sfp->f_syncreads, (uintmax_t)sfp->f_asyncreads); if (sfp->f_fsid.val[0] != 0 || sfp->f_fsid.val[1] != 0) { - printf(", fsid "); + (void)printf(", fsid "); for (i = 0; i < sizeof(sfp->f_fsid); i++) - printf("%02x", ((u_char *)&sfp->f_fsid)[i]); + (void)printf("%02x", ((u_char *)&sfp->f_fsid)[i]); } } (void)printf(")\n"); Modified: projects/clang1100-import/share/man/man4/net80211.4 ============================================================================== --- projects/clang1100-import/share/man/man4/net80211.4 Fri Aug 7 18:12:37 2020 (r364034) +++ projects/clang1100-import/share/man/man4/net80211.4 Fri Aug 7 18:14:41 2020 (r364035) @@ -28,7 +28,7 @@ .\" .\" $FreeBSD$ .\" -.Dd July 10, 2009 +.Dd August 7, 2020 .Dt NET80211 4 .Os .Sh NAME @@ -393,6 +393,16 @@ Valid values are: and .Dv IEEE80211_HWMP_ROOTMODE_RANN (send broadcast Root Announcement (RANN) frames). +.It Dv IEEE80211_IOC_IC_NAME +Return the underlying hardware +.Xr device 9 +name in the buffer pointed to by +.Va i_data +and the name length including terminating NUL character in +.Va i_len . +If the buffer length is too small to hold the full name +.Er EINVAL +will be returned. .It Dv IEEE80211_IOC_INACTIVITY Return whether or not the system handles inactivity processing in .Va i_val . Modified: projects/clang1100-import/share/man/man9/seqc.9 ============================================================================== --- projects/clang1100-import/share/man/man9/seqc.9 Fri Aug 7 18:12:37 2020 (r364034) +++ projects/clang1100-import/share/man/man9/seqc.9 Fri Aug 7 18:14:41 2020 (r364035) @@ -98,6 +98,7 @@ obj->var2 = 2; seqc_write_end(&obj->seqc); unlock_exclusive(&obj->lock); .Ed +.Pp The following example for a reader reads the .Va var1 and Modified: projects/clang1100-import/stand/defs.mk ============================================================================== --- projects/clang1100-import/stand/defs.mk Fri Aug 7 18:12:37 2020 (r364034) +++ projects/clang1100-import/stand/defs.mk Fri Aug 7 18:14:41 2020 (r364035) @@ -237,6 +237,6 @@ ${_ILINKS}: .NOMETA esac ; \ path=`(cd $$path && /bin/pwd)` ; \ ${ECHO} ${.TARGET} "->" $$path ; \ - ln -fhs $$path ${.TARGET} + ln -fns $$path ${.TARGET} .endif # !NO_OBJ .endif # __BOOT_DEFS_MK__ Modified: projects/clang1100-import/sys/cddl/compat/opensolaris/sys/assfail.h ============================================================================== --- projects/clang1100-import/sys/cddl/compat/opensolaris/sys/assfail.h Fri Aug 7 18:12:37 2020 (r364034) +++ projects/clang1100-import/sys/cddl/compat/opensolaris/sys/assfail.h Fri Aug 7 18:14:41 2020 (r364035) @@ -48,9 +48,7 @@ void assfail3(const char *, uintmax_t, const char *, u #ifndef HAVE_ASSFAIL extern int aok; -__inline int __assfail(const char *expr, const char *file, int line); - -__inline int +static __inline int __assfail(const char *expr, const char *file, int line) { Modified: projects/clang1100-import/sys/cddl/compat/opensolaris/sys/stat.h ============================================================================== --- projects/clang1100-import/sys/cddl/compat/opensolaris/sys/stat.h Fri Aug 7 18:12:37 2020 (r364034) +++ projects/clang1100-import/sys/cddl/compat/opensolaris/sys/stat.h Fri Aug 7 18:14:41 2020 (r364035) @@ -32,11 +32,19 @@ #include_next +/* + * When bootstrapping on Linux a stat64/fstat64 functions exists in both + * glibc and musl libc. To avoid compilation errors, use those functions instead + * of redefining them to stat/fstat. + * Similarly, macOS provides (deprecated) stat64 functions that we can use + * for now. + */ +#if !defined(__linux__) && !defined(__APPLE__) #define stat64 stat #define MAXOFFSET_T OFF_MAX -#ifndef _KERNEL +#if !defined(_KERNEL) #include static __inline int @@ -51,6 +59,7 @@ fstat64(int fd, struct stat *sb) } return (ret); } -#endif +#endif /* !defined(_KERNEL) */ +#endif /* !defined(__linux__) && !defined(__APPLE__) */ #endif /* !_COMPAT_OPENSOLARIS_SYS_STAT_H_ */ Modified: projects/clang1100-import/sys/cddl/compat/opensolaris/sys/time.h ============================================================================== --- projects/clang1100-import/sys/cddl/compat/opensolaris/sys/time.h Fri Aug 7 18:12:37 2020 (r364034) +++ projects/clang1100-import/sys/cddl/compat/opensolaris/sys/time.h Fri Aug 7 18:14:41 2020 (r364035) @@ -29,6 +29,7 @@ #ifndef _OPENSOLARIS_SYS_TIME_H_ #define _OPENSOLARIS_SYS_TIME_H_ +#include #include_next #define SEC 1 Modified: projects/clang1100-import/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dbuf.c ============================================================================== --- projects/clang1100-import/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dbuf.c Fri Aug 7 18:12:37 2020 (r364034) +++ projects/clang1100-import/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dbuf.c Fri Aug 7 18:14:41 2020 (r364035) @@ -175,13 +175,6 @@ static int __dbuf_hold_impl(struct dbuf_hold_impl_data static boolean_t dbuf_undirty(dmu_buf_impl_t *db, dmu_tx_t *tx); static void dbuf_write(dbuf_dirty_record_t *dr, arc_buf_t *data, dmu_tx_t *tx); -#ifndef __lint -extern inline void dmu_buf_init_user(dmu_buf_user_t *dbu, - dmu_buf_evict_func_t *evict_func_sync, - dmu_buf_evict_func_t *evict_func_async, - dmu_buf_t **clear_on_evict_dbufp); -#endif /* ! __lint */ - /* * Global data structures and functions for the dbuf cache. */ Modified: projects/clang1100-import/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/dmu.h ============================================================================== --- projects/clang1100-import/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/dmu.h Fri Aug 7 18:12:37 2020 (r364034) +++ projects/clang1100-import/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/dmu.h Fri Aug 7 18:14:41 2020 (r364035) @@ -610,7 +610,7 @@ typedef struct dmu_buf_user { * To allow enforcement of this, dbu must already be zeroed on entry. */ /*ARGSUSED*/ -inline void +static inline void dmu_buf_init_user(dmu_buf_user_t *dbu, dmu_buf_evict_func_t *evict_func_sync, dmu_buf_evict_func_t *evict_func_async, dmu_buf_t **clear_on_evict_dbufp) { Modified: projects/clang1100-import/sys/cddl/contrib/opensolaris/uts/common/sys/sysmacros.h ============================================================================== --- projects/clang1100-import/sys/cddl/contrib/opensolaris/uts/common/sys/sysmacros.h Fri Aug 7 18:12:37 2020 (r364034) +++ projects/clang1100-import/sys/cddl/contrib/opensolaris/uts/common/sys/sysmacros.h Fri Aug 7 18:14:41 2020 (r364035) @@ -46,8 +46,12 @@ extern "C" { /* * Disk blocks (sectors) and bytes. */ +#ifndef dtob #define dtob(DD) ((DD) << DEV_BSHIFT) +#endif +#ifndef btod #define btod(BB) (((BB) + DEV_BSIZE - 1) >> DEV_BSHIFT) +#endif #define btodt(BB) ((BB) >> DEV_BSHIFT) #define lbtod(BB) (((offset_t)(BB) + DEV_BSIZE - 1) >> DEV_BSHIFT) @@ -220,9 +224,12 @@ extern unsigned char bcd_to_byte[256]; /* * Macros for counting and rounding. */ +#ifndef howmany #define howmany(x, y) (((x)+((y)-1))/(y)) +#endif +#ifndef roundup #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) - +#endif /* * Macro to determine if value is a power of 2 */ Modified: projects/clang1100-import/sys/compat/linuxkpi/common/include/linux/radix-tree.h ============================================================================== --- projects/clang1100-import/sys/compat/linuxkpi/common/include/linux/radix-tree.h Fri Aug 7 18:12:37 2020 (r364034) +++ projects/clang1100-import/sys/compat/linuxkpi/common/include/linux/radix-tree.h Fri Aug 7 18:14:41 2020 (r364035) @@ -78,6 +78,7 @@ radix_tree_exception(void *arg) void *radix_tree_lookup(struct radix_tree_root *, unsigned long); void *radix_tree_delete(struct radix_tree_root *, unsigned long); int radix_tree_insert(struct radix_tree_root *, unsigned long, void *); +int radix_tree_store(struct radix_tree_root *, unsigned long, void **); bool radix_tree_iter_find(struct radix_tree_root *, struct radix_tree_iter *, void ***); void radix_tree_iter_delete(struct radix_tree_root *, struct radix_tree_iter *, void **); Modified: projects/clang1100-import/sys/compat/linuxkpi/common/src/linux_radix.c ============================================================================== --- projects/clang1100-import/sys/compat/linuxkpi/common/src/linux_radix.c Fri Aug 7 18:12:37 2020 (r364034) +++ projects/clang1100-import/sys/compat/linuxkpi/common/src/linux_radix.c Fri Aug 7 18:14:41 2020 (r364035) @@ -2,7 +2,7 @@ * Copyright (c) 2010 Isilon Systems, Inc. * Copyright (c) 2010 iX Systems, Inc. * Copyright (c) 2010 Panasas, Inc. - * Copyright (c) 2013-2018 Mellanox Technologies, Ltd. + * Copyright (c) 2013-2020 Mellanox Technologies, Ltd. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -55,6 +55,17 @@ radix_pos(long id, int height) return (id >> (RADIX_TREE_MAP_SHIFT * height)) & RADIX_TREE_MAP_MASK; } +static void +radix_tree_clean_root_node(struct radix_tree_root *root) +{ + /* Check if the root node should be freed */ + if (root->rnode->count == 0) { + free(root->rnode, M_RADIX); + root->rnode = NULL; + root->height = 0; + } +} + void * radix_tree_lookup(struct radix_tree_root *root, unsigned long index) { @@ -197,8 +208,10 @@ radix_tree_insert(struct radix_tree_root *root, unsign while (radix_max(root) < index) { /* check if the radix tree is getting too big */ - if (root->height == RADIX_TREE_MAX_HEIGHT) + if (root->height == RADIX_TREE_MAX_HEIGHT) { + radix_tree_clean_root_node(root); return (-E2BIG); + } /* * If the root radix level is not empty, we need to @@ -206,8 +219,16 @@ radix_tree_insert(struct radix_tree_root *root, unsign */ if (node->count != 0) { node = malloc(sizeof(*node), M_RADIX, root->gfp_mask | M_ZERO); - if (node == NULL) + if (node == NULL) { + /* + * Freeing the already allocated radix + * levels, if any, will be handled by + * the radix_tree_delete() function. + * This code path can only happen when + * the tree is not empty. + */ return (-ENOMEM); + } node->slots[0] = root->rnode; node->count++; root->rnode = node; @@ -231,14 +252,9 @@ radix_tree_insert(struct radix_tree_root *root, unsign temp[idx] = malloc(sizeof(*node), M_RADIX, root->gfp_mask | M_ZERO); if (temp[idx] == NULL) { - while(idx--) + while (idx--) free(temp[idx], M_RADIX); - /* Check if we should free the root node as well. */ - if (root->rnode->count == 0) { - free(root->rnode, M_RADIX); - root->rnode = NULL; - root->height = 0; - } + radix_tree_clean_root_node(root); return (-ENOMEM); } } @@ -260,5 +276,112 @@ radix_tree_insert(struct radix_tree_root *root, unsign node->slots[idx] = item; node->count++; + return (0); +} + +int +radix_tree_store(struct radix_tree_root *root, unsigned long index, void **ppitem) +{ + struct radix_tree_node *node; + struct radix_tree_node *temp[RADIX_TREE_MAX_HEIGHT - 1]; + void *pitem; + int height; + int idx; + + /* + * Inserting a NULL item means delete it. The old pointer is + * stored at the location pointed to by "ppitem". + */ + if (*ppitem == NULL) { + *ppitem = radix_tree_delete(root, index); + return (0); + } + + /* get root node, if any */ + node = root->rnode; + + /* allocate root node, if any */ + if (node == NULL) { + node = malloc(sizeof(*node), M_RADIX, root->gfp_mask | M_ZERO); + if (node == NULL) + return (-ENOMEM); + root->rnode = node; + root->height++; + } + + /* expand radix tree as needed */ + while (radix_max(root) < index) { + + /* check if the radix tree is getting too big */ + if (root->height == RADIX_TREE_MAX_HEIGHT) { + radix_tree_clean_root_node(root); + return (-E2BIG); + } + + /* + * If the root radix level is not empty, we need to + * allocate a new radix level: + */ + if (node->count != 0) { + node = malloc(sizeof(*node), M_RADIX, root->gfp_mask | M_ZERO); + if (node == NULL) { + /* + * Freeing the already allocated radix + * levels, if any, will be handled by + * the radix_tree_delete() function. + * This code path can only happen when + * the tree is not empty. + */ + return (-ENOMEM); + } + node->slots[0] = root->rnode; + node->count++; + root->rnode = node; + } + root->height++; + } + + /* get radix tree height index */ + height = root->height - 1; + + /* walk down the tree until the first missing node, if any */ + for ( ; height != 0; height--) { + idx = radix_pos(index, height); + if (node->slots[idx] == NULL) + break; + node = node->slots[idx]; + } + + /* allocate the missing radix levels, if any */ + for (idx = 0; idx != height; idx++) { + temp[idx] = malloc(sizeof(*node), M_RADIX, + root->gfp_mask | M_ZERO); + if (temp[idx] == NULL) { + while (idx--) + free(temp[idx], M_RADIX); + radix_tree_clean_root_node(root); + return (-ENOMEM); + } + } + + /* setup new radix levels, if any */ + for ( ; height != 0; height--) { + idx = radix_pos(index, height); + node->slots[idx] = temp[height - 1]; + node->count++; + node = node->slots[idx]; + } + + /* + * Insert and adjust count if the item does not already exist. + */ + idx = radix_pos(index, 0); + /* swap */ + pitem = node->slots[idx]; + node->slots[idx] = *ppitem; + *ppitem = pitem; + + if (pitem == NULL) + node->count++; return (0); } Modified: projects/clang1100-import/sys/dev/acpica/acpi_apei.c ============================================================================== --- projects/clang1100-import/sys/dev/acpica/acpi_apei.c Fri Aug 7 18:12:37 2020 (r364034) +++ projects/clang1100-import/sys/dev/acpica/acpi_apei.c Fri Aug 7 18:14:41 2020 (r364035) @@ -29,6 +29,7 @@ __FBSDID("$FreeBSD$"); #include "opt_acpi.h" +#include "opt_pci.h" #include #include @@ -207,8 +208,10 @@ static int apei_pcie_handler(ACPI_HEST_GENERIC_DATA *ged) { struct apei_pcie_error *p = (struct apei_pcie_error *)(ged + 1); + int h = 0, off; +#ifdef DEV_PCI device_t dev; - int h = 0, off, sev; + int sev; if ((p->ValidationBits & 0x8) == 0x8) { mtx_lock(&Giant); @@ -235,6 +238,7 @@ apei_pcie_handler(ACPI_HEST_GENERIC_DATA *ged) } if (h) return (h); +#endif printf("APEI %s PCIe Error:\n", apei_severity(ged->ErrorSeverity)); if (p->ValidationBits & 0x01) Modified: projects/clang1100-import/sys/dev/e1000/if_em.c ============================================================================== --- projects/clang1100-import/sys/dev/e1000/if_em.c Fri Aug 7 18:12:37 2020 (r364034) +++ projects/clang1100-import/sys/dev/e1000/if_em.c Fri Aug 7 18:14:41 2020 (r364035) @@ -1334,6 +1334,11 @@ em_if_init(if_ctx_t ctx) ctrl |= E1000_CTRL_VME; E1000_WRITE_REG(&adapter->hw, E1000_CTRL, ctrl); } + } else { + u32 ctrl; + ctrl = E1000_READ_REG(&adapter->hw, E1000_CTRL); + ctrl &= ~E1000_CTRL_VME; + E1000_WRITE_REG(&adapter->hw, E1000_CTRL, ctrl); } /* Don't lose promiscuous settings */ Modified: projects/clang1100-import/sys/kern/subr_epoch.c ============================================================================== --- projects/clang1100-import/sys/kern/subr_epoch.c Fri Aug 7 18:12:37 2020 (r364034) +++ projects/clang1100-import/sys/kern/subr_epoch.c Fri Aug 7 18:14:41 2020 (r364035) @@ -58,8 +58,6 @@ __FBSDID("$FreeBSD$"); #include -static MALLOC_DEFINE(M_EPOCH, "epoch", "epoch based reclamation"); - #ifdef __amd64__ #define EPOCH_ALIGN CACHE_LINE_SIZE*2 #else @@ -79,7 +77,7 @@ typedef struct epoch_record { struct epoch { struct ck_epoch e_epoch __aligned(EPOCH_ALIGN); epoch_record_t e_pcpu_record; - int e_idx; + int e_in_use; int e_flags; struct sx e_drain_sx; struct mtx e_drain_mtx; @@ -128,19 +126,23 @@ TAILQ_HEAD (threadlist, thread); CK_STACK_CONTAINER(struct ck_epoch_entry, stack_entry, ck_epoch_entry_container) -epoch_t allepochs[MAX_EPOCHS]; +static struct epoch epoch_array[MAX_EPOCHS]; DPCPU_DEFINE(struct grouptask, epoch_cb_task); DPCPU_DEFINE(int, epoch_cb_count); static __read_mostly int inited; -static __read_mostly int epoch_count; __read_mostly epoch_t global_epoch; __read_mostly epoch_t global_epoch_preempt; static void epoch_call_task(void *context __unused); static uma_zone_t pcpu_zone_record; +static struct sx epoch_sx; + +#define EPOCH_LOCK() sx_xlock(&epoch_sx) +#define EPOCH_UNLOCK() sx_xunlock(&epoch_sx) + #ifdef EPOCH_TRACE struct stackentry { RB_ENTRY(stackentry) se_node; @@ -281,6 +283,7 @@ epoch_init(void *arg __unused) #ifdef EPOCH_TRACE SLIST_INIT(&thread0.td_epochs); #endif + sx_init(&epoch_sx, "epoch-sx"); inited = 1; global_epoch = epoch_alloc("Global", 0); global_epoch_preempt = epoch_alloc("Global preemptible", EPOCH_PREEMPT); @@ -326,19 +329,48 @@ epoch_t epoch_alloc(const char *name, int flags) { epoch_t epoch; + int i; + MPASS(name != NULL); + if (__predict_false(!inited)) panic("%s called too early in boot", __func__); - epoch = malloc(sizeof(struct epoch), M_EPOCH, M_ZERO | M_WAITOK); + + EPOCH_LOCK(); + + /* + * Find a free index in the epoch array. If no free index is + * found, try to use the index after the last one. + */ + for (i = 0;; i++) { + /* + * If too many epochs are currently allocated, + * return NULL. + */ + if (i == MAX_EPOCHS) { + epoch = NULL; + goto done; + } + if (epoch_array[i].e_in_use == 0) + break; + } + + epoch = epoch_array + i; ck_epoch_init(&epoch->e_epoch); epoch_ctor(epoch); - MPASS(epoch_count < MAX_EPOCHS - 2); epoch->e_flags = flags; - epoch->e_idx = epoch_count; epoch->e_name = name; sx_init(&epoch->e_drain_sx, "epoch-drain-sx"); mtx_init(&epoch->e_drain_mtx, "epoch-drain-mtx", NULL, MTX_DEF); - allepochs[epoch_count++] = epoch; + + /* + * Set e_in_use last, because when this field is set the + * epoch_call_task() function will start scanning this epoch + * structure. + */ + atomic_store_rel_int(&epoch->e_in_use, 1); +done: + EPOCH_UNLOCK(); return (epoch); } @@ -346,13 +378,24 @@ void epoch_free(epoch_t epoch) { + EPOCH_LOCK(); + + MPASS(epoch->e_in_use != 0); + epoch_drain_callbacks(epoch); - allepochs[epoch->e_idx] = NULL; + + atomic_store_rel_int(&epoch->e_in_use, 0); + /* + * Make sure the epoch_call_task() function see e_in_use equal + * to zero, by calling epoch_wait() on the global_epoch: + */ epoch_wait(global_epoch); uma_zfree_pcpu(pcpu_zone_record, epoch->e_pcpu_record); mtx_destroy(&epoch->e_drain_mtx); sx_destroy(&epoch->e_drain_sx); - free(epoch, M_EPOCH); + memset(epoch, 0, sizeof(*epoch)); + + EPOCH_UNLOCK(); } static epoch_record_t @@ -705,8 +748,10 @@ epoch_call_task(void *arg __unused) ck_stack_init(&cb_stack); critical_enter(); epoch_enter(global_epoch); - for (total = i = 0; i < epoch_count; i++) { - if (__predict_false((epoch = allepochs[i]) == NULL)) + for (total = i = 0; i != MAX_EPOCHS; i++) { + epoch = epoch_array + i; + if (__predict_false( + atomic_load_acq_int(&epoch->e_in_use) == 0)) continue; er = epoch_currecord(epoch); record = &er->er_record; Modified: projects/clang1100-import/sys/net/iflib.c ============================================================================== --- projects/clang1100-import/sys/net/iflib.c Fri Aug 7 18:12:37 2020 (r364034) +++ projects/clang1100-import/sys/net/iflib.c Fri Aug 7 18:14:41 2020 (r364035) @@ -1076,28 +1076,24 @@ iflib_netmap_rxsync(struct netmap_kring *kring, int fl struct netmap_adapter *na = kring->na; struct netmap_ring *ring = kring->ring; if_t ifp = na->ifp; - iflib_fl_t fl; uint32_t nm_i; /* index into the netmap ring */ uint32_t nic_i; /* index into the NIC ring */ - u_int i, n; + u_int n; u_int const lim = kring->nkr_num_slots - 1; - u_int const head = kring->rhead; int force_update = (flags & NAF_FORCE_READ) || kring->nr_kflags & NKR_PENDINTR; - struct if_rxd_info ri; if_ctx_t ctx = ifp->if_softc; iflib_rxq_t rxq = &ctx->ifc_rxqs[kring->ring_id]; - if (head > lim) - return netmap_ring_reinit(kring); + iflib_fl_t fl = &rxq->ifr_fl[0]; + struct if_rxd_info ri; /* - * XXX netmap_fl_refill() only ever (re)fills free list 0 so far. + * netmap only uses free list 0, to avoid out of order consumption + * of receive buffers */ - for (i = 0, fl = rxq->ifr_fl; i < rxq->ifr_nfl; i++, fl++) { - bus_dmamap_sync(fl->ifl_ifdi->idi_tag, fl->ifl_ifdi->idi_map, - BUS_DMASYNC_POSTREAD | BUS_DMASYNC_POSTWRITE); - } + bus_dmamap_sync(fl->ifl_ifdi->idi_tag, fl->ifl_ifdi->idi_map, + BUS_DMASYNC_POSTREAD | BUS_DMASYNC_POSTWRITE); /* * First part: import newly received packets. @@ -1119,38 +1115,35 @@ iflib_netmap_rxsync(struct netmap_kring *kring, int fl int crclen = iflib_crcstrip ? 0 : 4; int error, avail; - for (i = 0; i < rxq->ifr_nfl; i++) { - fl = &rxq->ifr_fl[i]; - nic_i = fl->ifl_cidx; - nm_i = netmap_idx_n2k(kring, nic_i); - avail = ctx->isc_rxd_available(ctx->ifc_softc, - rxq->ifr_id, nic_i, USHRT_MAX); - for (n = 0; avail > 0 && nm_i != hwtail_lim; n++, avail--) { - rxd_info_zero(&ri); - ri.iri_frags = rxq->ifr_frags; - ri.iri_qsidx = kring->ring_id; - ri.iri_ifp = ctx->ifc_ifp; - ri.iri_cidx = nic_i; + nic_i = fl->ifl_cidx; + nm_i = netmap_idx_n2k(kring, nic_i); + avail = ctx->isc_rxd_available(ctx->ifc_softc, + rxq->ifr_id, nic_i, USHRT_MAX); + for (n = 0; avail > 0 && nm_i != hwtail_lim; n++, avail--) { + rxd_info_zero(&ri); + ri.iri_frags = rxq->ifr_frags; + ri.iri_qsidx = kring->ring_id; + ri.iri_ifp = ctx->ifc_ifp; + ri.iri_cidx = nic_i; - error = ctx->isc_rxd_pkt_get(ctx->ifc_softc, &ri); - ring->slot[nm_i].len = error ? 0 : ri.iri_len - crclen; - ring->slot[nm_i].flags = 0; - bus_dmamap_sync(fl->ifl_buf_tag, - fl->ifl_sds.ifsd_map[nic_i], BUS_DMASYNC_POSTREAD); - nm_i = nm_next(nm_i, lim); - nic_i = nm_next(nic_i, lim); + error = ctx->isc_rxd_pkt_get(ctx->ifc_softc, &ri); + ring->slot[nm_i].len = error ? 0 : ri.iri_len - crclen; + ring->slot[nm_i].flags = 0; + bus_dmamap_sync(fl->ifl_buf_tag, + fl->ifl_sds.ifsd_map[nic_i], BUS_DMASYNC_POSTREAD); + nm_i = nm_next(nm_i, lim); + nic_i = nm_next(nic_i, lim); + } + if (n) { /* update the state variables */ + if (netmap_no_pendintr && !force_update) { + /* diagnostics */ + iflib_rx_miss ++; + iflib_rx_miss_bufs += n; } - if (n) { /* update the state variables */ - if (netmap_no_pendintr && !force_update) { - /* diagnostics */ - iflib_rx_miss ++; - iflib_rx_miss_bufs += n; - } - fl->ifl_cidx = nic_i; - kring->nr_hwtail = nm_i; - } - kring->nr_kflags &= ~NKR_PENDINTR; + fl->ifl_cidx = nic_i; + kring->nr_hwtail = nm_i; } + kring->nr_kflags &= ~NKR_PENDINTR; } /* * Second part: skip past packets that userspace has released. @@ -1160,7 +1153,6 @@ iflib_netmap_rxsync(struct netmap_kring *kring, int fl * nic_i is the index in the NIC ring, and * nm_i == (nic_i + kring->nkr_hwofs) % ring_size */ - /* XXX not sure how this will work with multiple free lists */ nm_i = kring->nr_hwcur; return (netmap_fl_refill(rxq, kring, nm_i, false)); Modified: projects/clang1100-import/sys/net80211/ieee80211_ioctl.c ============================================================================== --- projects/clang1100-import/sys/net80211/ieee80211_ioctl.c Fri Aug 7 18:12:37 2020 (r364034) +++ projects/clang1100-import/sys/net80211/ieee80211_ioctl.c Fri Aug 7 18:14:41 2020 (r364035) @@ -785,6 +785,13 @@ ieee80211_ioctl_get80211(struct ieee80211vap *vap, u_l int error = 0; switch (ireq->i_type) { + case IEEE80211_IOC_IC_NAME: + len = strlen(ic->ic_name) + 1; + if (len > ireq->i_len) + return (EINVAL); + ireq->i_len = len; *** DIFF OUTPUT TRUNCATED AT 1000 LINES *** From owner-svn-src-projects@freebsd.org Fri Aug 7 19:33:56 2020 Return-Path: Delivered-To: svn-src-projects@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8B502372F1A for ; Fri, 7 Aug 2020 19:33:56 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BNbBr37GPz3Zvt; Fri, 7 Aug 2020 19:33:56 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4E0411CB61; Fri, 7 Aug 2020 19:33:56 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 077JXu3h056581; Fri, 7 Aug 2020 19:33:56 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 077JXt7r056577; Fri, 7 Aug 2020 19:33:55 GMT (envelope-from dim@FreeBSD.org) Message-Id: <202008071933.077JXt7r056577@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Fri, 7 Aug 2020 19:33:55 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r364041 - in projects/clang1100-import: sys/dev/acpica sys/dev/pci sys/kern sys/powerpc/aim usr.bin/script X-SVN-Group: projects X-SVN-Commit-Author: dim X-SVN-Commit-Paths: in projects/clang1100-import: sys/dev/acpica sys/dev/pci sys/kern sys/powerpc/aim usr.bin/script X-SVN-Commit-Revision: 364041 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Aug 2020 19:33:56 -0000 Author: dim Date: Fri Aug 7 19:33:54 2020 New Revision: 364041 URL: https://svnweb.freebsd.org/changeset/base/364041 Log: Merge ^/head r363583 through r364040. Modified: projects/clang1100-import/sys/dev/acpica/acpi_apei.c projects/clang1100-import/sys/dev/pci/pci.c projects/clang1100-import/sys/kern/subr_bus.c projects/clang1100-import/sys/powerpc/aim/mmu_radix.c projects/clang1100-import/usr.bin/script/script.c Directory Properties: projects/clang1100-import/ (props changed) Modified: projects/clang1100-import/sys/dev/acpica/acpi_apei.c ============================================================================== --- projects/clang1100-import/sys/dev/acpica/acpi_apei.c Fri Aug 7 19:32:54 2020 (r364040) +++ projects/clang1100-import/sys/dev/acpica/acpi_apei.c Fri Aug 7 19:33:54 2020 (r364041) @@ -348,7 +348,7 @@ apei_ge_handler(struct apei_ge *ge, bool copy) uint32_t sev; int i, c, off; - if (ges->BlockStatus == 0) + if (ges == NULL || ges->BlockStatus == 0) return (0); c = (ges->BlockStatus >> 4) & 0x3ff; @@ -363,7 +363,8 @@ apei_ge_handler(struct apei_ge *ge, bool copy) /* Acknowledge the error has been processed. */ ges->BlockStatus = 0; - if (!copy && ge->v1.Header.Type == ACPI_HEST_TYPE_GENERIC_ERROR_V2) { + if (!copy && ge->v1.Header.Type == ACPI_HEST_TYPE_GENERIC_ERROR_V2 && + ge->res2) { uint64_t val = READ8(ge->res2, 0); val &= ge->v2.ReadAckPreserve; val |= ge->v2.ReadAckWrite; @@ -395,7 +396,7 @@ apei_nmi_handler(void) return (0); ges = (ACPI_HEST_GENERIC_STATUS *)ge->buf; - if (ges->BlockStatus == 0) + if (ges == NULL || ges->BlockStatus == 0) return (0); /* If ACPI told the error is fatal -- make it so. */ @@ -409,7 +410,8 @@ apei_nmi_handler(void) /* Acknowledge the error has been processed. */ ges->BlockStatus = 0; - if (ge->v1.Header.Type == ACPI_HEST_TYPE_GENERIC_ERROR_V2) { + if (ge->v1.Header.Type == ACPI_HEST_TYPE_GENERIC_ERROR_V2 && + ge->res2) { uint64_t val = READ8(ge->res2, 0); val &= ge->v2.ReadAckPreserve; val |= ge->v2.ReadAckWrite; @@ -608,13 +610,19 @@ apei_attach(device_t dev) ge->res_rid = rid++; acpi_bus_alloc_gas(dev, &ge->res_type, &ge->res_rid, &ge->v1.ErrorStatusAddress, &ge->res, 0); + if (ge->res) { + ge->buf = pmap_mapdev_attr(READ8(ge->res, 0), + ge->v1.ErrorBlockLength, VM_MEMATTR_WRITE_COMBINING); + } else { + device_printf(dev, "Can't allocate status resource.\n"); + } if (ge->v1.Header.Type == ACPI_HEST_TYPE_GENERIC_ERROR_V2) { ge->res2_rid = rid++; acpi_bus_alloc_gas(dev, &ge->res2_type, &ge->res2_rid, &ge->v2.ReadAckRegister, &ge->res2, 0); + if (ge->res2 == NULL) + device_printf(dev, "Can't allocate ack resource.\n"); } - ge->buf = pmap_mapdev_attr(READ8(ge->res, 0), - ge->v1.ErrorBlockLength, VM_MEMATTR_WRITE_COMBINING); if (ge->v1.Notify.Type == ACPI_HEST_NOTIFY_POLLED) { callout_init(&ge->poll, 1); callout_reset(&ge->poll, @@ -652,7 +660,10 @@ apei_detach(device_t dev) while ((ge = TAILQ_FIRST(&sc->ges)) != NULL) { TAILQ_REMOVE(&sc->ges, ge, link); - bus_release_resource(dev, ge->res_type, ge->res_rid, ge->res); + if (ge->res) { + bus_release_resource(dev, ge->res_type, + ge->res_rid, ge->res); + } if (ge->res2) { bus_release_resource(dev, ge->res2_type, ge->res2_rid, ge->res2); @@ -663,7 +674,10 @@ apei_detach(device_t dev) swi_remove(&ge->swi_ih); free(ge->copybuf, M_DEVBUF); } - pmap_unmapdev((vm_offset_t)ge->buf, ge->v1.ErrorBlockLength); + if (ge->buf) { + pmap_unmapdev((vm_offset_t)ge->buf, + ge->v1.ErrorBlockLength); + } free(ge, M_DEVBUF); } return (0); Modified: projects/clang1100-import/sys/dev/pci/pci.c ============================================================================== --- projects/clang1100-import/sys/dev/pci/pci.c Fri Aug 7 19:32:54 2020 (r364040) +++ projects/clang1100-import/sys/dev/pci/pci.c Fri Aug 7 19:33:54 2020 (r364041) @@ -408,7 +408,7 @@ static int pci_enable_ari = 1; SYSCTL_INT(_hw_pci, OID_AUTO, enable_ari, CTLFLAG_RDTUN, &pci_enable_ari, 0, "Enable support for PCIe Alternative RID Interpretation"); -int pci_enable_aspm; +int pci_enable_aspm = 1; SYSCTL_INT(_hw_pci, OID_AUTO, enable_aspm, CTLFLAG_RDTUN, &pci_enable_aspm, 0, "Enable support for PCIe Active State Power Management"); Modified: projects/clang1100-import/sys/kern/subr_bus.c ============================================================================== --- projects/clang1100-import/sys/kern/subr_bus.c Fri Aug 7 19:32:54 2020 (r364040) +++ projects/clang1100-import/sys/kern/subr_bus.c Fri Aug 7 19:33:54 2020 (r364041) @@ -860,8 +860,6 @@ sysctl_devctl_queue(SYSCTL_HANDLER_ARGS) * The devctl protocol relies on quoted strings having matching quotes. * This routine quotes any internal quotes so the resulting string * is safe to pass to snprintf to construct, for example pnp info strings. - * Strings are always terminated with a NUL, but may be truncated if longer - * than @p len bytes after quotes. * * @param sb sbuf to place the characters into * @param src Original buffer. Modified: projects/clang1100-import/sys/powerpc/aim/mmu_radix.c ============================================================================== --- projects/clang1100-import/sys/powerpc/aim/mmu_radix.c Fri Aug 7 19:32:54 2020 (r364040) +++ projects/clang1100-import/sys/powerpc/aim/mmu_radix.c Fri Aug 7 19:33:54 2020 (r364041) @@ -183,7 +183,7 @@ ttusync(void) * Invalidate a range of translations */ -static __inline void +static __always_inline void radix_tlbie(uint8_t ric, uint8_t prs, uint16_t is, uint32_t pid, uint32_t lpid, vm_offset_t va, uint16_t ap) { @@ -715,7 +715,7 @@ static struct md_page pv_dummy; static int powernv_enabled = 1; -static inline void +static __always_inline void tlbiel_radix_set_isa300(uint32_t set, uint32_t is, uint32_t pid, uint32_t ric, uint32_t prs) { Modified: projects/clang1100-import/usr.bin/script/script.c ============================================================================== --- projects/clang1100-import/usr.bin/script/script.c Fri Aug 7 19:32:54 2020 (r364040) +++ projects/clang1100-import/usr.bin/script/script.c Fri Aug 7 19:33:54 2020 (r364041) @@ -428,6 +428,33 @@ consume(FILE *fp, off_t len, char *buf, int reg) } while (0/*CONSTCOND*/) static void +termset(void) +{ + struct termios traw; + + if (tcgetattr(STDOUT_FILENO, &tt) == -1) { + if (errno == EBADF) + err(1, "%d not valid fd", STDOUT_FILENO); + /* errno == ENOTTY */ + return; + } + ttyflg = 1; + traw = tt; + cfmakeraw(&traw); + traw.c_lflag |= ISIG; + (void)tcsetattr(STDOUT_FILENO, TCSANOW, &traw); +} + +static void +termreset(void) +{ + if (ttyflg) { + tcsetattr(STDOUT_FILENO, TCSADRAIN, &tt); + ttyflg = 0; + } +} + +static void playback(FILE *fp) { struct timespec tsi, tso; @@ -470,8 +497,11 @@ playback(FILE *fp) ctime(&tclock)); tsi = tso; (void)consume(fp, stamp.scr_len, buf, reg); + termset(); + atexit(termreset); break; case 'e': + termreset(); if (!qflg) (void)printf("\nScript done on %s", ctime(&tclock)); From owner-svn-src-projects@freebsd.org Sat Aug 8 11:08:07 2020 Return-Path: Delivered-To: svn-src-projects@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 683E43A8F43 for ; Sat, 8 Aug 2020 11:08:07 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BNzwl2Pf7z3ZxS; Sat, 8 Aug 2020 11:08:07 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 362A0277FD; Sat, 8 Aug 2020 11:08:07 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 078B87Fj042054; Sat, 8 Aug 2020 11:08:07 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 078B83U5042037; Sat, 8 Aug 2020 11:08:03 GMT (envelope-from dim@FreeBSD.org) Message-Id: <202008081108.078B83U5042037@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Sat, 8 Aug 2020 11:08:03 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r364051 - in projects/clang1100-import: share/man/man9 sys/cam/mmc sys/compat/linuxkpi/common/src sys/fs/tmpfs sys/kern sys/security/audit sys/sys sys/ufs/ufs tests/sys/net/routing usr.... X-SVN-Group: projects X-SVN-Commit-Author: dim X-SVN-Commit-Paths: in projects/clang1100-import: share/man/man9 sys/cam/mmc sys/compat/linuxkpi/common/src sys/fs/tmpfs sys/kern sys/security/audit sys/sys sys/ufs/ufs tests/sys/net/routing usr.bin/chpass usr.sbin/pwd_m... X-SVN-Commit-Revision: 364051 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Aug 2020 11:08:07 -0000 Author: dim Date: Sat Aug 8 11:08:03 2020 New Revision: 364051 URL: https://svnweb.freebsd.org/changeset/base/364051 Log: Merge ^/head r364041 through r364050. Added: projects/clang1100-import/usr.sbin/pwd_mkdb/bootstrap/ - copied from r364050, head/usr.sbin/pwd_mkdb/bootstrap/ Deleted: projects/clang1100-import/usr.sbin/pwd_mkdb/pwd.h Modified: projects/clang1100-import/share/man/man9/Makefile projects/clang1100-import/share/man/man9/VOP_ATTRIB.9 projects/clang1100-import/sys/cam/mmc/mmc_da.c projects/clang1100-import/sys/compat/linuxkpi/common/src/linux_compat.c projects/clang1100-import/sys/fs/tmpfs/tmpfs_vnops.c projects/clang1100-import/sys/fs/tmpfs/tmpfs_vnops.h projects/clang1100-import/sys/kern/vfs_default.c projects/clang1100-import/sys/kern/vfs_subr.c projects/clang1100-import/sys/kern/vfs_syscalls.c projects/clang1100-import/sys/kern/vfs_vnops.c projects/clang1100-import/sys/kern/vnode_if.src projects/clang1100-import/sys/security/audit/audit_arg.c projects/clang1100-import/sys/sys/vnode.h projects/clang1100-import/sys/ufs/ufs/ufs_vnops.c projects/clang1100-import/tests/sys/net/routing/rtsock_common.h projects/clang1100-import/usr.bin/chpass/Makefile projects/clang1100-import/usr.sbin/pwd_mkdb/Makefile Directory Properties: projects/clang1100-import/ (props changed) Modified: projects/clang1100-import/share/man/man9/Makefile ============================================================================== --- projects/clang1100-import/share/man/man9/Makefile Sat Aug 8 11:06:27 2020 (r364050) +++ projects/clang1100-import/share/man/man9/Makefile Sat Aug 8 11:08:03 2020 (r364051) @@ -2308,7 +2308,8 @@ MLINKS+=vm_page_insert.9 vm_page_remove.9 MLINKS+=vm_page_wire.9 vm_page_unwire.9 MLINKS+=VOP_ACCESS.9 VOP_ACCESSX.9 MLINKS+=VOP_ATTRIB.9 VOP_GETATTR.9 \ - VOP_ATTRIB.9 VOP_SETATTR.9 + VOP_ATTRIB.9 VOP_SETATTR.9 \ + VOP_ATTRIB.9 VOP_STAT.9 MLINKS+=VOP_CREATE.9 VOP_MKDIR.9 \ VOP_CREATE.9 VOP_MKNOD.9 \ VOP_CREATE.9 VOP_SYMLINK.9 Modified: projects/clang1100-import/share/man/man9/VOP_ATTRIB.9 ============================================================================== --- projects/clang1100-import/share/man/man9/VOP_ATTRIB.9 Sat Aug 8 11:06:27 2020 (r364050) +++ projects/clang1100-import/share/man/man9/VOP_ATTRIB.9 Sat Aug 8 11:08:03 2020 (r364051) @@ -28,7 +28,7 @@ .\" .\" $FreeBSD$ .\" -.Dd August 29, 2008 +.Dd August 8, 2020 .Dt VOP_ATTRIB 9 .Os .Sh NAME @@ -42,21 +42,51 @@ .Fn VOP_GETATTR "struct vnode *vp" "struct vattr *vap" "struct ucred *cred" .Ft int .Fn VOP_SETATTR "struct vnode *vp" "struct vattr *vap" "struct ucred *cred" +.Ft int +.Fn VOP_STAT "struct vnode *vp" "struct stat *sb" "struct ucred *active_cred" \ +"struct ucred *file_cred" "struct thread *td" .Sh DESCRIPTION These entry points manipulate various attributes of a file or directory, including file permissions, owner, group, size, access time and modification time. .Pp -The arguments are: +.Fn VOP_STAT +returns data in a format suitable for the +.Xr stat 2 +system call and by default is implemented as a wrapper around +.Fn VOP_GETATTR . +Filesystems may want to implement their own variant for performance reasons. +.Pp +For +.Fn VOP_GETATTR +and +.Fn VOP_SETATTR +the arguments are: .Bl -tag -width cred .It Fa vp The vnode of the file. .It Fa vap The attributes of the file. .It Fa cred -The user credentials of the calling process. +The user credentials of the calling thread. .El .Pp +For +.Fn VOP_STAT +the arguments are: +.Bl -tag -width active_cred +.It Fa vp +The vnode of the file. +.It Fa sb +The attributes of the file. +.It Fa active_cred +The user credentials of the calling thread. +.It Fa file_cred +The credentials installed on the file description pointing to the vnode or NOCRED. +.It Fa td +The calling thread. +.El +.Pp Attributes which are not being modified by .Fn VOP_SETATTR should be set to the value @@ -67,8 +97,11 @@ the contents of .Fa *vap prior to setting specific values. .Sh LOCKS +Both .Fn VOP_GETATTR -expects the vnode to be locked on entry and will leave the vnode locked on +and +.Fn VOP_STAT +expect the vnode to be locked on entry and will leave the vnode locked on return. The lock type can be either shared or exclusive. .Pp @@ -84,6 +117,10 @@ otherwise an appropriate error is returned. .Fn VOP_SETATTR returns zero if the attributes were changed successfully, otherwise an appropriate error is returned. +.Fn VOP_STAT +returns 0 if it was able to retrieve the attribute data +.Fa *sb , +otherwise an appropriate error is returned. .Sh ERRORS .Bl -tag -width Er .It Bq Er EPERM Modified: projects/clang1100-import/sys/cam/mmc/mmc_da.c ============================================================================== --- projects/clang1100-import/sys/cam/mmc/mmc_da.c Sat Aug 8 11:06:27 2020 (r364050) +++ projects/clang1100-import/sys/cam/mmc/mmc_da.c Sat Aug 8 11:08:03 2020 (r364051) @@ -789,7 +789,6 @@ sddaregister(struct cam_periph *periph, void *arg) softc = (struct sdda_softc *)malloc(sizeof(*softc), M_DEVBUF, M_NOWAIT|M_ZERO); - if (softc == NULL) { printf("sddaregister: Unable to probe new device. " "Unable to allocate softc\n"); @@ -802,6 +801,7 @@ sddaregister(struct cam_periph *periph, void *arg) if (softc->mmcdata == NULL) { printf("sddaregister: Unable to probe new device. " "Unable to allocate mmcdata\n"); + free(softc, M_DEVBUF); return (CAM_REQ_CMP_ERR); } periph->softc = softc; Modified: projects/clang1100-import/sys/compat/linuxkpi/common/src/linux_compat.c ============================================================================== --- projects/clang1100-import/sys/compat/linuxkpi/common/src/linux_compat.c Sat Aug 8 11:06:27 2020 (r364050) +++ projects/clang1100-import/sys/compat/linuxkpi/common/src/linux_compat.c Sat Aug 8 11:08:03 2020 (r364051) @@ -1691,7 +1691,7 @@ linux_file_stat(struct file *fp, struct stat *sb, stru vp = filp->f_vnode; vn_lock(vp, LK_SHARED | LK_RETRY); - error = vn_stat(vp, sb, td->td_ucred, NOCRED, td); + error = VOP_STAT(vp, sb, td->td_ucred, NOCRED, td); VOP_UNLOCK(vp); return (error); Modified: projects/clang1100-import/sys/fs/tmpfs/tmpfs_vnops.c ============================================================================== --- projects/clang1100-import/sys/fs/tmpfs/tmpfs_vnops.c Sat Aug 8 11:06:27 2020 (r364050) +++ projects/clang1100-import/sys/fs/tmpfs/tmpfs_vnops.c Sat Aug 8 11:08:03 2020 (r364051) @@ -56,6 +56,8 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include +#include #include #include @@ -406,6 +408,52 @@ out: } int +tmpfs_stat(struct vop_stat_args *v) +{ + struct vnode *vp = v->a_vp; + struct stat *sb = v->a_sb; + vm_object_t obj; + struct tmpfs_node *node; + int error; + + node = VP_TO_TMPFS_NODE(vp); + + tmpfs_update_getattr(vp); + + error = vop_stat_helper_pre(v); + if (__predict_false(error)) + return (error); + + sb->st_dev = vp->v_mount->mnt_stat.f_fsid.val[0]; + sb->st_ino = node->tn_id; + sb->st_mode = node->tn_mode | VTTOIF(vp->v_type); + sb->st_nlink = node->tn_links; + sb->st_uid = node->tn_uid; + sb->st_gid = node->tn_gid; + sb->st_rdev = (vp->v_type == VBLK || vp->v_type == VCHR) ? + node->tn_rdev : NODEV; + sb->st_size = node->tn_size; + sb->st_atim.tv_sec = node->tn_atime.tv_sec; + sb->st_atim.tv_nsec = node->tn_atime.tv_nsec; + sb->st_mtim.tv_sec = node->tn_mtime.tv_sec; + sb->st_mtim.tv_nsec = node->tn_mtime.tv_nsec; + sb->st_ctim.tv_sec = node->tn_ctime.tv_sec; + sb->st_ctim.tv_nsec = node->tn_ctime.tv_nsec; + sb->st_birthtim.tv_sec = node->tn_birthtime.tv_sec; + sb->st_birthtim.tv_nsec = node->tn_birthtime.tv_nsec; + sb->st_blksize = PAGE_SIZE; + sb->st_flags = node->tn_flags; + sb->st_gen = node->tn_gen; + if (vp->v_type == VREG) { + obj = node->tn_reg.tn_aobj; + sb->st_blocks = (u_quad_t)obj->resident_page_count * PAGE_SIZE; + } else + sb->st_blocks = node->tn_size; + sb->st_blocks /= S_BLKSIZE; + return (vop_stat_helper_post(v, error)); +} + +int tmpfs_getattr(struct vop_getattr_args *v) { struct vnode *vp = v->a_vp; @@ -1675,6 +1723,7 @@ struct vop_vector tmpfs_vnodeop_entries = { .vop_close = tmpfs_close, .vop_fplookup_vexec = tmpfs_fplookup_vexec, .vop_access = tmpfs_access, + .vop_stat = tmpfs_stat, .vop_getattr = tmpfs_getattr, .vop_setattr = tmpfs_setattr, .vop_read = tmpfs_read, Modified: projects/clang1100-import/sys/fs/tmpfs/tmpfs_vnops.h ============================================================================== --- projects/clang1100-import/sys/fs/tmpfs/tmpfs_vnops.h Sat Aug 8 11:06:27 2020 (r364050) +++ projects/clang1100-import/sys/fs/tmpfs/tmpfs_vnops.h Sat Aug 8 11:08:03 2020 (r364051) @@ -50,6 +50,7 @@ extern struct vop_vector tmpfs_vnodeop_nonc_entries; vop_access_t tmpfs_access; vop_fplookup_vexec_t tmpfs_fplookup_vexec; +vop_stat_t tmpfs_stat; vop_getattr_t tmpfs_getattr; vop_setattr_t tmpfs_setattr; vop_pathconf_t tmpfs_pathconf; Modified: projects/clang1100-import/sys/kern/vfs_default.c ============================================================================== --- projects/clang1100-import/sys/kern/vfs_default.c Sat Aug 8 11:06:27 2020 (r364050) +++ projects/clang1100-import/sys/kern/vfs_default.c Sat Aug 8 11:08:03 2020 (r364051) @@ -57,6 +57,9 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include +#include +#include #include @@ -87,6 +90,7 @@ static int vop_stdadd_writecount(struct vop_add_writec static int vop_stdcopy_file_range(struct vop_copy_file_range_args *ap); static int vop_stdfdatasync(struct vop_fdatasync_args *ap); static int vop_stdgetpages_async(struct vop_getpages_async_args *ap); +static int vop_stdstat(struct vop_stat_args *ap); /* * This vnode table stores what we want to do if the filesystem doesn't @@ -114,6 +118,7 @@ struct vop_vector default_vnodeops = { .vop_bmap = vop_stdbmap, .vop_close = VOP_NULL, .vop_fsync = VOP_NULL, + .vop_stat = vop_stdstat, .vop_fdatasync = vop_stdfdatasync, .vop_getpages = vop_stdgetpages, .vop_getpages_async = vop_stdgetpages_async, @@ -1460,4 +1465,112 @@ vop_sigdefer(struct vop_vector *vop, struct vop_generi rc = bp(a); sigallowstop(prev_stops); return (rc); +} + +static int +vop_stdstat(struct vop_stat_args *a) +{ + struct vattr vattr; + struct vattr *vap; + struct vnode *vp; + struct stat *sb; + int error; + u_short mode; + + vp = a->a_vp; + sb = a->a_sb; + + error = vop_stat_helper_pre(a); + if (error != 0) + return (error); + + vap = &vattr; + + /* + * Initialize defaults for new and unusual fields, so that file + * systems which don't support these fields don't need to know + * about them. + */ + vap->va_birthtime.tv_sec = -1; + vap->va_birthtime.tv_nsec = 0; + vap->va_fsid = VNOVAL; + vap->va_rdev = NODEV; + + error = VOP_GETATTR(vp, vap, a->a_active_cred); + if (error) + goto out; + + /* + * Zero the spare stat fields + */ + bzero(sb, sizeof *sb); + + /* + * Copy from vattr table + */ + if (vap->va_fsid != VNOVAL) + sb->st_dev = vap->va_fsid; + else + sb->st_dev = vp->v_mount->mnt_stat.f_fsid.val[0]; + sb->st_ino = vap->va_fileid; + mode = vap->va_mode; + switch (vap->va_type) { + case VREG: + mode |= S_IFREG; + break; + case VDIR: + mode |= S_IFDIR; + break; + case VBLK: + mode |= S_IFBLK; + break; + case VCHR: + mode |= S_IFCHR; + break; + case VLNK: + mode |= S_IFLNK; + break; + case VSOCK: + mode |= S_IFSOCK; + break; + case VFIFO: + mode |= S_IFIFO; + break; + default: + error = EBADF; + goto out; + } + sb->st_mode = mode; + sb->st_nlink = vap->va_nlink; + sb->st_uid = vap->va_uid; + sb->st_gid = vap->va_gid; + sb->st_rdev = vap->va_rdev; + if (vap->va_size > OFF_MAX) { + error = EOVERFLOW; + goto out; + } + sb->st_size = vap->va_size; + sb->st_atim.tv_sec = vap->va_atime.tv_sec; + sb->st_atim.tv_nsec = vap->va_atime.tv_nsec; + sb->st_mtim.tv_sec = vap->va_mtime.tv_sec; + sb->st_mtim.tv_nsec = vap->va_mtime.tv_nsec; + sb->st_ctim.tv_sec = vap->va_ctime.tv_sec; + sb->st_ctim.tv_nsec = vap->va_ctime.tv_nsec; + sb->st_birthtim.tv_sec = vap->va_birthtime.tv_sec; + sb->st_birthtim.tv_nsec = vap->va_birthtime.tv_nsec; + + /* + * According to www.opengroup.org, the meaning of st_blksize is + * "a filesystem-specific preferred I/O block size for this + * object. In some filesystem types, this may vary from file + * to file" + * Use minimum/default of PAGE_SIZE (e.g. for VCHR). + */ + + sb->st_blksize = max(PAGE_SIZE, vap->va_blocksize); + sb->st_flags = vap->va_flags; + sb->st_blocks = vap->va_bytes / S_BLKSIZE; + sb->st_gen = vap->va_gen; +out: + return (vop_stat_helper_post(a, error)); } Modified: projects/clang1100-import/sys/kern/vfs_subr.c ============================================================================== --- projects/clang1100-import/sys/kern/vfs_subr.c Sat Aug 8 11:06:27 2020 (r364050) +++ projects/clang1100-import/sys/kern/vfs_subr.c Sat Aug 8 11:08:03 2020 (r364051) @@ -3683,19 +3683,24 @@ vdropl(struct vnode *vp) } if (!VN_IS_DOOMED(vp)) { vdrop_deactivate(vp); + /* + * Also unlocks the interlock. We can't assert on it as we + * released our hold and by now the vnode might have been + * freed. + */ return; } /* - * We may be racing against vhold_smr. + * Set the VHOLD_NO_SMR flag. * - * If they win we can just pretend we never got this far, they will - * vdrop later. + * We may be racing against vhold_smr. If they win we can just pretend + * we never got this far, they will vdrop later. */ if (!atomic_cmpset_int(&vp->v_holdcnt, 0, VHOLD_NO_SMR)) { + VI_UNLOCK(vp); /* - * We lost the aforementioned race. Note that any subsequent - * access is invalid as they might have managed to vdropl on - * their own. + * We lost the aforementioned race. Any subsequent access is + * invalid as they might have managed to vdropl on their own. */ return; } Modified: projects/clang1100-import/sys/kern/vfs_syscalls.c ============================================================================== --- projects/clang1100-import/sys/kern/vfs_syscalls.c Sat Aug 8 11:06:27 2020 (r364050) +++ projects/clang1100-import/sys/kern/vfs_syscalls.c Sat Aug 8 11:08:03 2020 (r364051) @@ -1867,7 +1867,7 @@ restart: if (vp->v_type == VDIR && oldinum == 0) { error = EPERM; /* POSIX */ } else if (oldinum != 0 && - ((error = vn_stat(vp, &sb, td->td_ucred, NOCRED, td)) == 0) && + ((error = VOP_STAT(vp, &sb, td->td_ucred, NOCRED, td)) == 0) && sb.st_ino != oldinum) { error = EIDRM; /* Identifier removed */ } else if (fp != NULL && fp->f_vnode != vp) { @@ -2381,7 +2381,7 @@ kern_statat(struct thread *td, int flag, int fd, const if ((error = namei(&nd)) != 0) return (error); - error = vn_stat(nd.ni_vp, sbp, td->td_ucred, NOCRED, td); + error = VOP_STAT(nd.ni_vp, sbp, td->td_ucred, NOCRED, td); if (error == 0) { SDT_PROBE2(vfs, , stat, mode, path, sbp->st_mode); if (S_ISREG(sbp->st_mode)) @@ -4566,7 +4566,7 @@ kern_fhstat(struct thread *td, struct fhandle fh, stru vfs_unbusy(mp); if (error != 0) return (error); - error = vn_stat(vp, sb, td->td_ucred, NOCRED, td); + error = VOP_STAT(vp, sb, td->td_ucred, NOCRED, td); vput(vp); return (error); } Modified: projects/clang1100-import/sys/kern/vfs_vnops.c ============================================================================== --- projects/clang1100-import/sys/kern/vfs_vnops.c Sat Aug 8 11:06:27 2020 (r364050) +++ projects/clang1100-import/sys/kern/vfs_vnops.c Sat Aug 8 11:08:03 2020 (r364051) @@ -1455,121 +1455,10 @@ vn_statfile(struct file *fp, struct stat *sb, struct u int error; vn_lock(vp, LK_SHARED | LK_RETRY); - error = vn_stat(vp, sb, active_cred, fp->f_cred, td); + error = VOP_STAT(vp, sb, active_cred, fp->f_cred, td); VOP_UNLOCK(vp); return (error); -} - -/* - * Stat a vnode; implementation for the stat syscall - */ -int -vn_stat(struct vnode *vp, struct stat *sb, struct ucred *active_cred, - struct ucred *file_cred, struct thread *td) -{ - struct vattr vattr; - struct vattr *vap; - int error; - u_short mode; - - AUDIT_ARG_VNODE1(vp); -#ifdef MAC - error = mac_vnode_check_stat(active_cred, file_cred, vp); - if (error) - return (error); -#endif - - vap = &vattr; - - /* - * Initialize defaults for new and unusual fields, so that file - * systems which don't support these fields don't need to know - * about them. - */ - vap->va_birthtime.tv_sec = -1; - vap->va_birthtime.tv_nsec = 0; - vap->va_fsid = VNOVAL; - vap->va_rdev = NODEV; - - error = VOP_GETATTR(vp, vap, active_cred); - if (error) - return (error); - - /* - * Zero the spare stat fields - */ - bzero(sb, sizeof *sb); - - /* - * Copy from vattr table - */ - if (vap->va_fsid != VNOVAL) - sb->st_dev = vap->va_fsid; - else - sb->st_dev = vp->v_mount->mnt_stat.f_fsid.val[0]; - sb->st_ino = vap->va_fileid; - mode = vap->va_mode; - switch (vap->va_type) { - case VREG: - mode |= S_IFREG; - break; - case VDIR: - mode |= S_IFDIR; - break; - case VBLK: - mode |= S_IFBLK; - break; - case VCHR: - mode |= S_IFCHR; - break; - case VLNK: - mode |= S_IFLNK; - break; - case VSOCK: - mode |= S_IFSOCK; - break; - case VFIFO: - mode |= S_IFIFO; - break; - default: - return (EBADF); - } - sb->st_mode = mode; - sb->st_nlink = vap->va_nlink; - sb->st_uid = vap->va_uid; - sb->st_gid = vap->va_gid; - sb->st_rdev = vap->va_rdev; - if (vap->va_size > OFF_MAX) - return (EOVERFLOW); - sb->st_size = vap->va_size; - sb->st_atim.tv_sec = vap->va_atime.tv_sec; - sb->st_atim.tv_nsec = vap->va_atime.tv_nsec; - sb->st_mtim.tv_sec = vap->va_mtime.tv_sec; - sb->st_mtim.tv_nsec = vap->va_mtime.tv_nsec; - sb->st_ctim.tv_sec = vap->va_ctime.tv_sec; - sb->st_ctim.tv_nsec = vap->va_ctime.tv_nsec; - sb->st_birthtim.tv_sec = vap->va_birthtime.tv_sec; - sb->st_birthtim.tv_nsec = vap->va_birthtime.tv_nsec; - - /* - * According to www.opengroup.org, the meaning of st_blksize is - * "a filesystem-specific preferred I/O block size for this - * object. In some filesystem types, this may vary from file - * to file" - * Use minimum/default of PAGE_SIZE (e.g. for VCHR). - */ - - sb->st_blksize = max(PAGE_SIZE, vap->va_blocksize); - - sb->st_flags = vap->va_flags; - if (priv_check_cred_vfs_generation(td->td_ucred)) - sb->st_gen = 0; - else - sb->st_gen = vap->va_gen; - - sb->st_blocks = vap->va_bytes / S_BLKSIZE; - return (0); } /* Modified: projects/clang1100-import/sys/kern/vnode_if.src ============================================================================== --- projects/clang1100-import/sys/kern/vnode_if.src Sat Aug 8 11:06:27 2020 (r364050) +++ projects/clang1100-import/sys/kern/vnode_if.src Sat Aug 8 11:08:03 2020 (r364051) @@ -177,6 +177,17 @@ vop_accessx { }; +%% stat vp L L L + +vop_stat { + IN struct vnode *vp; + OUT struct stat *sb; + IN struct ucred *active_cred; + IN struct ucred *file_cred; + IN struct thread *td; +}; + + %% getattr vp L L L vop_getattr { Modified: projects/clang1100-import/sys/security/audit/audit_arg.c ============================================================================== --- projects/clang1100-import/sys/security/audit/audit_arg.c Sat Aug 8 11:06:27 2020 (r364050) +++ projects/clang1100-import/sys/security/audit/audit_arg.c Sat Aug 8 11:08:03 2020 (r364051) @@ -854,7 +854,7 @@ audit_arg_upath2_canon(char *upath) * It is assumed that the caller will hold any vnode locks necessary to * perform a VOP_GETATTR() on the passed vnode. * - * XXX: The attr code is very similar to vfs_vnops.c:vn_stat(), but always + * XXX: The attr code is very similar to vfs_default.c:vop_stdstat(), but always * provides access to the generation number as we need that to construct the * BSM file ID. * Modified: projects/clang1100-import/sys/sys/vnode.h ============================================================================== --- projects/clang1100-import/sys/sys/vnode.h Sat Aug 8 11:06:27 2020 (r364050) +++ projects/clang1100-import/sys/sys/vnode.h Sat Aug 8 11:08:03 2020 (r364051) @@ -737,8 +737,6 @@ int vn_rdwr_inchunks(enum uio_rw rw, struct vnode *vp, struct thread *td); int vn_rlimit_fsize(const struct vnode *vn, const struct uio *uio, struct thread *td); -int vn_stat(struct vnode *vp, struct stat *sb, struct ucred *active_cred, - struct ucred *file_cred, struct thread *td); int vn_start_write(struct vnode *vp, struct mount **mpp, int flags); int vn_start_secondary_write(struct vnode *vp, struct mount **mpp, int flags); @@ -892,6 +890,22 @@ void vop_need_inactive_debugpost(void *a, int rc); #endif void vop_rename_fail(struct vop_rename_args *ap); + +#define vop_stat_helper_pre(ap) ({ \ + int _error; \ + AUDIT_ARG_VNODE1(ap->a_vp); \ + _error = mac_vnode_check_stat(ap->a_active_cred, ap->a_file_cred, ap->a_vp);\ + if (__predict_true(_error == 0)) \ + bzero(ap->a_sb, sizeof(*ap->a_sb)); \ + _error; \ +}) + +#define vop_stat_helper_post(ap, error) ({ \ + int _error = (error); \ + if (priv_check_cred_vfs_generation(ap->a_td->td_ucred)) \ + ap->a_sb->st_gen = 0; \ + _error; \ +}) #define VOP_WRITE_PRE(ap) \ struct vattr va; \ Modified: projects/clang1100-import/sys/ufs/ufs/ufs_vnops.c ============================================================================== --- projects/clang1100-import/sys/ufs/ufs/ufs_vnops.c Sat Aug 8 11:06:27 2020 (r364050) +++ projects/clang1100-import/sys/ufs/ufs/ufs_vnops.c Sat Aug 8 11:08:03 2020 (r364051) @@ -65,6 +65,7 @@ __FBSDID("$FreeBSD$"); #include #include +#include #include #include /* XXX */ @@ -107,6 +108,7 @@ static int ufs_chmod(struct vnode *, int, struct ucred static int ufs_chown(struct vnode *, uid_t, gid_t, struct ucred *, struct thread *); static vop_close_t ufs_close; static vop_create_t ufs_create; +static vop_stat_t ufs_stat; static vop_getattr_t ufs_getattr; static vop_ioctl_t ufs_ioctl; static vop_link_t ufs_link; @@ -467,6 +469,65 @@ ufs_fplookup_vexec(ap) /* ARGSUSED */ static int +ufs_stat(struct vop_stat_args *ap) +{ + struct vnode *vp = ap->a_vp; + struct inode *ip = VTOI(vp); + struct stat *sb = ap->a_sb; + int error; + + error = vop_stat_helper_pre(ap); + if (__predict_false(error)) + return (error); + + VI_LOCK(vp); + ufs_itimes_locked(vp); + if (I_IS_UFS1(ip)) { + sb->st_atim.tv_sec = ip->i_din1->di_atime; + sb->st_atim.tv_nsec = ip->i_din1->di_atimensec; + } else { + sb->st_atim.tv_sec = ip->i_din2->di_atime; + sb->st_atim.tv_nsec = ip->i_din2->di_atimensec; + } + VI_UNLOCK(vp); + + sb->st_dev = vp->v_mount->mnt_stat.f_fsid.val[0]; + sb->st_ino = ip->i_number; + sb->st_mode = (ip->i_mode & ~IFMT) | VTTOIF(vp->v_type); + sb->st_nlink = ip->i_effnlink; + sb->st_uid = ip->i_uid; + sb->st_gid = ip->i_gid; + if (I_IS_UFS1(ip)) { + sb->st_rdev = ip->i_din1->di_rdev; + sb->st_size = ip->i_din1->di_size; + sb->st_mtim.tv_sec = ip->i_din1->di_mtime; + sb->st_mtim.tv_nsec = ip->i_din1->di_mtimensec; + sb->st_ctim.tv_sec = ip->i_din1->di_ctime; + sb->st_ctim.tv_nsec = ip->i_din1->di_ctimensec; + sb->st_birthtim.tv_sec = -1; + sb->st_birthtim.tv_nsec = 0; + sb->st_blocks = dbtob((u_quad_t)ip->i_din1->di_blocks) / S_BLKSIZE; + } else { + sb->st_rdev = ip->i_din2->di_rdev; + sb->st_size = ip->i_din2->di_size; + sb->st_mtim.tv_sec = ip->i_din2->di_mtime; + sb->st_mtim.tv_nsec = ip->i_din2->di_mtimensec; + sb->st_ctim.tv_sec = ip->i_din2->di_ctime; + sb->st_ctim.tv_nsec = ip->i_din2->di_ctimensec; + sb->st_birthtim.tv_sec = ip->i_din2->di_birthtime; + sb->st_birthtim.tv_nsec = ip->i_din2->di_birthnsec; + sb->st_blocks = dbtob((u_quad_t)ip->i_din2->di_blocks) / S_BLKSIZE; + } + + sb->st_blksize = max(PAGE_SIZE, vp->v_mount->mnt_stat.f_iosize); + sb->st_flags = ip->i_flags; + sb->st_gen = ip->i_gen; + + return (vop_stat_helper_post(ap, error)); +} + +/* ARGSUSED */ +static int ufs_getattr(ap) struct vop_getattr_args /* { struct vnode *a_vp; @@ -2822,6 +2883,7 @@ struct vop_vector ufs_vnodeops = { .vop_cachedlookup = ufs_lookup, .vop_close = ufs_close, .vop_create = ufs_create, + .vop_stat = ufs_stat, .vop_getattr = ufs_getattr, .vop_inactive = ufs_inactive, .vop_ioctl = ufs_ioctl, Modified: projects/clang1100-import/tests/sys/net/routing/rtsock_common.h ============================================================================== --- projects/clang1100-import/tests/sys/net/routing/rtsock_common.h Sat Aug 8 11:06:27 2020 (r364050) +++ projects/clang1100-import/tests/sys/net/routing/rtsock_common.h Sat Aug 8 11:08:03 2020 (r364051) @@ -204,7 +204,7 @@ iface_open(char *ifname) * Sets primary IPv4 addr. * Returns 0 on success. */ -inline int +static inline int iface_setup_addr(char *ifname, char *addr, int plen) { char cmd[512]; @@ -225,7 +225,7 @@ iface_setup_addr(char *ifname, char *addr, int plen) * Removes primary IPv4 prefix. * Returns 0 on success. */ -inline int +static inline int iface_delete_addr(char *ifname, char *addr) { char cmd[512]; Modified: projects/clang1100-import/usr.bin/chpass/Makefile ============================================================================== --- projects/clang1100-import/usr.bin/chpass/Makefile Sat Aug 8 11:06:27 2020 (r364050) +++ projects/clang1100-import/usr.bin/chpass/Makefile Sat Aug 8 11:08:03 2020 (r364051) @@ -3,7 +3,7 @@ .include -.PATH: ${SRCTOP}/usr.sbin/pwd_mkdb ${SRCTOP}/lib/libc/gen +.PATH: ${SRCTOP}/lib/libc/gen PROG= chpass SRCS= chpass.c edit.c field.c pw_scan.c table.c util.c @@ -15,7 +15,7 @@ CFLAGS+= -DYP .endif #Some people need this, uncomment to activate #CFLAGS+=-DRESTRICT_FULLNAME_CHANGE -CFLAGS+=-I${SRCTOP}/usr.sbin/pwd_mkdb -I${SRCTOP}/lib/libc/gen -I. +CFLAGS+=-I${SRCTOP}/lib/libc/gen -I. LIBADD= crypt util .if ${MK_NIS} != "no" Modified: projects/clang1100-import/usr.sbin/pwd_mkdb/Makefile ============================================================================== --- projects/clang1100-import/usr.sbin/pwd_mkdb/Makefile Sat Aug 8 11:06:27 2020 (r364050) +++ projects/clang1100-import/usr.sbin/pwd_mkdb/Makefile Sat Aug 8 11:08:03 2020 (r364051) @@ -10,7 +10,7 @@ SRCS= pw_scan.c pwd_mkdb.c CFLAGS+= -I${SRCTOP}/lib/libc/gen # for pw_scan.h .if defined(BOOTSTRAPPING) -CFLAGS+=-I${.CURDIR} +CFLAGS+=-I${.CURDIR}/bootstrap .endif .include