[llvm-branch-commits] [llvm-branch] r340724 - Merging r340691:

2018-08-27 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Mon Aug 27 01:41:29 2018
New Revision: 340724

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

r340691 | codafi | 2018-08-25 21:54:39 +0200 (Sat, 25 Aug 2018) | 11 lines

[C-API][DIBuilder] Use NameLen in LLVMDIBuilderCreateParameterVariable

Summary: NameLen wasn't being used and caused the parameters in gdb to very 
long, in my case, crashes in others. Please also perform the correct magical 
incarnations to have this be applied to the LLVM 7 branch.

Reviewers: whitequark, CodaFi

Reviewed By: CodaFi

Subscribers: llvm-commits

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


Modified:
llvm/branches/release_70/   (props changed)
llvm/branches/release_70/lib/IR/DebugInfo.cpp

Propchange: llvm/branches/release_70/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Mon Aug 27 01:41:29 2018
@@ -1,3 +1,3 @@
 /llvm/branches/Apple/Pertwee:110850,110961
 /llvm/branches/type-system-rewrite:133420-134817
-/llvm/trunk:155241,338552,338554,338569,338599,338610,338658,338665,338682,338703,338709,338716,338751,338762,338817,338841,338902,338915,338968,339073,339091,339166,339179,339184,339190,339225,339316,339319,339411,339492,339515,339533,339535-339536,339600,339636,339674,339769,339822,339883,339895-339896,339945,340158,340303
+/llvm/trunk:155241,338552,338554,338569,338599,338610,338658,338665,338682,338703,338709,338716,338751,338762,338817,338841,338902,338915,338968,339073,339091,339166,339179,339184,339190,339225,339316,339319,339411,339492,339515,339533,339535-339536,339600,339636,339674,339769,339822,339883,339895-339896,339945,340158,340303,340691

Modified: llvm/branches/release_70/lib/IR/DebugInfo.cpp
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_70/lib/IR/DebugInfo.cpp?rev=340724&r1=340723&r2=340724&view=diff
==
--- llvm/branches/release_70/lib/IR/DebugInfo.cpp (original)
+++ llvm/branches/release_70/lib/IR/DebugInfo.cpp Mon Aug 27 01:41:29 2018
@@ -1329,7 +1329,7 @@ LLVMMetadataRef LLVMDIBuilderCreateParam
 size_t NameLen, unsigned ArgNo, LLVMMetadataRef File, unsigned LineNo,
 LLVMMetadataRef Ty, LLVMBool AlwaysPreserve, LLVMDIFlags Flags) {
   return wrap(unwrap(Builder)->createParameterVariable(
-  unwrap(Scope), Name, ArgNo, unwrap(File),
+  unwrap(Scope), {Name, NameLen}, ArgNo, 
unwrap(File),
   LineNo, unwrap(Ty), AlwaysPreserve,
   map_from_llvmDIFlags(Flags)));
 }


___
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] [compiler-rt-tag] r340673 - Creating branches/google/stable and tags/google/stable/2018-08-24 from r340178

2018-08-27 Thread Jordan Rupprecht via llvm-branch-commits
Author: rupprecht
Date: Fri Aug 24 16:45:38 2018
New Revision: 340673

URL: http://llvm.org/viewvc/llvm-project?rev=340673&view=rev
Log:
Creating branches/google/stable and tags/google/stable/2018-08-24 from r340178

Added:
compiler-rt/tags/google/stable/2018-08-24/
  - copied from r340178, compiler-rt/trunk/

___
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] r340673 - Creating branches/google/stable and tags/google/stable/2018-08-24 from r340178

2018-08-27 Thread Jordan Rupprecht via llvm-branch-commits
Author: rupprecht
Date: Fri Aug 24 16:45:38 2018
New Revision: 340673

URL: http://llvm.org/viewvc/llvm-project?rev=340673&view=rev
Log:
Creating branches/google/stable and tags/google/stable/2018-08-24 from r340178

Added:
llvm/branches/google/stable/
  - copied from r340178, llvm/trunk/

