[llvm-branch-commits] [cfe-branch] r311359 - Update Clang 5.0 release notes for ms_abi and __builtin_ms_va_list for aarch64

2017-08-21 Thread Martin Storsjo via llvm-branch-commits
Author: mstorsjo
Date: Mon Aug 21 11:45:39 2017
New Revision: 311359

URL: http://llvm.org/viewvc/llvm-project?rev=311359&view=rev
Log:
Update Clang 5.0 release notes for ms_abi and __builtin_ms_va_list for aarch64

Differential Revision: https://reviews.llvm.org/D36931

Modified:
cfe/branches/release_50/docs/ReleaseNotes.rst

Modified: cfe/branches/release_50/docs/ReleaseNotes.rst
URL: 
http://llvm.org/viewvc/llvm-project/cfe/branches/release_50/docs/ReleaseNotes.rst?rev=311359&r1=311358&r2=311359&view=diff
==
--- cfe/branches/release_50/docs/ReleaseNotes.rst (original)
+++ cfe/branches/release_50/docs/ReleaseNotes.rst Mon Aug 21 11:45:39 2017
@@ -104,6 +104,8 @@ Attribute Changes in Clang
 -  The ``overloadable`` attribute now allows at most one function with a given
name to lack the ``overloadable`` attribute. This unmarked function will not
have its name mangled.
+-  The ```ms_abi`` attribute and the ``__builtin_ms_va_list`` types and 
builtins
+   are now supported on AArch64.
 
 Windows Support
 ---


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [lld] r321787 - [docs] Add preliminary release notes for LLD 6.0 for COFF

2018-01-18 Thread Martin Storsjo via llvm-branch-commits
Author: mstorsjo
Date: Wed Jan  3 23:42:11 2018
New Revision: 321787

URL: http://llvm.org/viewvc/llvm-project?rev=321787&view=rev
Log:
[docs] Add preliminary release notes for LLD 6.0 for COFF

Differential Revision: https://reviews.llvm.org/D41710

Modified:
lld/branches/release_60/docs/ReleaseNotes.rst

Modified: lld/branches/release_60/docs/ReleaseNotes.rst
URL: 
http://llvm.org/viewvc/llvm-project/lld/branches/release_60/docs/ReleaseNotes.rst?rev=321787&r1=321786&r2=321787&view=diff
==
--- lld/branches/release_60/docs/ReleaseNotes.rst (original)
+++ lld/branches/release_60/docs/ReleaseNotes.rst Wed Jan  3 23:42:11 2018
@@ -29,7 +29,13 @@ ELF Improvements
 COFF Improvements
 -
 
-* Item 1.
+* A GNU ld style frontend for the COFF linker has been added for MinGW.
+  In MinGW environments, the linker is invoked with GNU ld style parameters;
+  which LLD previously only supported when used as an ELF linker. When
+  a PE/COFF target is chosen, those parameters are rewritten into the
+  lld-link style parameters and the COFF linker is invoked instead.
+
+* Initial support for the ARM64 architecture has been added.
 
 MachO Improvements
 --


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [llvm-branch] r322059 - [docs] Mention SjLj fixes in the release notes

2018-01-18 Thread Martin Storsjo via llvm-branch-commits
Author: mstorsjo
Date: Mon Jan  8 23:09:28 2018
New Revision: 322059

URL: http://llvm.org/viewvc/llvm-project?rev=322059&view=rev
Log:
[docs] Mention SjLj fixes in the release notes

Enabling SjLj on x86 on platforms where it isn't used by default
was partially implemented before 6.0, but didn't actually fully
work until now.

Differential Revision: https://reviews.llvm.org/D41712

Modified:
llvm/branches/release_60/docs/ReleaseNotes.rst

Modified: llvm/branches/release_60/docs/ReleaseNotes.rst
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_60/docs/ReleaseNotes.rst?rev=322059&r1=322058&r2=322059&view=diff
==
--- llvm/branches/release_60/docs/ReleaseNotes.rst (original)
+++ llvm/branches/release_60/docs/ReleaseNotes.rst Mon Jan  8 23:09:28 2018
@@ -69,10 +69,13 @@ Non-comprehensive list of changes in thi
 Changes to the LLVM IR
 --
 
-Changes to the ARM Backend
---
+Changes to the ARM Target
+-
 
- During this release ...
+During this release the ARM target has:
+
+* Got support for enabling SjLj exception handling on platforms where it
+  isn't the default.
 
 
 Changes to the MIPS Target
@@ -89,7 +92,10 @@ Changes to the PowerPC Target
 Changes to the X86 Target
 -
 
- During this release ...
+During this release ...
+
+* Got support for enabling SjLj exception handling on platforms where it
+  isn't the default.
 
 Changes to the AMDGPU Target
 -


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [cfe-branch] r326317 - Fix a typo in the section about C++2a features; it follows C++17, not C++14

2018-02-28 Thread Martin Storsjo via llvm-branch-commits
Author: mstorsjo
Date: Wed Feb 28 03:55:11 2018
New Revision: 326317

URL: http://llvm.org/viewvc/llvm-project?rev=326317&view=rev
Log:
Fix a typo in the section about C++2a features; it follows C++17, not C++14

Modified:
cfe/branches/release_60/docs/ReleaseNotes.rst

Modified: cfe/branches/release_60/docs/ReleaseNotes.rst
URL: 
http://llvm.org/viewvc/llvm-project/cfe/branches/release_60/docs/ReleaseNotes.rst?rev=326317&r1=326316&r2=326317&view=diff
==
--- cfe/branches/release_60/docs/ReleaseNotes.rst (original)
+++ cfe/branches/release_60/docs/ReleaseNotes.rst Wed Feb 28 03:55:11 2018
@@ -174,7 +174,7 @@ C++ Language Changes in Clang
   conforming GNU extensions. Projects incompatible with C++14 can add
   ``-std=gnu++98`` to their build settings to restore the previous behaviour.
 
-- Added support for some features from the C++ standard after C++14
+- Added support for some features from the C++ standard after C++17
   (provisionally known as C++2a but expected to be C++20). This support can be
   enabled with the ``-std=c++2a`` flag. This enables:
 


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [lld] r332083 - Merging r327561,327567:

2018-05-10 Thread Martin Storsjo via llvm-branch-commits
Author: mstorsjo
Date: Thu May 10 23:52:19 2018
New Revision: 332083

URL: http://llvm.org/viewvc/llvm-project?rev=332083&view=rev
Log:
Merging r327561,327567:

r327561 | mstorsjo | 2018-03-14 22:17:16 +0200 (Wed, 14 Mar 2018) | 16 lines

[COFF] Add support for the GNU ld flag --kill-at

GNU ld has got a number of different flags for adjusting how to
behave around stdcall functions. The --kill-at flag strips the
trailing sdcall suffix from exported functions (which otherwise
is included by default in MinGW setups).

This also strips it from the corresponding import library though.
That makes it hard to link to such an import library from code
that calls the functions - but this matches what GNU ld does with
this flag. Therefore, this flag is probably not sensibly used
together with import libraries, but probably mostly when creating
some sort of plugin, or if creating the import library separately
with dlltool.

Differential Revision: https://reviews.llvm.org/D44292

r327567 | mstorsjo | 2018-03-14 22:31:31 +0200 (Wed, 14 Mar 2018) | 4 lines

[test] Fix a temp filename in a test from SVN r327561. NFC.

An earlier file name accidentally slipped through into the committed
version.


Modified:
lld/branches/release_60/COFF/Config.h
lld/branches/release_60/COFF/Driver.cpp
lld/branches/release_60/COFF/DriverUtils.cpp
lld/branches/release_60/COFF/Options.td
lld/branches/release_60/test/COFF/def-export-stdcall.s

Modified: lld/branches/release_60/COFF/Config.h
URL: 
http://llvm.org/viewvc/llvm-project/lld/branches/release_60/COFF/Config.h?rev=332083&r1=332082&r2=332083&view=diff
==
--- lld/branches/release_60/COFF/Config.h (original)
+++ lld/branches/release_60/COFF/Config.h Thu May 10 23:52:19 2018
@@ -175,6 +175,7 @@ struct Configuration {
   bool AppContainer = false;
   bool MinGW = false;
   bool WarnLocallyDefinedImported = true;
+  bool KillAt = false;
 };
 
 extern Configuration *Config;

Modified: lld/branches/release_60/COFF/Driver.cpp
URL: 
http://llvm.org/viewvc/llvm-project/lld/branches/release_60/COFF/Driver.cpp?rev=332083&r1=332082&r2=332083&view=diff
==
--- lld/branches/release_60/COFF/Driver.cpp (original)
+++ lld/branches/release_60/COFF/Driver.cpp Thu May 10 23:52:19 2018
@@ -970,6 +970,10 @@ void LinkerDriver::link(ArrayRefSaveTemps = true;
 
+  // Handle /kill-at
+  if (Args.hasArg(OPT_kill_at))
+Config->KillAt = true;
+
   // Handle /lldltocache
   if (auto *Arg = Args.getLastArg(OPT_lldltocache))
 Config->LTOCache = Arg->getValue();

Modified: lld/branches/release_60/COFF/DriverUtils.cpp
URL: 
http://llvm.org/viewvc/llvm-project/lld/branches/release_60/COFF/DriverUtils.cpp?rev=332083&r1=332082&r2=332083&view=diff
==
--- lld/branches/release_60/COFF/DriverUtils.cpp (original)
+++ lld/branches/release_60/COFF/DriverUtils.cpp Thu May 10 23:52:19 2018
@@ -561,6 +561,26 @@ static StringRef undecorate(StringRef Sy
   return Sym.startswith("_") ? Sym.substr(1) : Sym;
 }
 
+// Convert stdcall/fastcall style symbols into unsuffixed symbols,
+// with or without a leading underscore. (MinGW specific.)
+static StringRef killAt(StringRef Sym, bool Prefix) {
+  if (Sym.empty())
+return Sym;
+  // Strip any trailing stdcall suffix
+  Sym = Sym.substr(0, Sym.find('@', 1));
+  if (!Sym.startswith("@")) {
+if (Prefix && !Sym.startswith("_"))
+  return Saver.save("_" + Sym);
+return Sym;
+  }
+  // For fastcall, remove the leading @ and replace it with an
+  // underscore, if prefixes are used.
+  Sym = Sym.substr(1);
+  if (Prefix)
+Sym = Saver.save("_" + Sym);
+  return Sym;
+}
+
 // Performs error checking on all /export arguments.
 // It also sets ordinals.
 void fixupExports() {
@@ -593,6 +613,15 @@ void fixupExports() {
 }
   }
 
+  if (Config->KillAt && Config->Machine == I386) {
+for (Export &E : Config->Exports) {
+  E.Name = killAt(E.Name, true);
+  E.ExportName = killAt(E.ExportName, false);
+  E.ExtName = killAt(E.ExtName, true);
+  E.SymbolName = killAt(E.SymbolName, true);
+}
+  }
+
   // Uniquefy by name.
   DenseMap Map(Config->Exports.size());
   std::vector V;

Modified: lld/branches/release_60/COFF/Options.td
URL: 
http://llvm.org/viewvc/llvm-project/lld/branches/release_60/COFF/Options.td?rev=332083&r1=332082&r2=332083&view=diff
==
--- lld/branches/release_60/COFF/Options.td (original)
+++ lld/branches/release_60/COFF/Options.td Thu May 10 23:52:19 2018
@@ -121,6 +121,7 @@ def help_q : Flag<["/?", "-?"], "

[llvm-branch-commits] [lld] r332084 - Merging r327562:

2018-05-11 Thread Martin Storsjo via llvm-branch-commits
Author: mstorsjo
Date: Thu May 10 23:58:06 2018
New Revision: 332084

URL: http://llvm.org/viewvc/llvm-project?rev=332084&view=rev
Log:
Merging r327562:

r327562 | mstorsjo | 2018-03-14 22:17:24 +0200 (Wed, 14 Mar 2018) | 1 line

[MinGW] Add support for the GNU ld flag --kill-at


Modified:
lld/branches/release_60/   (props changed)
lld/branches/release_60/MinGW/Driver.cpp
lld/branches/release_60/MinGW/Options.td
lld/branches/release_60/test/MinGW/driver.test

Propchange: lld/branches/release_60/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Thu May 10 23:58:06 2018
@@ -1 +1 @@
-/lld/trunk:321983,321986,322041,322259,322264,322359,322421,322801,323155,323221,323243,323288,323395-323396,323399,323440,323449,323456,323625,323893,323895,324467-324468,325204,325679,325714
+/lld/trunk:321983,321986,322041,322259,322264,322359,322421,322801,323155,323221,323243,323288,323395-323396,323399,323440,323449,323456,323625,323893,323895,324467-324468,325204,325679,325714,327562

Modified: lld/branches/release_60/MinGW/Driver.cpp
URL: 
http://llvm.org/viewvc/llvm-project/lld/branches/release_60/MinGW/Driver.cpp?rev=332084&r1=332083&r2=332084&view=diff
==
--- lld/branches/release_60/MinGW/Driver.cpp (original)
+++ lld/branches/release_60/MinGW/Driver.cpp Thu May 10 23:58:06 2018
@@ -154,6 +154,8 @@ bool mingw::link(ArrayRef
 Add("-debug:dwarf");
   if (Args.hasArg(OPT_large_address_aware))
 Add("-largeaddressaware");
+  if (Args.hasArg(OPT_kill_at))
+Add("-kill-at");
 
   if (Args.getLastArgValue(OPT_m) != "thumb2pe" &&
   Args.getLastArgValue(OPT_m) != "arm64pe" && 
!Args.hasArg(OPT_dynamicbase))

Modified: lld/branches/release_60/MinGW/Options.td
URL: 
http://llvm.org/viewvc/llvm-project/lld/branches/release_60/MinGW/Options.td?rev=332084&r1=332083&r2=332084&view=diff
==
--- lld/branches/release_60/MinGW/Options.td (original)
+++ lld/branches/release_60/MinGW/Options.td Thu May 10 23:58:06 2018
@@ -14,6 +14,7 @@ def export_all_symbols: F<"export-all-sy
 def gc_sections: F<"gc-sections">, HelpText<"Remove unused sections">;
 def icf: J<"icf=">, HelpText<"Identical code folding">;
 def image_base: S<"image-base">, HelpText<"Base address of the program">;
+def kill_at: F<"kill-at">, HelpText<"Remove @n from exported symbols">;
 def l: JoinedOrSeparate<["-"], "l">, MetaVarName<"">,
   HelpText<"Root name of library to use">;
 def m: JoinedOrSeparate<["-"], "m">, HelpText<"Set target emulation">;

Modified: lld/branches/release_60/test/MinGW/driver.test
URL: 
http://llvm.org/viewvc/llvm-project/lld/branches/release_60/test/MinGW/driver.test?rev=332084&r1=332083&r2=332084&view=diff
==
--- lld/branches/release_60/test/MinGW/driver.test (original)
+++ lld/branches/release_60/test/MinGW/driver.test Thu May 10 23:58:06 2018
@@ -124,3 +124,7 @@ ICF-NONE: -opt:noicf
 RUN: ld.lld -### -m i386pep foo.o --icf=all | FileCheck -check-prefix ICF %s
 RUN: ld.lld -### -m i386pep foo.o -icf=all | FileCheck -check-prefix ICF %s
 ICF: -opt:icf
+
+RUN: ld.lld -### foo.o -m i386pe -shared --kill-at | FileCheck 
-check-prefix=KILL-AT %s
+RUN: ld.lld -### foo.o -m i386pe -shared -kill-at | FileCheck 
-check-prefix=KILL-AT %s
+KILL-AT: -kill-at


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [llvm-branch] r339646 - [ReleaseNotes] Mention various windows related changes in 7.0

2018-08-14 Thread Martin Storsjo via llvm-branch-commits
Author: mstorsjo
Date: Tue Aug 14 00:48:10 2018
New Revision: 339646

URL: http://llvm.org/viewvc/llvm-project?rev=339646&view=rev
Log:
[ReleaseNotes] Mention various windows related changes in 7.0


Modified:
llvm/branches/release_70/docs/ReleaseNotes.rst

Modified: llvm/branches/release_70/docs/ReleaseNotes.rst
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_70/docs/ReleaseNotes.rst?rev=339646&r1=339645&r2=339646&view=diff
==
--- llvm/branches/release_70/docs/ReleaseNotes.rst (original)
+++ llvm/branches/release_70/docs/ReleaseNotes.rst Tue Aug 14 00:48:10 2018
@@ -121,6 +121,16 @@ Non-comprehensive list of changes in thi
   not to be compliant, and higher optimization levels will still emit some
   information in v4 format.
 
+* Added support for the ``.rva`` assembler directive for COFF targets.
+
+* The :program:`llvm-rc` tool (Windows Resource Compiler) has been improved
+  a bit. There are still known missing features, but it is generally usable
+  in many cases. (The tool still doesn't preprocess input files automatically,
+  but it can now handle leftover C declarations in preprocessor output, if
+  given output from a preprocessor run externally.)
+
+* CodeView debug info can now be emitted MinGW configurations, if requested.
+
 * Note..
 
 .. NOTE
@@ -144,11 +154,23 @@ Changes to the LLVM IR
 
 * invariant.group metadata can now refer only empty metadata nodes.
 
-Changes to the ARM Backend
---
+Changes to the AArch64 Target
+-
 
- During this release ...
+* The ``.inst`` assembler directive is now usable on both COFF and Mach-O
+  targets, in addition to ELF.
 
+* Support for most remaining COFF relocations have been added.
+
+* Support for TLS on Windows has been added.
+
+Changes to the ARM Target
+-
+
+* The ``.inst`` assembler directive is now usable on both COFF and Mach-O
+  targets, in addition to ELF. For Thumb, it can now also automatically
+  deduce the instruction size, without having to specify it with
+  e.g. ``.inst.w`` as before.
 
 Changes to the MIPS Target
 --
@@ -184,7 +206,13 @@ During this release the SystemZ target h
 Changes to the X86 Target
 -
 
- During this release ...
+* The calling convention for the ``f80`` data type on MinGW targets has been
+  fixed. Normally, the calling convention for this type is handled within 
clang,
+  but if an intrinsic is used, which LLVM expands into a libcall, the
+  proper calling convention needs to be supported in LLVM as well. (Note,
+  on Windows, this data type is only used for long doubles in MinGW
+  environments - in MSVC environments, long doubles are the same size as
+  normal doubles.)
 
 Changes to the AMDGPU Target
 -


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [cfe-branch] r339647 - [ReleaseNotes] Mention one Windows specific change for 7.0

2018-08-14 Thread Martin Storsjo via llvm-branch-commits
Author: mstorsjo
Date: Tue Aug 14 00:52:21 2018
New Revision: 339647

URL: http://llvm.org/viewvc/llvm-project?rev=339647&view=rev
Log:
[ReleaseNotes] Mention one Windows specific change for 7.0

Modified:
cfe/branches/release_70/docs/ReleaseNotes.rst

Modified: cfe/branches/release_70/docs/ReleaseNotes.rst
URL: 
http://llvm.org/viewvc/llvm-project/cfe/branches/release_70/docs/ReleaseNotes.rst?rev=339647&r1=339646&r2=339647&view=diff
==
--- cfe/branches/release_70/docs/ReleaseNotes.rst (original)
+++ cfe/branches/release_70/docs/ReleaseNotes.rst Tue Aug 14 00:52:21 2018
@@ -186,6 +186,12 @@ Windows Support
  Visual Studio's default stdafx.h setup now uses precompiled headers with
  clang-cl.
 
+- The alternative entry point names
+  (``wmain``/``WinMain``/``wWinMain``/``DllMain``) now are properly mangled
+  as plain C names in C++ contexts when targeting MinGW, without having to
+  explicit specify ``extern "C"``. (This was already the case for MSVC
+  targets.)
+
 - ...
 
 


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [lld] r339648 - [ReleaseNotes] Mention noteworthy changes for 7.0

2018-08-14 Thread Martin Storsjo via llvm-branch-commits
Author: mstorsjo
Date: Tue Aug 14 00:53:15 2018
New Revision: 339648

URL: http://llvm.org/viewvc/llvm-project?rev=339648&view=rev
Log:
[ReleaseNotes] Mention noteworthy changes for 7.0

Modified:
lld/branches/release_70/docs/ReleaseNotes.rst

Modified: lld/branches/release_70/docs/ReleaseNotes.rst
URL: 
http://llvm.org/viewvc/llvm-project/lld/branches/release_70/docs/ReleaseNotes.rst?rev=339648&r1=339647&r2=339648&view=diff
==
--- lld/branches/release_70/docs/ReleaseNotes.rst (original)
+++ lld/branches/release_70/docs/ReleaseNotes.rst Tue Aug 14 00:53:15 2018
@@ -29,7 +29,13 @@ ELF Improvements
 COFF Improvements
 -
 
-* Item 1.
+* Improved correctness of exporting mangled stdcall symbols.
+
+* Completed support for ARM64 relocations.
+
+* Added support for outputting PDB debug info for MinGW targets.
+
+* Improved compatibility of output binaries with GNU binutils objcopy/strip.
 
 MachO Improvements
 --


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [lld] r341976 - Clarify the wording for the state of the lld/MinGW target

2018-09-11 Thread Martin Storsjo via llvm-branch-commits
Author: mstorsjo
Date: Tue Sep 11 11:34:33 2018
New Revision: 341976

URL: http://llvm.org/viewvc/llvm-project?rev=341976&view=rev
Log:
Clarify the wording for the state of the lld/MinGW target

Modified:
lld/branches/release_70/docs/ReleaseNotes.rst

Modified: lld/branches/release_70/docs/ReleaseNotes.rst
URL: 
http://llvm.org/viewvc/llvm-project/lld/branches/release_70/docs/ReleaseNotes.rst?rev=341976&r1=341975&r2=341976&view=diff
==
--- lld/branches/release_70/docs/ReleaseNotes.rst (original)
+++ lld/branches/release_70/docs/ReleaseNotes.rst Tue Sep 11 11:34:33 2018
@@ -17,8 +17,8 @@ lld 7 for ELF, COFF and MinGW are produc
 FreeBSD/AMD64 and will be the default linker of the next version of the
 operating system. lld/COFF is being used to build popular large programs such 
as
 the Chrome web browser. lld/MinGW is being used by Firefox for their MinGW
-builds, though it needs a special-built sysroot. Mach-O and WebAssembly 
supports
-are still experimental.
+builds. lld/MinGW still needs a sysroot specifically built for lld, with
+llvm-dlltool, though. Mach-O and WebAssembly supports are still experimental.
 
 Non-comprehensive list of changes in this release
 =


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [lld] r351868 - [docs] Amend the release notes with more things I've contributed since the last release

2019-01-22 Thread Martin Storsjo via llvm-branch-commits
Author: mstorsjo
Date: Tue Jan 22 12:32:43 2019
New Revision: 351868

URL: http://llvm.org/viewvc/llvm-project?rev=351868&view=rev
Log:
[docs] Amend the release notes with more things I've contributed since the last 
release

Differential Revision: https://reviews.llvm.org/D57005

Modified:
lld/branches/release_80/docs/ReleaseNotes.rst

Modified: lld/branches/release_80/docs/ReleaseNotes.rst
URL: 
http://llvm.org/viewvc/llvm-project/lld/branches/release_80/docs/ReleaseNotes.rst?rev=351868&r1=351867&r2=351868&view=diff
==
--- lld/branches/release_80/docs/ReleaseNotes.rst (original)
+++ lld/branches/release_80/docs/ReleaseNotes.rst Tue Jan 22 12:32:43 2019
@@ -66,6 +66,13 @@ MinGW Improvements
   linked in a different order than with GNU ld, inserting a DWARF exception
   table terminator too early.)
 
+* lld now supports COFF embedded directives for linking to nondefault
+  libraries, just like for the normal COFF target.
+
+* Actually generate a codeview build id signature, even if not creating a PDB.
+  Previously, the ``--build-id`` option did not actually generate a build id
+  unless ``--pdb`` was specified.
+
 MachO Improvements
 --
 


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [llvm-branch] r351870 - [docs] Add release notes for notable things I've contributed since last release

2019-01-22 Thread Martin Storsjo via llvm-branch-commits
Author: mstorsjo
Date: Tue Jan 22 12:36:23 2019
New Revision: 351870

URL: http://llvm.org/viewvc/llvm-project?rev=351870&view=rev
Log:
[docs] Add release notes for notable things I've contributed since last release

Differential Revision: https://reviews.llvm.org/D57003

Modified:
llvm/branches/release_80/docs/ReleaseNotes.rst

Modified: llvm/branches/release_80/docs/ReleaseNotes.rst
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_80/docs/ReleaseNotes.rst?rev=351870&r1=351869&r2=351870&view=diff
==
--- llvm/branches/release_80/docs/ReleaseNotes.rst (original)
+++ llvm/branches/release_80/docs/ReleaseNotes.rst Tue Jan 22 12:36:23 2019
@@ -48,6 +48,10 @@ Non-comprehensive list of changes in thi
   functionality.  See `Writing an LLVM Pass
   `_.
 
+* For MinGW, references to data variables that might need to be imported
+  from a dll are accessed via a stub, to allow the linker to convert it to
+  a dllimport if needed.
+
 .. NOTE
If you would like to document a larger change, then you can add a
subsection about it right here. You can copy the following boilerplate
@@ -62,6 +66,13 @@ Changes to the LLVM IR
 --
 
 
+Changes to the AArch64 Target
+-
+
+* Added support for the ``.arch_extension`` assembler directive, just like
+  on ARM.
+
+
 Changes to the ARM Backend
 --
 


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [cfe-branch] r351872 - [docs] Add release notes for notable things I've contributed since last release

2019-01-22 Thread Martin Storsjo via llvm-branch-commits
Author: mstorsjo
Date: Tue Jan 22 12:41:51 2019
New Revision: 351872

URL: http://llvm.org/viewvc/llvm-project?rev=351872&view=rev
Log:
[docs] Add release notes for notable things I've contributed since last release

Differential Revision: https://reviews.llvm.org/D57004

Modified:
cfe/branches/release_80/docs/ReleaseNotes.rst

Modified: cfe/branches/release_80/docs/ReleaseNotes.rst
URL: 
http://llvm.org/viewvc/llvm-project/cfe/branches/release_80/docs/ReleaseNotes.rst?rev=351872&r1=351871&r2=351872&view=diff
==
--- cfe/branches/release_80/docs/ReleaseNotes.rst (original)
+++ cfe/branches/release_80/docs/ReleaseNotes.rst Tue Jan 22 12:41:51 2019
@@ -136,6 +136,9 @@ New Compiler Flags
   instrumenting for gcov-based profiling.
   See the :doc:`UsersManual` for details.
 
+- When using a custom stack alignment, the ``stackrealign`` attribute is now
+  implicitly set on the main function.
+
 - ...
 
 Deprecated Compiler Flags
@@ -179,6 +182,15 @@ Windows Support
   `dllexport` and `dllimport` attributes not apply to inline member functions.
   This can significantly reduce compile and link times. See the `User's Manual
   `_ for more info.
+
+- For MinGW, ``-municode`` now correctly defines ``UNICODE`` during
+  preprocessing.
+
+- For MinGW, clang now produces vtables and RTTI for dllexported classes
+  without key functions. This fixes building Qt in debug mode.
+
+- Allow using Address Sanitizer and Undefined Behaviour Sanitizer on MinGW.
+
 - ...
 
 


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [lld] r353397 - [docs] Update the release notes for the backported feature with thunks for ARM64

2019-02-07 Thread Martin Storsjo via llvm-branch-commits
Author: mstorsjo
Date: Thu Feb  7 03:29:02 2019
New Revision: 353397

URL: http://llvm.org/viewvc/llvm-project?rev=353397&view=rev
Log:
[docs] Update the release notes for the backported feature with thunks for ARM64

Modified:
lld/branches/release_80/docs/ReleaseNotes.rst

Modified: lld/branches/release_80/docs/ReleaseNotes.rst
URL: 
http://llvm.org/viewvc/llvm-project/lld/branches/release_80/docs/ReleaseNotes.rst?rev=353397&r1=353396&r2=353397&view=diff
==
--- lld/branches/release_80/docs/ReleaseNotes.rst (original)
+++ lld/branches/release_80/docs/ReleaseNotes.rst Thu Feb  7 03:29:02 2019
@@ -61,7 +61,8 @@ COFF Improvements
 
 * lld now can link against import libraries produced by GNU tools.
 
-* lld can create thunks for ARM, to allow linking images over 16 MB.
+* lld can create thunks for ARM and ARM64, to allow linking larger images
+  (over 16 MB for ARM and over 128 MB for ARM64)
 
 * Several speed and memory usage improvements.
 


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [llvm-branch] r367609 - Update release notes for things I've done since the last release

2019-08-01 Thread Martin Storsjo via llvm-branch-commits
Author: mstorsjo
Date: Thu Aug  1 13:43:59 2019
New Revision: 367609

URL: http://llvm.org/viewvc/llvm-project?rev=367609&view=rev
Log:
Update release notes for things I've done since the last release

Modified:
llvm/branches/release_90/docs/ReleaseNotes.rst

Modified: llvm/branches/release_90/docs/ReleaseNotes.rst
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_90/docs/ReleaseNotes.rst?rev=367609&r1=367608&r2=367609&view=diff
==
--- llvm/branches/release_90/docs/ReleaseNotes.rst (original)
+++ llvm/branches/release_90/docs/ReleaseNotes.rst Thu Aug  1 13:43:59 2019
@@ -49,6 +49,9 @@ Non-comprehensive list of changes in thi
   ``EP_FullLinkTimeOptimizationLast`` are available for plugins to specialize
   the legacy pass manager full LTO pipeline.
 
+* **llvm-objcopy/llvm-strip** got support for COFF object files/executables,
+  supporting the most common copying/stripping options.
+
 .. NOTE
If you would like to document a larger change, then you can add a
subsection about it right here. You can copy the following boilerplate
@@ -127,7 +130,7 @@ Changes to the SystemZ Target
 Changes to the X86 Target
 -
 
- During this release ...
+* Fixed a bug in generating DWARF unwind information for 32 bit MinGW
 
 Changes to the AMDGPU Target
 -


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [cfe-branch] r367610 - Update release notes for things I've done since the last release

2019-08-01 Thread Martin Storsjo via llvm-branch-commits
Author: mstorsjo
Date: Thu Aug  1 13:44:45 2019
New Revision: 367610

URL: http://llvm.org/viewvc/llvm-project?rev=367610&view=rev
Log:
Update release notes for things I've done since the last release

Modified:
cfe/branches/release_90/docs/ReleaseNotes.rst

Modified: cfe/branches/release_90/docs/ReleaseNotes.rst
URL: 
http://llvm.org/viewvc/llvm-project/cfe/branches/release_90/docs/ReleaseNotes.rst?rev=367610&r1=367609&r2=367610&view=diff
==
--- cfe/branches/release_90/docs/ReleaseNotes.rst (original)
+++ cfe/branches/release_90/docs/ReleaseNotes.rst Thu Aug  1 13:44:45 2019
@@ -102,6 +102,12 @@ Windows Support
   ``clang-cl /diagnostic:caret /c test.cc`` for example now produces
   ``clang: error: no such file or directory: '/diagnostic:caret'; did you mean 
'/diagnostics:caret'?``
 
+- The ``-print-search-dirs`` option now separates elements with semicolons,
+  as is the norm for path lists on Windows
+
+- Improved handling of dllexport in conjunction with explicit template
+  instantiations for MinGW, to allow building a shared libc++ for MinGW
+  without ``--export-all-symbols`` to override the dllexport attributes
 
 
 C Language Changes in Clang


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [lld] r367611 - Update release notes for things I've done since the last release

2019-08-01 Thread Martin Storsjo via llvm-branch-commits
Author: mstorsjo
Date: Thu Aug  1 13:45:27 2019
New Revision: 367611

URL: http://llvm.org/viewvc/llvm-project?rev=367611&view=rev
Log:
Update release notes for things I've done since the last release

Modified:
lld/branches/release_90/docs/ReleaseNotes.rst

Modified: lld/branches/release_90/docs/ReleaseNotes.rst
URL: 
http://llvm.org/viewvc/llvm-project/lld/branches/release_90/docs/ReleaseNotes.rst?rev=367611&r1=367610&r2=367611&view=diff
==
--- lld/branches/release_90/docs/ReleaseNotes.rst (original)
+++ lld/branches/release_90/docs/ReleaseNotes.rst Thu Aug  1 13:45:27 2019
@@ -53,6 +53,14 @@ COFF Improvements
 
 * Several speed and memory usage improvements.
 
+* Range extension thunks are now created for ARM64, if needed
+
+* lld-link now supports resource object files created by GNU windres and
+  MS cvtres, not only llvm-cvtres
+
+* The generated thunks for delayimports now share the majority of code
+  among thunks, significantly reducing the overhead of using delayimport
+
 * ...
 
 MinGW Improvements
@@ -62,6 +70,17 @@ MinGW Improvements
   terminators for the sections such as .eh_frame properly, fixing
   DWARF exception handling with libgcc and gcc's crtend.o.
 
+* lld now also handles DWARF unwind info generated by GCC, when linking
+  with libgcc
+
+* Many more GNU ld options are now supported, which e.g. allows the lld
+  MinGW frontend to be called by GCC
+
+* PDB output can be requested without manually specifying the PDB file
+  name, with the new option ``-pdb=`` with an empty value to the option.
+  (The old existing syntax ``-pdb `` was more cumbersome to use
+  with an empty parameter value.)
+
 MachO Improvements
 --
 


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [lld] r371301 - Fix release notes for the MinGW frontend

2019-09-07 Thread Martin Storsjo via llvm-branch-commits
Author: mstorsjo
Date: Sat Sep  7 03:57:20 2019
New Revision: 371301

URL: http://llvm.org/viewvc/llvm-project?rev=371301&view=rev
Log:
Fix release notes for the MinGW frontend

No --wrap or --emit-relocs options have been added there (only in
the ELF linker).

Modified:
lld/branches/release_90/docs/ReleaseNotes.rst

Modified: lld/branches/release_90/docs/ReleaseNotes.rst
URL: 
http://llvm.org/viewvc/llvm-project/lld/branches/release_90/docs/ReleaseNotes.rst?rev=371301&r1=371300&r2=371301&view=diff
==
--- lld/branches/release_90/docs/ReleaseNotes.rst (original)
+++ lld/branches/release_90/docs/ReleaseNotes.rst Sat Sep  7 03:57:20 2019
@@ -228,4 +228,4 @@ MinGW Improvements
   MinGW frontend to be called by GCC.
 
 * The following options are added: ``--exclude-all-symbols``,
-  ``--appcontainer``, ``--emit-relocs``, ``--wrap``, ``--undefined``
+  ``--appcontainer``, ``--undefined``


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits