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: 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: 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: 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: 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: 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 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: 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: Mon Sep 25 12:24:45 2017
New Revision: 314138
URL: http://llvm.org/viewvc/llvm-project?rev=314138&view=rev
Log:
[MinGW] Don't link -lmsvcrt if a different msvcrt version is to be linked
Differential Revision: https://reviews.llvm.org/D37530
Added:
cfe/trunk/test/Driver
Author: mstorsjo
Date: Tue Sep 26 01:07:17 2017
New Revision: 314196
URL: http://llvm.org/viewvc/llvm-project?rev=314196&view=rev
Log:
Correct data types in the _Unwind_FunctionContext struct
This makes it match the definition used within llvm and in libgcc,
we previously got the wrong layout in
Author: mstorsjo
Date: Tue Sep 26 01:07:26 2017
New Revision: 314197
URL: http://llvm.org/viewvc/llvm-project?rev=314197&view=rev
Log:
Skip building unused parts when targeting SJLJ
When SJLJ exceptions are used, those functions aren't used.
This fixes build failures on ARM with SJLJ enabled (e.
Author: mstorsjo
Date: Thu Sep 28 23:09:09 2017
New Revision: 314492
URL: http://llvm.org/viewvc/llvm-project?rev=314492&view=rev
Log:
Skip building x86 parts of UnwindRegisters*.S when targeting SjLj
This extends SVN r314197 from the arm parts to the whole file.
Differential Revision: https://r
Author: mstorsjo
Date: Sun Oct 1 13:22:40 2017
New Revision: 314635
URL: http://llvm.org/viewvc/llvm-project?rev=314635&view=rev
Log:
SjLj: Fix building after SVN r314632
The code moved from Unwind_AppleExtras.cpp to Unwind-sjlj.c needed
a few minor modifications to build as C instead of C++.
M
Author: mstorsjo
Date: Mon Oct 2 11:14:06 2017
New Revision: 314695
URL: http://llvm.org/viewvc/llvm-project?rev=314695&view=rev
Log:
Fix building on macOS after SVN r314492
That commit incorrectly expanded the assumption that defined(__APPLE__)
implies SjLj exception handling, which only is tru
Author: mstorsjo
Date: Mon Oct 2 13:46:37 2017
New Revision: 314716
URL: http://llvm.org/viewvc/llvm-project?rev=314716&view=rev
Log:
Add CMake support for building for MinGW
This section is similar to what already exists in libcxx and libcxxabi.
Differential Revision: https://reviews.llvm.org/
Author: mstorsjo
Date: Fri Oct 6 12:14:07 2017
New Revision: 315090
URL: http://llvm.org/viewvc/llvm-project?rev=315090&view=rev
Log:
[docs] Mention that SjLj works on any OS on the archs where supported by the
compiler
Differential Revision: https://reviews.llvm.org/D38576
Modified:
libun
Author: mstorsjo
Date: Wed Oct 11 13:06:18 2017
New Revision: 315498
URL: http://llvm.org/viewvc/llvm-project?rev=315498&view=rev
Log:
Support DWARF unwinding on i386 windows
In practice, with code built with clang, there are still unresolved
issues with DW_CFA_GNU_args_size though.
Differential
Author: mstorsjo
Date: Thu Oct 12 00:05:37 2017
New Revision: 315567
URL: http://llvm.org/viewvc/llvm-project?rev=315567&view=rev
Log:
[COFF, ARM64] Add MS builtins __dmb, __dsb, __isb
Differential Revision: https://reviews.llvm.org/D38821
Added:
cfe/trunk/test/CodeGen/arm64-microsoft-intrin
Author: mstorsjo
Date: Thu Oct 19 00:40:45 2017
New Revision: 316149
URL: http://llvm.org/viewvc/llvm-project?rev=316149&view=rev
Log:
[Headers] Fix typoed __ARM_DWARF_EH__ ifdefs
These typos appeared in SVN r309226 and r309327.
Modified:
cfe/trunk/lib/Headers/unwind.h
Modified: cfe/trunk/l
Author: mstorsjo
Date: Sun Oct 22 12:39:26 2017
New Revision: 316300
URL: http://llvm.org/viewvc/llvm-project?rev=316300&view=rev
Log:
Make HIDDEN_DIRECTIVE a function-like macro. NFCI.
This avoids a hack for making it a no-op for windows.
Also explicitly check for _WIN32 instead of assuming it.
Author: mstorsjo
Date: Mon Oct 23 12:29:36 2017
New Revision: 316364
URL: http://llvm.org/viewvc/llvm-project?rev=316364&view=rev
Log:
Abstract rwlocks into a class, provide a SRW lock implementation for windows
This requires _WIN32_WINNT >= 0x0600.
If someone wants to spend effort on supporting
Author: mstorsjo
Date: Tue Oct 24 00:16:40 2017
New Revision: 316415
URL: http://llvm.org/viewvc/llvm-project?rev=316415&view=rev
Log:
Add missing checks for register number
Most other cases that touch savedRegisters[reg] have got this check,
but these three seemed to lack it.
Differential Revis
Author: mstorsjo
Date: Wed Oct 25 01:07:19 2017
New Revision: 316559
URL: http://llvm.org/viewvc/llvm-project?rev=316559&view=rev
Log:
Fix the context/cursor size for ARM with WMMX enabled
This was missed in SVN r274744 when the WMMX part was made optional;
when made optional, some struct fields
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: 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: 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: 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: 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: 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: 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: 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 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: 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: 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: 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: 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: 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: 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 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: 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 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 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: 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: 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: 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: 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: 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 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 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: 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: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: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 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 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: 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: 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: 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: 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: 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: 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: 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 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 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: Thu Aug 31 01:29:59 2017
New Revision: 312224
URL: http://llvm.org/viewvc/llvm-project?rev=312224&view=rev
Log:
[ItaniumCXXABI] Always use linkonce_odr linkage for RTTI data on MinGW
This fixes cases where dynamic classes produced RTTI data with
external linkage, producing
Author: mstorsjo
Date: Thu Aug 31 02:46:27 2017
New Revision: 312229
URL: http://llvm.org/viewvc/llvm-project?rev=312229&view=rev
Log:
Revert r312224: "[ItaniumCXXABI] Always use linkonce_odr linkage for RTTI data
on MinGW"
Breaks on buildbot:
http://lab.llvm.org:8011/builders/llvm-clang-x86_64-
Author: mstorsjo
Date: Thu Aug 31 23:41:55 2017
New Revision: 312306
URL: http://llvm.org/viewvc/llvm-project?rev=312306&view=rev
Log:
Reland r312224 - [ItaniumCXXABI] Always use linkonce_odr linkage for RTTI data
on MinGW
This fixes cases where dynamic classes produced RTTI data with
external l
Author: mstorsjo
Date: Mon Sep 4 12:46:53 2017
New Revision: 312498
URL: http://llvm.org/viewvc/llvm-project?rev=312498&view=rev
Log:
Add MINGW_LIBRARIES to the linker flags
This is essential when building with -nodefaultlibs.
This is similar to what already is done in libcxxabi in SVN r302760.
Author: mstorsjo
Date: Tue Sep 5 22:07:25 2017
New Revision: 312617
URL: http://llvm.org/viewvc/llvm-project?rev=312617&view=rev
Log:
Redirect strftime_l to the locale-ignorant strftime on mingw
_strftime_l is only available in the numbered msvcrt versions
(starting from msvcr80.dll). In the def
Author: mstorsjo
Date: Tue Sep 12 13:54:15 2017
New Revision: 313072
URL: http://llvm.org/viewvc/llvm-project?rev=313072&view=rev
Log:
Handle object files named *.obj in merge_archives.py
Differential Revision: https://reviews.llvm.org/D37133
Modified:
libcxx/trunk/utils/merge_archives.py
M
Author: mstorsjo
Date: Tue Sep 12 23:55:44 2017
New Revision: 313122
URL: http://llvm.org/viewvc/llvm-project?rev=313122&view=rev
Log:
Use CMAKE_AR instead of the system default 'ar' for merging static libraries
Using the system default 'ar' might not be the right choice when
cross compiling.
Do
Author: mstorsjo
Date: Thu Sep 14 00:04:59 2017
New Revision: 313232
URL: http://llvm.org/viewvc/llvm-project?rev=313232&view=rev
Log:
[Headers] Fix the return type of _InterlockedCompareExchange_rel
This was a typo in SVN r282447, where it was added.
Modified:
cfe/trunk/lib/Headers/intrin.h
Author: mstorsjo
Date: Sat Sep 16 13:52:05 2017
New Revision: 313470
URL: http://llvm.org/viewvc/llvm-project?rev=313470&view=rev
Log:
Fix a typo in the documentation. NFC.
Modified:
libunwind/trunk/docs/index.rst
Modified: libunwind/trunk/docs/index.rst
URL:
http://llvm.org/viewvc/llvm-pro
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: 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 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: 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: 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: 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 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: 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: 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: 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: 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: 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: 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
1 - 100 of 140 matches
Mail list logo