___
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] r340673 - Creating branches/google/stable and tags/google/stable/2018-08-24 from r340178

2018-08-27 Thread Jordan Rupprecht via llvm-branch-commits
Author: rupprecht
Date: Fri Aug 24 16:45:38 2018
New Revision: 340673

URL: http://llvm.org/viewvc/llvm-project?rev=340673&view=rev
Log:
Creating branches/google/stable and tags/google/stable/2018-08-24 from r340178

Added:
cfe/branches/google/stable/
  - copied from r340178, cfe/trunk/

___
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] [polly] r340673 - Creating branches/google/stable and tags/google/stable/2018-08-24 from r340178

2018-08-27 Thread Jordan Rupprecht via llvm-branch-commits
Author: rupprecht
Date: Fri Aug 24 16:45:38 2018
New Revision: 340673

URL: http://llvm.org/viewvc/llvm-project?rev=340673&view=rev
Log:
Creating branches/google/stable and tags/google/stable/2018-08-24 from r340178

Added:
polly/branches/google/stable/
  - copied from r340178, polly/trunk/
polly/tags/google/stable/2018-08-24/
  - copied from r340178, polly/trunk/

___
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] [clang-tools-extra-tag] r340673 - Creating branches/google/stable and tags/google/stable/2018-08-24 from r340178

2018-08-27 Thread Jordan Rupprecht via llvm-branch-commits
Author: rupprecht
Date: Fri Aug 24 16:45:38 2018
New Revision: 340673

URL: http://llvm.org/viewvc/llvm-project?rev=340673&view=rev
Log:
Creating branches/google/stable and tags/google/stable/2018-08-24 from r340178

Added:
clang-tools-extra/tags/google/stable/2018-08-24/
  - copied from r340178, clang-tools-extra/trunk/

___
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-tag] r340673 - Creating branches/google/stable and tags/google/stable/2018-08-24 from r340178

2018-08-27 Thread Jordan Rupprecht via llvm-branch-commits
Author: rupprecht
Date: Fri Aug 24 16:45:38 2018
New Revision: 340673

URL: http://llvm.org/viewvc/llvm-project?rev=340673&view=rev
Log:
Creating branches/google/stable and tags/google/stable/2018-08-24 from r340178

Added:
cfe/tags/google/stable/2018-08-24/
  - copied from r340178, cfe/trunk/

___
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-tag] r340673 - Creating branches/google/stable and tags/google/stable/2018-08-24 from r340178

2018-08-27 Thread Jordan Rupprecht via llvm-branch-commits
Author: rupprecht
Date: Fri Aug 24 16:45:38 2018
New Revision: 340673

URL: http://llvm.org/viewvc/llvm-project?rev=340673&view=rev
Log:
Creating branches/google/stable and tags/google/stable/2018-08-24 from r340178

Added:
llvm/tags/google/stable/2018-08-24/
  - copied from r340178, llvm/trunk/

___
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] [clang-tools-extra-branch] r340673 - Creating branches/google/stable and tags/google/stable/2018-08-24 from r340178

2018-08-27 Thread Jordan Rupprecht via llvm-branch-commits
Author: rupprecht
Date: Fri Aug 24 16:45:38 2018
New Revision: 340673

URL: http://llvm.org/viewvc/llvm-project?rev=340673&view=rev
Log:
Creating branches/google/stable and tags/google/stable/2018-08-24 from r340178

Added:
clang-tools-extra/branches/google/stable/
  - copied from r340178, clang-tools-extra/trunk/

___
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] [compiler-rt-branch] r340673 - Creating branches/google/stable and tags/google/stable/2018-08-24 from r340178

2018-08-27 Thread Jordan Rupprecht via llvm-branch-commits
Author: rupprecht
Date: Fri Aug 24 16:45:38 2018
New Revision: 340673

URL: http://llvm.org/viewvc/llvm-project?rev=340673&view=rev
Log:
Creating branches/google/stable and tags/google/stable/2018-08-24 from r340178

Added:
compiler-rt/branches/google/stable/
  - copied from r340178, compiler-rt/trunk/

