Author: mstorsjo
Date: Fri Sep 27 05:25:19 2019
New Revision: 373078
URL: http://llvm.org/viewvc/llvm-project?rev=373078&view=rev
Log:
[clang] [AST] Treat "inline gnu_inline" the same way as "extern inline
gnu_inline" in C++ mode
This matches how GCC handles it, see e.g. https://gcc.godbolt.org/
Author: mstorsjo
Date: Wed May 15 23:49:13 2019
New Revision: 360861
URL: http://llvm.org/viewvc/llvm-project?rev=360861&view=rev
Log:
[PPC64][libunwind] Fix r2 not properly restored
This change makes each unwind step inspect the instruction at the
return address and, if needed, read r2 from its
Author: mstorsjo
Date: Wed May 15 23:49:20 2019
New Revision: 360862
URL: http://llvm.org/viewvc/llvm-project?rev=360862&view=rev
Log:
[PPC] Fix 32-bit build of libunwind
Clang integrated assembler was unable to build libunwind PPC32 assembly code,
present in functions used to save/restore regist
Author: mstorsjo
Date: Mon May 6 14:19:01 2019
New Revision: 360081
URL: http://llvm.org/viewvc/llvm-project?rev=360081&view=rev
Log:
[MinGW] Use SEH by default on AArch64
The implementation of SEH is pretty mature at this point.
Differential Revision: https://reviews.llvm.org/D61591
Modified:
Author: mstorsjo
Date: Mon May 6 14:19:07 2019
New Revision: 360082
URL: http://llvm.org/viewvc/llvm-project?rev=360082&view=rev
Log:
[AArch64] Add __builtin_sponentry, for calling setjmp in MinGW
In MinGW, setjmp isn't expanded as a builtin in the compiler (like it
is for MSVC), but manually ho
Author: mstorsjo
Date: Fri Apr 26 12:31:46 2019
New Revision: 359343
URL: http://llvm.org/viewvc/llvm-project?rev=359343&view=rev
Log:
[MinGW] Do dllexport inline methods in template instantiation
Normally, in MinGW mode, inline methods aren't dllexported.
However, in the case of a dllimported t
Author: mstorsjo
Date: Fri Apr 26 12:31:51 2019
New Revision: 359345
URL: http://llvm.org/viewvc/llvm-project?rev=359345&view=rev
Log:
[MinGW] Always emit local typeinfo
This makes sure that code built with headers for a statically linked
libc++ also works when linking to the DLL version, when th
Author: mstorsjo
Date: Fri Apr 26 12:31:39 2019
New Revision: 359342
URL: http://llvm.org/viewvc/llvm-project?rev=359342&view=rev
Log:
[MinGW] Don't let template instantiation declarations cover nested classes
An explicit template instantiation declaration used to let
callers assume both outer an
Author: mstorsjo
Date: Fri Apr 26 01:09:51 2019
New Revision: 359285
URL: http://llvm.org/viewvc/llvm-project?rev=359285&view=rev
Log:
[MinGW] Fix dllexport of explicit template instantiation
Contrary to MSVC, GCC/MinGW needs to have the dllexport attribute
on the template instantiation declarati
Author: mstorsjo
Date: Thu Apr 25 13:03:20 2019
New Revision: 359233
URL: http://llvm.org/viewvc/llvm-project?rev=359233&view=rev
Log:
[Windows] Separate elements in -print-search-dirs with semicolons
Path lists on windows should always be separated by semicolons, not
colons. Reuse llvm::sys::Env
Author: mstorsjo
Date: Fri Apr 19 12:04:22 2019
New Revision: 358778
URL: http://llvm.org/viewvc/llvm-project?rev=358778&view=rev
Log:
[MSVC] If unable to find link.exe from a MSVC installation, look for link.exe
next to cl.exe
Previously, if the MSVC installation isn't detected properly, clang
Author: mstorsjo
Date: Thu Apr 18 06:27:31 2019
New Revision: 358662
URL: http://llvm.org/viewvc/llvm-project?rev=358662&view=rev
Log:
[MSVC] Use the correct casing of HostX64/HostX86
If accessing the MSVC installation root directly on a case sensitive
filesystem, these details matter.
Different
Author: mstorsjo
Date: Wed Apr 17 23:35:42 2019
New Revision: 358642
URL: http://llvm.org/viewvc/llvm-project?rev=358642&view=rev
Log:
Add support for ARMv7-M architecture which uses the Thumb 2 ISA (unified syntax)
Patch by Jérémie Faucher-Goulet!
Differential Revision: https://reviews.llvm.org
Author: mstorsjo
Date: Mon Apr 15 03:57:09 2019
New Revision: 358393
URL: http://llvm.org/viewvc/llvm-project?rev=358393&view=rev
Log:
[MinGW] Remove some supefluous calls to MakeArgString. NFC.
Modified:
cfe/trunk/lib/Driver/ToolChains/MinGW.cpp
Modified: cfe/trunk/lib/Driver/ToolChains/Min
Author: mstorsjo
Date: Thu Apr 4 10:50:14 2019
New Revision: 357711
URL: http://llvm.org/viewvc/llvm-project?rev=357711&view=rev
Log:
Move the alias definition of unw_getcontext to within
!defined(__USING_SJLJ_EXCEPTIONS__)
For builds with SJLJ, there is no __unw_getcontext symbol. On Windows,
Author: mstorsjo
Date: Wed Feb 13 05:13:45 2019
New Revision: 353946
URL: http://llvm.org/viewvc/llvm-project?rev=353946&view=rev
Log:
[test] Tweak driver test from r353917 and r353922 to pass with a nondefault
CLANG_DEFAULT_LINKER
Force -fuse-ld=ld, as some other tests in the same file do.
Loo
Author: mstorsjo
Date: Tue Feb 12 23:50:21 2019
New Revision: 353922
URL: http://llvm.org/viewvc/llvm-project?rev=353922&view=rev
Log:
[test] Fix the test from SVN r353917 when running without lld available
These tests still relies on the default linker not to be overridden
via e.g. CLANG_DEFAULT
Author: mstorsjo
Date: Tue Feb 12 23:26:54 2019
New Revision: 353917
URL: http://llvm.org/viewvc/llvm-project?rev=353917&view=rev
Log:
[MinGW] Add the profiling library when necessary
Profiling still doesn't seem to work properly, but this at least
hooks up the library and eases completing whatev
Author: mstorsjo
Date: Thu Feb 7 04:46:49 2019
New Revision: 353402
URL: http://llvm.org/viewvc/llvm-project?rev=353402&view=rev
Log:
[clang-cl] support /Oy- on aarch64
MSVC supports /Oy- on aarch64, so clang-cl should too.
Patch by Nathan Froyd!
Differential Revision: https://reviews.llvm.org
Author: mstorsjo
Date: Sun Feb 3 14:16:53 2019
New Revision: 353010
URL: http://llvm.org/viewvc/llvm-project?rev=353010&view=rev
Log:
Provide a placement new definition for the SEH version of UnwindCursor
This fixes compilation after SVN r352966 in SEH mode.
Modified:
libunwind/trunk/src/Un
Author: mstorsjo
Date: Tue Jan 29 01:00:32 2019
New Revision: 352461
URL: http://llvm.org/viewvc/llvm-project?rev=352461&view=rev
Log:
Don't define unw_fpreg_t to uint64_t for __ARM_DWARF_EH__
The existing typedef of unw_fpreg_t to uint64_t might work and be
correct for the ARM_EHABI case, but fo
Author: mstorsjo
Date: Tue Jan 22 14:12:23 2019
New Revision: 351888
URL: http://llvm.org/viewvc/llvm-project?rev=351888&view=rev
Log:
Silence warnings about unused parameters
Differential Revision: https://reviews.llvm.org/D56984
Modified:
libunwind/trunk/src/AddressSpace.hpp
libunwind/
Author: mstorsjo
Date: Tue Jan 22 12:50:45 2019
New Revision: 351878
URL: http://llvm.org/viewvc/llvm-project?rev=351878&view=rev
Log:
Remove an unused variable
Differential Revision: https://reviews.llvm.org/D56985
Modified:
libunwind/trunk/src/Unwind-seh.cpp
Modified: libunwind/trunk/src/
Author: mstorsjo
Date: Tue Jan 22 12:50:42 2019
New Revision: 351877
URL: http://llvm.org/viewvc/llvm-project?rev=351877&view=rev
Log:
Add casts to avoid warnings about implicit conversions losing precision
This fixes warnings like these:
DwarfInstructions.hpp:85:25: warning: implicit conversion
Author: mstorsjo
Date: Tue Jan 22 12:50:39 2019
New Revision: 351876
URL: http://llvm.org/viewvc/llvm-project?rev=351876&view=rev
Log:
Fix warnings about printf format strings
Either adjust the format string to use a more exact type, or add casts
(for cases when printing pointers to structs/objec
Author: mstorsjo
Date: Tue Jan 22 12:50:33 2019
New Revision: 351875
URL: http://llvm.org/viewvc/llvm-project?rev=351875&view=rev
Log:
Enable LLVM_ENABLE_WARNINGS when building standalone out of tree
When built within the llvm runtimes directory, the runtimes
CMakeLists.txt adds the same.
Differ
Author: mstorsjo
Date: Fri Jan 18 12:31:12 2019
New Revision: 351587
URL: http://llvm.org/viewvc/llvm-project?rev=351587&view=rev
Log:
[SjLj] Don't use __declspec(thread) in MinGW mode
GCC and Clang in MinGW mode don't support __declspec(thread), which
after expanding macros ends up as __attribut
Author: mstorsjo
Date: Tue Dec 18 12:05:59 2018
New Revision: 349532
URL: http://llvm.org/viewvc/llvm-project?rev=349532&view=rev
Log:
[SEH] Add initial support for AArch64
This doesn't yet implement inspecting the .pdata/.xdata to find the
LSDA pointer (in UnwindCursor::getInfoFromSEH), but norm
Author: mstorsjo
Date: Tue Dec 18 00:36:16 2018
New Revision: 349453
URL: http://llvm.org/viewvc/llvm-project?rev=349453&view=rev
Log:
[unittests] Remove superfluous semicolon, fixing warnings with GCC. NFC.
Modified:
cfe/trunk/unittests/AST/ASTImporterTest.cpp
Modified: cfe/trunk/unittests/
Author: mstorsjo
Date: Tue Dec 18 00:36:10 2018
New Revision: 349452
URL: http://llvm.org/viewvc/llvm-project?rev=349452&view=rev
Log:
[Driver] Automatically enable -munwind-tables if -fseh-exceptions is enabled
For targets where SEH exceptions are used by default (on MinGW,
only x86_64 so far),
Author: mstorsjo
Date: Sat Dec 15 00:08:11 2018
New Revision: 349256
URL: http://llvm.org/viewvc/llvm-project?rev=349256&view=rev
Log:
[MinGW] Produce a vtable and RTTI for dllexported classes without a key function
This matches what GCC does in these situations.
This fixes compiling Qt in debug
Author: mstorsjo
Date: Wed Dec 12 14:24:42 2018
New Revision: 348981
URL: http://llvm.org/viewvc/llvm-project?rev=348981&view=rev
Log:
Avoid code duplication in the SEH version of UnwindCursor::getRegisterName. NFC.
This requires making Registers_*::getRegisterName static.
Differential Revision:
Author: mstorsjo
Date: Tue Dec 11 01:53:11 2018
New Revision: 348836
URL: http://llvm.org/viewvc/llvm-project?rev=348836&view=rev
Log:
[SEH] Zero-initialize EXCEPTION_RECORD and UNWIND_HISTORY_TABLE before calling
RtlUnwindEx
This fixes PR39935.
Modified:
libunwind/trunk/src/Unwind-seh.cpp
Author: mstorsjo
Date: Mon Dec 10 23:34:14 2018
New Revision: 348832
URL: http://llvm.org/viewvc/llvm-project?rev=348832&view=rev
Log:
Don't export assembly functions when function visibility annotations are
disabled
Patch by Peiyuan Song!
Differential Revision: https://reviews.llvm.org/D55537
Author: mstorsjo
Date: Fri Oct 26 01:33:29 2018
New Revision: 345372
URL: http://llvm.org/viewvc/llvm-project?rev=345372&view=rev
Log:
Revert "Reapply: [Driver] Use forward slashes in most linker arguments"
This reverts commit r345370, as it uncovered even more issues in
tests with partial/incons
Author: mstorsjo
Date: Fri Oct 26 00:01:59 2018
New Revision: 345370
URL: http://llvm.org/viewvc/llvm-project?rev=345370&view=rev
Log:
Reapply: [Driver] Use forward slashes in most linker arguments
libtool inspects the output of $CC -v to detect what object files and
libraries are linked in by de
Author: mstorsjo
Date: Tue Oct 23 00:01:55 2018
New Revision: 345005
URL: http://llvm.org/viewvc/llvm-project?rev=345005&view=rev
Log:
Revert "[Driver] Use forward slashes in most linker arguments"
This reverts commit r345004, as it broke tests when actually run
on windows; see e.g.
http://lab.ll
Author: mstorsjo
Date: Mon Oct 22 23:33:22 2018
New Revision: 345003
URL: http://llvm.org/viewvc/llvm-project?rev=345003&view=rev
Log:
[MinGW] Link to correct openmp library
Patch by Peiyuan Song!
Differential Revision: https://reviews.llvm.org/D53397
Modified:
cfe/trunk/lib/Driver/ToolChai
Author: mstorsjo
Date: Mon Oct 22 23:33:26 2018
New Revision: 345004
URL: http://llvm.org/viewvc/llvm-project?rev=345004&view=rev
Log:
[Driver] Use forward slashes in most linker arguments
libtool inspects the output of $CC -v to detect what object files and
libraries are linked in by default. Wh
Author: mstorsjo
Date: Fri Oct 12 13:15:51 2018
New Revision: 344412
URL: http://llvm.org/viewvc/llvm-project?rev=344412&view=rev
Log:
[MinGW] Allow using LTO when lld is used as linker
Differential Revision: https://reviews.llvm.org/D53195
Added:
cfe/trunk/test/Driver/mingw-lto.c
Modified:
Author: mstorsjo
Date: Wed Oct 10 02:01:00 2018
New Revision: 344125
URL: http://llvm.org/viewvc/llvm-project?rev=344125&view=rev
Log:
[MinGW] Fix passing a sanitizer lib name as dependent lib
Differential Revision: https://reviews.llvm.org/D52990
Modified:
cfe/trunk/lib/CodeGen/TargetInfo.c
Author: mstorsjo
Date: Wed Oct 3 11:24:05 2018
New Revision: 343702
URL: http://llvm.org/viewvc/llvm-project?rev=343702&view=rev
Log:
[test] Use --sysroot instead of -B in print-multi-directory.c
This avoids finding a similar matching GCC installation outside
of the test directory tree in the su
Author: mstorsjo
Date: Mon Oct 1 13:53:25 2018
New Revision: 343537
URL: http://llvm.org/viewvc/llvm-project?rev=343537&view=rev
Log:
[MinGW] Allow using ASan
Linking to ASan for MinGW is similar to MSVC, but MinGW always links
the MSVCRT dynamically, so there is only one of the MSVC cases to
co
Author: mstorsjo
Date: Thu Sep 27 01:24:15 2018
New Revision: 343184
URL: http://llvm.org/viewvc/llvm-project?rev=343184&view=rev
Log:
[Sema] Handle __va_start for Windows/ARM64 in the same way as for ARM
This fixes PR39090.
Differential Revision: https://reviews.llvm.org/D52571
Modified:
c
Author: mstorsjo
Date: Fri Aug 31 07:56:55 2018
New Revision: 341217
URL: http://llvm.org/viewvc/llvm-project?rev=341217&view=rev
Log:
Fix existing code for SEH on ARM to compile correctly
Even though SEH for ARM is incomplete, make what code already exists
at least compile correctly.
The _LIBUN
Author: mstorsjo
Date: Wed Aug 29 10:26:58 2018
New Revision: 340941
URL: http://llvm.org/viewvc/llvm-project?rev=340941&view=rev
Log:
[MinGW] Don't mark external variables as DSO local
Since MinGW supports automatically importing external variables from
DLLs even without the DLLImport attribute,
Author: mstorsjo
Date: Tue Aug 21 13:41:17 2018
New Revision: 340334
URL: http://llvm.org/viewvc/llvm-project?rev=340334&view=rev
Log:
[CodeGen] Implicitly set stackrealign on the main function, if custom stack
alignment is used
If using a custom stack alignment, one is expected to make sure
tha
Author: mstorsjo
Date: Tue Aug 14 10:33:10 2018
New Revision: 339697
URL: http://llvm.org/viewvc/llvm-project?rev=339697&view=rev
Log:
[CMake] Fix the LIBCXX_STATICALLY_LINK_ABI_IN_SHARED_LIBRARY option
This option should be available if LIBCXX_ENABLE_SHARED is enabled,
not LIBCXX_ENABLE_STATIC.
Author: mstorsjo
Date: Mon Aug 13 23:13:36 2018
New Revision: 339642
URL: http://llvm.org/viewvc/llvm-project?rev=339642&view=rev
Log:
[cmake] Add MINGW_LIBRARIES to the linker flags
This is essential when building with -nodefaultlibs.
In some CMake versions (noticed in 3.5.1), the same librarie
Author: mstorsjo
Date: Sat Aug 11 12:36:06 2018
New Revision: 339503
URL: http://llvm.org/viewvc/llvm-project?rev=339503&view=rev
Log:
Add missing _LIBCXXABI_FUNC_VIS to __gxx_personality_seh0
This was missed in SVN r337754.
Modified:
libcxxabi/trunk/src/cxa_personality.cpp
Modified: libcxx
Author: mstorsjo
Date: Tue Aug 7 13:02:40 2018
New Revision: 339170
URL: http://llvm.org/viewvc/llvm-project?rev=339170&view=rev
Log:
[Headers] Expand _Unwind_Exception for SEH on MinGW/x86_64
This matches how GCC defines this struct.
Differential Revision: https://reviews.llvm.org/D50380
Modi
Author: mstorsjo
Date: Mon Aug 6 12:48:44 2018
New Revision: 339048
URL: http://llvm.org/viewvc/llvm-project?rev=339048&view=rev
Log:
[MinGW] Predefine UNICODE if -municode is specified during compilation
Differential Revision: https://reviews.llvm.org/D50199
Modified:
cfe/trunk/lib/Driver/
Author: mstorsjo
Date: Thu Aug 2 22:51:31 2018
New Revision: 338819
URL: http://llvm.org/viewvc/llvm-project?rev=338819&view=rev
Log:
[CMake] Allow building standalone without any llvm-config available
This is the same as libcxxabi/libcxx do.
Differential Revision: https://reviews.llvm.org/D501
Author: mstorsjo
Date: Thu Aug 2 11:12:08 2018
New Revision: 338749
URL: http://llvm.org/viewvc/llvm-project?rev=338749&view=rev
Log:
Work around more GCC miscompiles exposed by r338464.
This is the same fix as in r338478, for another occurrance of the
same pattern from r338464.
See gcc.gnu.org
Author: mstorsjo
Date: Wed Jul 25 11:24:23 2018
New Revision: 337946
URL: http://llvm.org/viewvc/llvm-project?rev=337946&view=rev
Log:
[windows] Fix warning about comparing ints of different signs
This fixes a warning like this:
warning: comparison of integers of different signs:
'std::__1
Author: mstorsjo
Date: Mon Jul 23 15:09:23 2018
New Revision: 337754
URL: http://llvm.org/viewvc/llvm-project?rev=337754&view=rev
Log:
Implement a GCC compatible SEH unwinding personality, __gxx_personality_seh0
This allows handling SEH based exceptions, with unwind functions
provided by libgcc.
Author: mstorsjo
Date: Tue Jul 17 23:15:09 2018
New Revision: 337352
URL: http://llvm.org/viewvc/llvm-project?rev=337352&view=rev
Log:
[AArch64] Define TARGET_HEADER_BUILTIN
Without it, the new intrinsics became available for all language
variants. This was missed in SVN r337327.
Modified:
c
Author: mstorsjo
Date: Sun Jul 15 22:42:25 2018
New Revision: 337146
URL: http://llvm.org/viewvc/llvm-project?rev=337146&view=rev
Log:
[MinGW] Automatically mangle Windows-specific entry points as C
This mangles entry points wmain, WinMain, wWinMain or DllMain as C
functions, to match the ABI for
Author: mstorsjo
Date: Tue Jul 10 03:46:51 2018
New Revision: 336655
URL: http://llvm.org/viewvc/llvm-project?rev=336655&view=rev
Log:
[MinGW] Skip adding default win32 api libraries if -lwindowsapp is specified
In this setup, skip adding all the default windows import libraries,
if linking to wi
Author: mstorsjo
Date: Tue Jul 10 03:46:45 2018
New Revision: 336654
URL: http://llvm.org/viewvc/llvm-project?rev=336654&view=rev
Log:
[MinGW] Treat any -lucrt* as replacing -lmsvcrt
Since SVN r314138, we check if the user has specified any particular
alternative msvcrt/ucrt version, and skip the
Author: mstorsjo
Date: Wed Jun 20 14:03:34 2018
New Revision: 335172
URL: http://llvm.org/viewvc/llvm-project?rev=335172&view=rev
Log:
[CMake] Convert paths to the right form in standalone builds on Windows
The paths output from llvm-config --cmakedir and from clang
--print-libgcc-file-name can c
Author: mstorsjo
Date: Wed Jun 20 13:59:18 2018
New Revision: 335171
URL: http://llvm.org/viewvc/llvm-project?rev=335171&view=rev
Log:
[CMake] Convert paths to the right form in standalone builds on Windows
The paths output from llvm-config --cmakedir and from clang
--print-libgcc-file-name can c
Author: mstorsjo
Date: Wed Jun 20 13:53:19 2018
New Revision: 335169
URL: http://llvm.org/viewvc/llvm-project?rev=335169&view=rev
Log:
[CMake] Convert paths to the right form in standalone builds on Windows
The paths output from llvm-config --cmakedir and from clang
--print-libgcc-file-name can c
Author: mstorsjo
Date: Fri Jun 1 02:40:50 2018
New Revision: 333734
URL: http://llvm.org/viewvc/llvm-project?rev=333734&view=rev
Log:
[X86] Remove leftover semicolons at end of macros
This was missed in a few places in SVN r333613, causing compilation
errors if these macros are used e.g. as para
Author: mstorsjo
Date: Wed May 9 02:11:01 2018
New Revision: 331858
URL: http://llvm.org/viewvc/llvm-project?rev=331858&view=rev
Log:
Revert "[Driver] Use -fuse-line-directives by default in MSVC mode"
This reverts commit SVN r331666.
It was afterwards pointed out in https://reviews.llvm.org/D4
Author: mstorsjo
Date: Tue May 8 13:55:23 2018
New Revision: 331807
URL: http://llvm.org/viewvc/llvm-project?rev=331807&view=rev
Log:
[Driver] Don't add -dwarf-column-info when using -gcodeview on non-msvc targets
-dwarf-column-info is omitted if -gcodeview is specified for msvc
targets at the m
Author: mstorsjo
Date: Mon May 7 13:26:09 2018
New Revision: 331666
URL: http://llvm.org/viewvc/llvm-project?rev=331666&view=rev
Log:
[Driver] Use -fuse-line-directives by default in MSVC mode
Don't use the GNU extension form of line markers in MSVC mode.
Differential Revision: https://reviews.
Author: mstorsjo
Date: Thu May 3 23:05:58 2018
New Revision: 331504
URL: http://llvm.org/viewvc/llvm-project?rev=331504&view=rev
Log:
[Driver] Don't warn about unused inputs in config files
This avoids warnings about unused linker parameters, just like
other flags are ignored if they're from con
Author: mstorsjo
Date: Wed Apr 25 14:24:04 2018
New Revision: 330872
URL: http://llvm.org/viewvc/llvm-project?rev=330872&view=rev
Log:
[test] Add a testcase for MinGW sysroot detections from SVN r330244. NFC.
Differential Revision: https://reviews.llvm.org/D45985
Added:
cfe/trunk/test/Driver
Author: mstorsjo
Date: Wed Apr 25 14:23:59 2018
New Revision: 330871
URL: http://llvm.org/viewvc/llvm-project?rev=330871&view=rev
Log:
[Driver] Fix implicit config files from prefixed symlinks
If -no-canonical-prefixes isn't used, the clang executable name used
is the one of the actual executable
Author: mstorsjo
Date: Tue Apr 24 04:57:02 2018
New Revision: 330710
URL: http://llvm.org/viewvc/llvm-project?rev=330710&view=rev
Log:
[GCC] Don't keep a StringRef to a temporary std::string
This fixes failures in asan builds and possibly other buildbots
as well, after SVN r330696.
Prior to that
Author: mstorsjo
Date: Tue Apr 24 01:50:11 2018
New Revision: 330696
URL: http://llvm.org/viewvc/llvm-project?rev=330696&view=rev
Log:
[GCC] Match a GCC version with a patch suffix without a third version component
Previously it would only accept a string as a GCC version if it had
either two com
Author: mstorsjo
Date: Tue Apr 24 01:49:57 2018
New Revision: 330695
URL: http://llvm.org/viewvc/llvm-project?rev=330695&view=rev
Log:
[test] Fix a typo in a test directory name. NFC.
Added:
cfe/trunk/test/Driver/Inputs/mingw_ubuntu_tree/usr/include/c++/4.8/x86_64-w64-mingw32/
cfe/trunk
Author: mstorsjo
Date: Wed Apr 18 10:34:29 2018
New Revision: 330277
URL: http://llvm.org/viewvc/llvm-project?rev=330277&view=rev
Log:
[MinGW] Try to fix asan testing after r330244
Twines shouldn't be stored as they can refer to temporaries.
Modified:
cfe/trunk/lib/Driver/ToolChains/MinGW.cp
Author: mstorsjo
Date: Wed Apr 18 01:47:26 2018
New Revision: 330244
URL: http://llvm.org/viewvc/llvm-project?rev=330244&view=rev
Log:
[MinGW] Look for a cross sysroot relative to the clang binary
If found, prefer this over looking for a similar gcc later in the
system path.
Differential Revisio
Author: mstorsjo
Date: Thu Apr 12 13:07:38 2018
New Revision: 329946
URL: http://llvm.org/viewvc/llvm-project?rev=329946&view=rev
Log:
[MinGW] Look for libc++ headers in a triplet prefixed path as well
This makes it consistent with libstdc++ and the other default
include directories.
If these he
Author: mstorsjo
Date: Thu Mar 1 12:22:57 2018
New Revision: 326476
URL: http://llvm.org/viewvc/llvm-project?rev=326476&view=rev
Log:
[RecordLayout] Only assert that fundamental type sizes are power of two on MSVC
Make types with sizes that aren't a power of two an error (that can
be disabled) i
Author: mstorsjo
Date: Tue Feb 27 11:42:19 2018
New Revision: 326235
URL: http://llvm.org/viewvc/llvm-project?rev=326235&view=rev
Log:
[MinGW, CrossWindows] Allow passing -static together with -shared
In these combinations, link a DLL as usual, but pass -Bstatic instead
of -Bdynamic to indicate p
Author: mstorsjo
Date: Tue Feb 27 00:35:35 2018
New Revision: 326180
URL: http://llvm.org/viewvc/llvm-project?rev=326180&view=rev
Log:
[test] Extend the Driver/mingw-msvcrt.c test with a -SAME check. NFC.
Modified:
cfe/trunk/test/Driver/mingw-msvcrt.c
Modified: cfe/trunk/test/Driver/mingw-ms
Author: mstorsjo
Date: Mon Feb 26 22:27:06 2018
New Revision: 326173
URL: http://llvm.org/viewvc/llvm-project?rev=326173&view=rev
Log:
[RecordLayout] Don't align to non-power-of-2 sizes when using -mms-bitfields
When targeting GNU/MinGW for i386, the size of the "long double" data
type is 12 byte
Author: mstorsjo
Date: Thu Feb 1 22:22:35 2018
New Revision: 324059
URL: http://llvm.org/viewvc/llvm-project?rev=324059&view=rev
Log:
[MinGW] Emit typeinfo locally for dllimported classes without key functions
This fixes building Qt as shared libraries with clang in MinGW
mode; previously subcla
Author: mstorsjo
Date: Thu Jan 25 22:50:07 2018
New Revision: 323499
URL: http://llvm.org/viewvc/llvm-project?rev=323499&view=rev
Log:
Don't enable _LIBUNWIND_BUILD_ZERO_COST_APIS if building the SJLJ APIs
Otherwise, a shared library build with SJLJ APIs enabled would
end up with duplicate symbol
Author: mstorsjo
Date: Tue Jan 16 12:54:10 2018
New Revision: 322596
URL: http://llvm.org/viewvc/llvm-project?rev=322596&view=rev
Log:
[PPC64] Added vector registers.
The Registers_ppc64 class needed a couple of changes, both to accommodate the
new registers as well as to handle the overlaps of V
Author: mstorsjo
Date: Fri Jan 5 12:48:29 2018
New Revision: 321896
URL: http://llvm.org/viewvc/llvm-project?rev=321896&view=rev
Log:
[cmake] Add a config option LIBCXX_HAS_WIN32_THREAD_API for enforcing win32
threads
This allows keeping libcxx using win32 threads even if a
version of pthread.h
Author: mstorsjo
Date: Tue Jan 2 14:11:30 2018
New Revision: 321680
URL: http://llvm.org/viewvc/llvm-project?rev=321680&view=rev
Log:
Reland [PPC64] Port to ppc64le - initial version
Initial working version of libunwind for PowerPC 64. Tested on
little-endian ppc64 host only.
Based on the existi
Author: mstorsjo
Date: Tue Jan 2 14:11:22 2018
New Revision: 321679
URL: http://llvm.org/viewvc/llvm-project?rev=321679&view=rev
Log:
Don't use a strict larger-than comparison in the check_fit/does_fit static
assert
For builds that only target one architecture, this was required to
be an exact
Author: mstorsjo
Date: Tue Jan 2 12:10:54 2018
New Revision: 321667
URL: http://llvm.org/viewvc/llvm-project?rev=321667&view=rev
Log:
[PPC64] Port to ppc64le - initial version
Initial working version of libunwind for PowerPC 64. Tested on
little-endian ppc64 host only.
Based on the existing Powe
Author: mstorsjo
Date: Wed Nov 29 00:20:57 2017
New Revision: 319299
URL: http://llvm.org/viewvc/llvm-project?rev=319299&view=rev
Log:
[CMake] Use the variable from the right project in install-unwind
Modified:
libunwind/trunk/src/CMakeLists.txt
Modified: libunwind/trunk/src/CMakeLists.txt
U
Author: mstorsjo
Date: Wed Nov 29 00:21:12 2017
New Revision: 319300
URL: http://llvm.org/viewvc/llvm-project?rev=319300&view=rev
Log:
Support building libunwind as a DLL
Differential Revision: https://reviews.llvm.org/D40483
Modified:
libunwind/trunk/CMakeLists.txt
libunwind/trunk/src/c
Author: mstorsjo
Date: Mon Nov 27 21:47:24 2017
New Revision: 319145
URL: http://llvm.org/viewvc/llvm-project?rev=319145&view=rev
Log:
[test] Fix a typo in a test comment. NFC.
Modified:
cfe/trunk/test/CodeGenCXX/dllexport.cpp
Modified: cfe/trunk/test/CodeGenCXX/dllexport.cpp
URL:
http://ll
Author: mstorsjo
Date: Thu Nov 23 02:38:18 2017
New Revision: 318902
URL: http://llvm.org/viewvc/llvm-project?rev=318902&view=rev
Log:
Allow to set locale on Windows.
Fix the problem PR31516 with setting locale on Windows by wrapping
_locale_t with a pointer-like class.
Reduces 74 test failures
Author: mstorsjo
Date: Tue Nov 21 14:41:15 2017
New Revision: 318810
URL: http://llvm.org/viewvc/llvm-project?rev=318810&view=rev
Log:
Remove a broken win32 locale function redirection
One can't replace vsscanf(_l) with a sscanf(_l) that doesn't
take a va_list.
This has been untouched since it w
Author: mstorsjo
Date: Fri Nov 17 00:06:49 2017
New Revision: 318511
URL: http://llvm.org/viewvc/llvm-project?rev=318511&view=rev
Log:
[MinGW] Define __ARM_DWARF_EH__ for MinGW/ARM
Since SVN r318510, the MinGW/ARM configuration defaults to
dwarf exception handling.
Differential Revision: https:/
Author: mstorsjo
Date: Thu Nov 16 11:36:48 2017
New Revision: 318446
URL: http://llvm.org/viewvc/llvm-project?rev=318446&view=rev
Log:
Remove a FIXME about truncated section names
If the linker chose to store the full section name instead of truncating
it, this field doesn't contain a truncated n
Author: mstorsjo
Date: Wed Nov 15 23:16:36 2017
New Revision: 318383
URL: http://llvm.org/viewvc/llvm-project?rev=318383&view=rev
Log:
[docs] Mention that dwarf unwinding should be supported on arm64/windows
This didn't require any further changes to libunwind as long as win64
in general is handl
Author: mstorsjo
Date: Mon Nov 6 12:33:13 2017
New Revision: 317504
URL: http://llvm.org/viewvc/llvm-project?rev=317504&view=rev
Log:
[X86] Add 3dnow and 3dnowa to the list of valid target features
These were missed in SVN r316783, which broke compiling mingw-w64 CRT.
Differential Revision: htt
Author: mstorsjo
Date: Sat Nov 4 14:01:31 2017
New Revision: 317423
URL: http://llvm.org/viewvc/llvm-project?rev=317423&view=rev
Log:
Add ifdefs around ELF specific parts of UnwindRegisters*.S for arm
This allows using dwarf exceptions on MinGW/ARM.
Differential Revision: https://reviews.llvm.o
Author: mstorsjo
Date: Thu Nov 2 01:16:16 2017
New Revision: 317192
URL: http://llvm.org/viewvc/llvm-project?rev=317192&view=rev
Log:
Fix building for ARM with dwarf exception handling
The previous definition of _LIBUNWIND_HIGHEST_DWARF_REGISTER seems
to be a copy of the ARM64 value (introduced
Author: mstorsjo
Date: Mon Oct 30 12:06:34 2017
New Revision: 316942
URL: http://llvm.org/viewvc/llvm-project?rev=316942&view=rev
Log:
Change unw_word_t to always have the same size as the pointer size
This matches the original libunwind API. This also unifies the
type between ARM EHABI and the o
Author: mstorsjo
Date: Sat Oct 28 13:19:49 2017
New Revision: 316843
URL: http://llvm.org/viewvc/llvm-project?rev=316843&view=rev
Log:
Restore arch specific lastDwarfRegNum in builds without
_LIBUNWIND_IS_NATIVE_ONLY
This restores the previous behaviour of the Registers_* classes
after SVN r3167
1 - 100 of 140 matches
Mail list logo