___
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] [lldb] r340673 - Creating branches/google/stable and tags/google/stable/2018-08-24 from r340178

2018-08-27 Thread Jordan Rupprecht via llvm-branch-commits
Author: rupprecht
Date: Fri Aug 24 16:45:38 2018
New Revision: 340673

URL: http://llvm.org/viewvc/llvm-project?rev=340673&view=rev
Log:
Creating branches/google/stable and tags/google/stable/2018-08-24 from r340178

Added:
lldb/branches/google/stable/
  - copied from r340178, lldb/trunk/
lldb/tags/google/stable/2018-08-24/
  - copied from r340178, lldb/trunk/

___
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] r340730 - Merging r340376:

2018-08-27 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Mon Aug 27 02:51:13 2018
New Revision: 340730

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

r340376 | steveire | 2018-08-22 03:11:18 +0200 (Wed, 22 Aug 2018) | 7 lines

Update the docs for using LLVM toolset in Visual Studio

Reviewers: hans

Subscribers: cfe-commits

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


Modified:
cfe/branches/release_70/   (props changed)
cfe/branches/release_70/docs/UsersManual.rst

Propchange: cfe/branches/release_70/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Mon Aug 27 02:51:13 2018
@@ -1,4 +1,4 @@
 /cfe/branches/type-system-rewrite:134693-134817
-/cfe/trunk:338552-338553,338602,338627,338749,338934,338942,339074,339128,339170,339210,339264,339281,339317,339372-339374,339379,339428,339494,339597,339603,339667,340048,340079,340101,340181,340191,340666
+/cfe/trunk:338552-338553,338602,338627,338749,338934,338942,339074,339128,339170,339210,339264,339281,339317,339372-339374,339379,339428,339494,339597,339603,339667,340048,340079,340101,340181,340191,340376,340666
 /cfe/trunk/test:170344
 /cfe/trunk/test/SemaTemplate:126920

Modified: cfe/branches/release_70/docs/UsersManual.rst
URL: 
http://llvm.org/viewvc/llvm-project/cfe/branches/release_70/docs/UsersManual.rst?rev=340730&r1=340729&r2=340730&view=diff
==
--- cfe/branches/release_70/docs/UsersManual.rst (original)
+++ cfe/branches/release_70/docs/UsersManual.rst Mon Aug 27 02:51:13 2018
@@ -2711,16 +2711,17 @@ Command Prompt or a regular Command Prom
 up using e.g. `vcvarsall.bat 
`_.
 
 clang-cl can also be used from inside Visual Studio by selecting the LLVM
-Platform Toolset. The toolset is installed by the LLVM installer, which can be
-downloaded from the `LLVM release `_ or
-`snapshot build `_ web pages. To use the toolset,
-select a project in Solution Explorer, open its Property Page (Alt+F7), and in
-the "General" section of "Configuration Properties" change "Platform Toolset"
-to e.g. LLVM-vs2014.
+Platform Toolset. The toolset is not part of the installer, but may be 
installed
+separately from the
+`Visual Studio Marketplace 
`_.
+To use the toolset, select a project in Solution Explorer, open its Property
+Page (Alt+F7), and in the "General" section of "Configuration Properties"
+change "Platform Toolset" to LLVM.  Doing so enables an additional Property
+Page for selecting the clang-cl executable to use for builds.
 
 To use the toolset with MSBuild directly, invoke it with e.g.
-``/p:PlatformToolset=LLVM-vs2014``. This allows trying out the clang-cl
-toolchain without modifying your project files.
+``/p:PlatformToolset=LLVM``. This allows trying out the clang-cl toolchain
+without modifying your project files.
 
 It's also possible to point MSBuild at clang-cl without changing toolset by
 passing ``/p:CLToolPath=c:\llvm\bin /p:CLToolExe=clang-cl.exe``.
@@ -2729,7 +2730,7 @@ When using CMake and the Visual Studio g
 
   ::
 
-cmake -G"Visual Studio 15 2017" -T LLVM-vs2014 ..
+cmake -G"Visual Studio 15 2017" -T LLVM ..
 
 When using CMake with the Ninja generator, set the ``CMAKE_C_COMPILER`` and
 ``CMAKE_CXX_COMPILER`` variables to clang-cl:


___
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] r340731 - Merging r340641:

2018-08-27 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Mon Aug 27 03:05:36 2018
New Revision: 340731

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

r340641 | stefanp | 2018-08-24 21:38:29 +0200 (Fri, 24 Aug 2018) | 9 lines

[Exception Handling] Unwind tables are required for all functions that have an 
EH personality.

This patch is for defect:
https://bugs.llvm.org/show_bug.cgi?id=32611

Functions may require unwind tables even if they are marked with the attribute
nounwind. Any function with an EH personality may require an unwind table.

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


Added:
llvm/branches/release_70/test/CodeGen/PowerPC/uwtables.ll
  - copied unchanged from r340641, 
llvm/trunk/test/CodeGen/PowerPC/uwtables.ll
llvm/branches/release_70/test/CodeGen/X86/uwtables.ll
  - copied unchanged from r340641, llvm/trunk/test/CodeGen/X86/uwtables.ll
Modified:
llvm/branches/release_70/   (props changed)
llvm/branches/release_70/include/llvm/IR/Function.h
llvm/branches/release_70/test/CodeGen/X86/x86-shrink-wrap-unwind.ll

Propchange: llvm/branches/release_70/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Mon Aug 27 03:05:36 2018
@@ -1,3 +1,3 @@
 /llvm/branches/Apple/Pertwee:110850,110961
 /llvm/branches/type-system-rewrite:133420-134817
-/llvm/trunk:155241,338552,338554,338569,338599,338610,338658,338665,338682,338703,338709,338716,338751,338762,338817,338841,338902,338915,338968,339073,339091,339166,339179,339184,339190,339225,339316,339319,339411,339492,339515,339533,339535-339536,339600,339636,339674,339769,339822,339883,339895-339896,339945,340158,340303,340691
+/llvm/trunk:155241,338552,338554,338569,338599,338610,338658,338665,338682,338703,338709,338716,338751,338762,338817,338841,338902,338915,338968,339073,339091,339166,339179,339184,339190,339225,339316,339319,339411,339492,339515,339533,339535-339536,339600,339636,339674,339769,339822,339883,339895-339896,339945,340158,340303,340641,340691

Modified: llvm/branches/release_70/include/llvm/IR/Function.h
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_70/include/llvm/IR/Function.h?rev=340731&r1=340730&r2=340731&view=diff
==
--- llvm/branches/release_70/include/llvm/IR/Function.h (original)
+++ llvm/branches/release_70/include/llvm/IR/Function.h Mon Aug 27 03:05:36 2018
@@ -557,7 +557,7 @@ public:
 
   /// True if this function needs an unwind table.
   bool needsUnwindTableEntry() const {
-return hasUWTable() || !doesNotThrow();
+return hasUWTable() || !doesNotThrow() || hasPersonalityFn();
   }
 
   /// Determine if the function returns a structure through first

Modified: llvm/branches/release_70/test/CodeGen/X86/x86-shrink-wrap-unwind.ll
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_70/test/CodeGen/X86/x86-shrink-wrap-unwind.ll?rev=340731&r1=340730&r2=340731&view=diff
==
--- llvm/branches/release_70/test/CodeGen/X86/x86-shrink-wrap-unwind.ll 
(original)
+++ llvm/branches/release_70/test/CodeGen/X86/x86-shrink-wrap-unwind.ll Mon Aug 
27 03:05:36 2018
@@ -237,6 +237,7 @@ attributes #5 = { nounwind readonly ssp
 ; CHECK: push
 ;
 ; Jump to throw_exception:
+; CHECK-NEXT: .cfi_def_cfa_offset
 ; CHECK-NEXT: testb $1, %dil
 ; CHECK-NEXT: jne [[THROW_LABEL:LBB[0-9_]+]]
 ; Else return exit


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