r242293 - Set comdat when an available_externally thunk is converted to linkonce_odr.

2015-07-15 Thread Rafael Espindola
Author: rafael Date: Wed Jul 15 09:48:06 2015 New Revision: 242293 URL: http://llvm.org/viewvc/llvm-project?rev=242293view=rev Log: Set comdat when an available_externally thunk is converted to linkonce_odr. Fixes pr24130. Modified: cfe/trunk/lib/CodeGen/CGVTables.cpp

r242077 - This reverts commit r242058, r242065, r242067.

2015-07-13 Thread Rafael Espindola
Author: rafael Date: Mon Jul 13 17:26:30 2015 New Revision: 242077 URL: http://llvm.org/viewvc/llvm-project?rev=242077view=rev Log: This reverts commit r242058, r242065, r242067. The tests were failing on OS X. Revert [cuda] Driver changes to compile and stitch together host and device-side

r242012 - Set the linkage before setting the visibility.

2015-07-13 Thread Rafael Espindola
Author: rafael Date: Mon Jul 13 01:07:58 2015 New Revision: 242012 URL: http://llvm.org/viewvc/llvm-project?rev=242012view=rev Log: Set the linkage before setting the visibility. Otherwise the visibility setting code would not know that a given function was available_externally. Fixes PR24097.

r241275 - Revert Refactored ARMTargetInfo in order to use the API of llvm/lib/Support/TargetParser.cpp for extracting target specific information.

2015-07-02 Thread Rafael Espindola
Author: rafael Date: Thu Jul 2 10:14:10 2015 New Revision: 241275 URL: http://llvm.org/viewvc/llvm-project?rev=241275view=rev Log: Revert Refactored ARMTargetInfo in order to use the API of llvm/lib/Support/TargetParser.cpp for extracting target specific information. This reverts commit

r240406 - Update for LLVM api change.

2015-06-23 Thread Rafael Espindola
Author: rafael Date: Tue Jun 23 08:59:36 2015 New Revision: 240406 URL: http://llvm.org/viewvc/llvm-project?rev=240406view=rev Log: Update for LLVM api change. Modified: cfe/trunk/lib/CodeGen/BackendUtil.cpp cfe/trunk/tools/libclang/CIndex.cpp Modified:

r239859 - Update for llvm api change.

2015-06-16 Thread Rafael Espindola
Author: rafael Date: Tue Jun 16 17:32:44 2015 New Revision: 239859 URL: http://llvm.org/viewvc/llvm-project?rev=239859view=rev Log: Update for llvm api change. Modified: cfe/trunk/lib/CodeGen/CodeGenAction.cpp Modified: cfe/trunk/lib/CodeGen/CodeGenAction.cpp URL:

r239670 - Update for llvm api change.

2015-06-13 Thread Rafael Espindola
Author: rafael Date: Sat Jun 13 07:50:07 2015 New Revision: 239670 URL: http://llvm.org/viewvc/llvm-project?rev=239670view=rev Log: Update for llvm api change. Modified: cfe/trunk/tools/driver/driver.cpp Modified: cfe/trunk/tools/driver/driver.cpp URL:

r239684 - Don't use std::errc.

2015-06-13 Thread Rafael Espindola
Author: rafael Date: Sat Jun 13 12:23:13 2015 New Revision: 239684 URL: http://llvm.org/viewvc/llvm-project?rev=239684view=rev Log: Don't use std::errc. As noted on Errc.h: // * std::errc is just marked with is_error_condition_enum. This means that // common patters like AnErrorCode ==

r238904 - Revert add the -mrecip driver flag and process its options (2nd try)

2015-06-02 Thread Rafael Espindola
Author: rafael Date: Wed Jun 3 00:44:28 2015 New Revision: 238904 URL: http://llvm.org/viewvc/llvm-project?rev=238904view=rev Log: Revert add the -mrecip driver flag and process its options (2nd try) This reverts commit r238851. It depends on a llvm commit that was reverted. Removed:

r238774 - Replace a few std::string with StringRef. NFC.

2015-06-01 Thread Rafael Espindola
Author: rafael Date: Mon Jun 1 15:00:16 2015 New Revision: 238774 URL: http://llvm.org/viewvc/llvm-project?rev=238774view=rev Log: Replace a few std::string with StringRef. NFC. Patch by Косов Евгений! Modified: cfe/trunk/include/clang/Lex/Lexer.h

r238773 - Revert [Hexagon] Test passes for hexagon target now that the backend correctly generates relocations.

2015-06-01 Thread Rafael Espindola
Author: rafael Date: Mon Jun 1 14:46:36 2015 New Revision: 238773 URL: http://llvm.org/viewvc/llvm-project?rev=238773view=rev Log: Revert [Hexagon] Test passes for hexagon target now that the backend correctly generates relocations. This reverts commit r238754. It depends on r238748, which

[clang-tools-extra] r238775 - Update for clang API change.

2015-06-01 Thread Rafael Espindola
Author: rafael Date: Mon Jun 1 15:00:20 2015 New Revision: 238775 URL: http://llvm.org/viewvc/llvm-project?rev=238775view=rev Log: Update for clang API change. Patch by Косов Евгений. Modified: clang-tools-extra/trunk/pp-trace/PPCallbacksTracker.cpp

r238048 - Make unique section names the default again.

2015-05-22 Thread Rafael Espindola
Author: rafael Date: Fri May 22 15:44:03 2015 New Revision: 238048 URL: http://llvm.org/viewvc/llvm-project?rev=238048view=rev Log: Make unique section names the default again. Using non unique names found a bug in the ICF inplementation in gold:

r238076 - This reverts commit r238064 and r238055.

2015-05-22 Thread Rafael Espindola
Author: rafael Date: Fri May 22 19:30:33 2015 New Revision: 238076 URL: http://llvm.org/viewvc/llvm-project?rev=238076view=rev Log: This reverts commit r238064 and r238055. They depend on a reverted llvm commit. Removed: cfe/trunk/test/Driver/mrecip.c Modified:

r234897 - Use raw_pwrite_stream in clang.

2015-04-14 Thread Rafael Espindola
Author: rafael Date: Tue Apr 14 10:15:49 2015 New Revision: 234897 URL: http://llvm.org/viewvc/llvm-project?rev=234897view=rev Log: Use raw_pwrite_stream in clang. This is a small improvement to -emit-pth and allows llvm to start requiring it. Modified: cfe/trunk/include/clang/Basic/LLVM.h

r234738 - Bring r234620 back now that llvm is fixed.

2015-04-13 Thread Rafael Espindola
Author: rafael Date: Mon Apr 13 06:14:39 2015 New Revision: 234738 URL: http://llvm.org/viewvc/llvm-project?rev=234738view=rev Log: Bring r234620 back now that llvm is fixed. LLVM can now detect if a fd is seekable on windows. Original commit message: Actually check if lseek works instead of

r234536 - Update for LLVM api changes.

2015-04-09 Thread Rafael Espindola
Author: rafael Date: Thu Apr 9 16:06:11 2015 New Revision: 234536 URL: http://llvm.org/viewvc/llvm-project?rev=234536view=rev Log: Update for LLVM api changes. Modified: cfe/trunk/lib/CodeGen/BackendUtil.cpp cfe/trunk/tools/driver/cc1as_main.cpp Modified:

r234143 - This reverts commit r234104, bringing back 233393 now that ARM is fixed.

2015-04-05 Thread Rafael Espindola
Author: rafael Date: Sun Apr 5 23:36:45 2015 New Revision: 234143 URL: http://llvm.org/viewvc/llvm-project?rev=234143view=rev Log: This reverts commit r234104, bringing back 233393 now that ARM is fixed. Original message: Don't use unique section names by default if using the integrated as.

r234101 - Revert Revert Don't use unique section names by default if using the integrated as.

2015-04-04 Thread Rafael Espindola
Author: rafael Date: Sat Apr 4 13:21:14 2015 New Revision: 234101 URL: http://llvm.org/viewvc/llvm-project?rev=234101view=rev Log: Revert Revert Don't use unique section names by default if using the integrated as. This reverts commit r233398, bringing back 233393 now that LLVM is fixed.

r234104 - Revert Revert Revert Don't use unique section names by default if using the integrated as.

2015-04-04 Thread Rafael Espindola
Author: rafael Date: Sat Apr 4 14:32:41 2015 New Revision: 234104 URL: http://llvm.org/viewvc/llvm-project?rev=234104view=rev Log: Revert Revert Revert Don't use unique section names by default if using the integrated as. This reverts commit r234101. I will debug what went wrong with ARM.

r233393 - Don't use unique section names by default if using the integrated as.

2015-03-27 Thread Rafael Espindola
Author: rafael Date: Fri Mar 27 12:55:23 2015 New Revision: 233393 URL: http://llvm.org/viewvc/llvm-project?rev=233393view=rev Log: Don't use unique section names by default if using the integrated as. This saves some IO and ccache space by not creating long section names. It should work with

r233398 - Revert Don't use unique section names by default if using the integrated as.

2015-03-27 Thread Rafael Espindola
Author: rafael Date: Fri Mar 27 14:01:14 2015 New Revision: 233398 URL: http://llvm.org/viewvc/llvm-project?rev=233398view=rev Log: Revert Don't use unique section names by default if using the integrated as. This reverts commit r233393 while a debug a bot failure. Modified:

r233172 - Revert [Modules] When writing out the on-disk hash table for the decl context lookup tables, we need to establish a stable ordering for constructing the hash table. This is trickier than it

2015-03-24 Thread Rafael Espindola
Author: rafael Date: Tue Mar 24 23:43:15 2015 New Revision: 233172 URL: http://llvm.org/viewvc/llvm-project?rev=233172view=rev Log: Revert [Modules] When writing out the on-disk hash table for the decl context lookup tables, we need to establish a stable ordering for constructing the hash

r232843 - Update for llvm api change.

2015-03-20 Thread Rafael Espindola
Author: rafael Date: Fri Mar 20 15:00:30 2015 New Revision: 232843 URL: http://llvm.org/viewvc/llvm-project?rev=232843view=rev Log: Update for llvm api change. Modified: cfe/trunk/tools/driver/cc1as_main.cpp Modified: cfe/trunk/tools/driver/cc1as_main.cpp URL:

r232430 - Update for llvm API change.

2015-03-16 Thread Rafael Espindola
Author: rafael Date: Mon Mar 16 17:30:13 2015 New Revision: 232430 URL: http://llvm.org/viewvc/llvm-project?rev=232430view=rev Log: Update for llvm API change. Modified: cfe/trunk/tools/driver/cc1as_main.cpp Modified: cfe/trunk/tools/driver/cc1as_main.cpp URL:

r231895 - Remove a bugus test.

2015-03-10 Thread Rafael Espindola
Author: rafael Date: Tue Mar 10 19:28:59 2015 New Revision: 231895 URL: http://llvm.org/viewvc/llvm-project?rev=231895view=rev Log: Remove a bugus test. This was using the driver to test LLVM. I checked that disabling the code path that the test was testing causes llvm tests to fail. Removed:

r231754 - Revert [OPENMP] Improved code for generating debug info + generation of all OpenMP regions in termination scope Patch adds proper generation of debug info for all OpenMP regions. Also, all

2015-03-09 Thread Rafael Espindola
Author: rafael Date: Mon Mar 9 23:40:21 2015 New Revision: 231754 URL: http://llvm.org/viewvc/llvm-project?rev=231754view=rev Log: Revert [OPENMP] Improved code for generating debug info + generation of all OpenMP regions in termination scope Patch adds proper generation of debug info for all

r230031 - Add -funique-section-names and -fno-unique-section-names options.

2015-02-20 Thread Rafael Espindola
Author: rafael Date: Fri Feb 20 12:08:57 2015 New Revision: 230031 URL: http://llvm.org/viewvc/llvm-project?rev=230031view=rev Log: Add -funique-section-names and -fno-unique-section-names options. For now -funique-section-names is the default, so no change in default behavior. The total .o

r228112 - Make this test stricter. NFC.

2015-02-03 Thread Rafael Espindola
Author: rafael Date: Tue Feb 3 22:23:48 2015 New Revision: 228112 URL: http://llvm.org/viewvc/llvm-project?rev=228112view=rev Log: Make this test stricter. NFC. Modified: cfe/trunk/test/CodeGen/arm64_vMaxMin.c Modified: cfe/trunk/test/CodeGen/arm64_vMaxMin.c URL:

r227979 - Use CLANG_LIBDIR_SUFFIX when looking for the gold plugin.

2015-02-03 Thread Rafael Espindola
Author: rafael Date: Tue Feb 3 10:33:53 2015 New Revision: 227979 URL: http://llvm.org/viewvc/llvm-project?rev=227979view=rev Log: Use CLANG_LIBDIR_SUFFIX when looking for the gold plugin. Patch by İsmail Dönmez! Modified: cfe/trunk/lib/Driver/Tools.cpp Modified:

r226896 - [pr22293] Don't crash during codegen of a recursive destructor.

2015-01-22 Thread Rafael Espindola
Author: rafael Date: Thu Jan 22 23:26:38 2015 New Revision: 226896 URL: http://llvm.org/viewvc/llvm-project?rev=226896view=rev Log: [pr22293] Don't crash during codegen of a recursive destructor. In ItaniumCXXABI::EmitCXXDestructors we first emit the base destructor and then try to emit the

r226668 - Don't assume variable name.

2015-01-21 Thread Rafael Espindola
Author: rafael Date: Wed Jan 21 10:18:42 2015 New Revision: 226668 URL: http://llvm.org/viewvc/llvm-project?rev=226668view=rev Log: Don't assume variable name. Should fix the test in -Asserts builds. Modified: cfe/trunk/test/CodeGenCXX/vtable-pointer-initialization.cpp Modified:

r226667 - Make the test a bit stricter. NFC.

2015-01-21 Thread Rafael Espindola
Author: rafael Date: Wed Jan 21 10:13:57 2015 New Revision: 226667 URL: http://llvm.org/viewvc/llvm-project?rev=226667view=rev Log: Make the test a bit stricter. NFC. Modified: cfe/trunk/test/CodeGenCXX/vla-lambda-capturing.cpp Modified: cfe/trunk/test/CodeGenCXX/vla-lambda-capturing.cpp

r226675 - Used CHECK-DAG since the order is not important.

2015-01-21 Thread Rafael Espindola
Author: rafael Date: Wed Jan 21 10:56:43 2015 New Revision: 226675 URL: http://llvm.org/viewvc/llvm-project?rev=226675view=rev Log: Used CHECK-DAG since the order is not important. Modified: cfe/trunk/test/CodeGenCXX/microsoft-abi-rtti.cpp Modified:

r226677 - Used CHECK-DAG since the order is not important.

2015-01-21 Thread Rafael Espindola
Author: rafael Date: Wed Jan 21 11:12:04 2015 New Revision: 226677 URL: http://llvm.org/viewvc/llvm-project?rev=226677view=rev Log: Used CHECK-DAG since the order is not important. Modified: cfe/trunk/test/CodeGenCXX/predefined-expr.cpp Modified:

r226666 - Make the test a bit stricter. NFC.

2015-01-21 Thread Rafael Espindola
Author: rafael Date: Wed Jan 21 10:03:26 2015 New Revision: 22 URL: http://llvm.org/viewvc/llvm-project?rev=22view=rev Log: Make the test a bit stricter. NFC. Modified: cfe/trunk/test/CodeGenCXX/vtable-pointer-initialization.cpp Modified:

r226743 - Use CHECK-LABEL when possible. NFC.

2015-01-21 Thread Rafael Espindola
Author: rafael Date: Wed Jan 21 17:33:55 2015 New Revision: 226743 URL: http://llvm.org/viewvc/llvm-project?rev=226743view=rev Log: Use CHECK-LABEL when possible. NFC. Modified: cfe/trunk/test/CodeGenCXX/lambda-expressions-nested-linkage.cpp Modified:

r226709 - Use a CHECK-LABEL. NFC

2015-01-21 Thread Rafael Espindola
Author: rafael Date: Wed Jan 21 16:38:24 2015 New Revision: 226709 URL: http://llvm.org/viewvc/llvm-project?rev=226709view=rev Log: Use a CHECK-LABEL. NFC Modified: cfe/trunk/test/CodeGenCXX/lambda-expressions.cpp Modified: cfe/trunk/test/CodeGenCXX/lambda-expressions.cpp URL:

r226751 - Emit DeferredDeclsToEmit in a DFS order.

2015-01-21 Thread Rafael Espindola
Author: rafael Date: Wed Jan 21 18:24:57 2015 New Revision: 226751 URL: http://llvm.org/viewvc/llvm-project?rev=226751view=rev Log: Emit DeferredDeclsToEmit in a DFS order. Currently we emit DeferredDeclsToEmit in reverse order. This patch changes that. The advantages of the change are that *

r226758 - Try to fix -Asserts build bots.

2015-01-21 Thread Rafael Espindola
Author: rafael Date: Wed Jan 21 19:26:39 2015 New Revision: 226758 URL: http://llvm.org/viewvc/llvm-project?rev=226758view=rev Log: Try to fix -Asserts build bots. Modified: cfe/trunk/test/CodeGen/2009-01-05-BlockInlining.c Modified: cfe/trunk/test/CodeGen/2009-01-05-BlockInlining.c URL:

r226759 - Revert Try to fix -Asserts build bots.

2015-01-21 Thread Rafael Espindola
Author: rafael Date: Wed Jan 21 19:33:41 2015 New Revision: 226759 URL: http://llvm.org/viewvc/llvm-project?rev=226759view=rev Log: Revert Try to fix -Asserts build bots. This reverts commit r226758. Looks like rnk's 226757 fixed the real issue. Sorry for the noise. Modified:

r226662 - clang-format function. NFC.

2015-01-21 Thread Rafael Espindola
Author: rafael Date: Wed Jan 21 08:55:00 2015 New Revision: 226662 URL: http://llvm.org/viewvc/llvm-project?rev=226662view=rev Log: clang-format function. NFC. Modified: cfe/trunk/lib/CodeGen/CodeGenModule.cpp Modified: cfe/trunk/lib/CodeGen/CodeGenModule.cpp URL:

r226609 - Link libclang with dl if available.

2015-01-20 Thread Rafael Espindola
Author: rafael Date: Tue Jan 20 15:10:35 2015 New Revision: 226609 URL: http://llvm.org/viewvc/llvm-project?rev=226609view=rev Log: Link libclang with dl if available. This is in preparation for changing the link to use -Wl,-z,defs. Modified: cfe/trunk/tools/libclang/CMakeLists.txt

r226465 - Add comdat to thunks.

2015-01-19 Thread Rafael Espindola
Author: rafael Date: Mon Jan 19 08:02:14 2015 New Revision: 226465 URL: http://llvm.org/viewvc/llvm-project?rev=226465view=rev Log: Add comdat to thunks. Modified: cfe/trunk/lib/CodeGen/CGVTables.cpp cfe/trunk/test/CodeGenCXX/microsoft-abi-thunks.cpp Modified:

r226463 - Make this test a bit stricter. NFC.

2015-01-19 Thread Rafael Espindola
Author: rafael Date: Mon Jan 19 07:59:31 2015 New Revision: 226463 URL: http://llvm.org/viewvc/llvm-project?rev=226463view=rev Log: Make this test a bit stricter. NFC. Modified: cfe/trunk/test/CodeGenCXX/microsoft-abi-thunks.cpp Modified: cfe/trunk/test/CodeGenCXX/microsoft-abi-thunks.cpp

r226280 - Add comdats to constructs and destructor in the microsoft abi.

2015-01-16 Thread Rafael Espindola
Author: rafael Date: Fri Jan 16 09:37:11 2015 New Revision: 226280 URL: http://llvm.org/viewvc/llvm-project?rev=226280view=rev Log: Add comdats to constructs and destructor in the microsoft abi. Modified: cfe/trunk/lib/CodeGen/MicrosoftCXXABI.cpp

r226285 - Make this test a bit stricter. NFC.

2015-01-16 Thread Rafael Espindola
Author: rafael Date: Fri Jan 16 10:02:03 2015 New Revision: 226285 URL: http://llvm.org/viewvc/llvm-project?rev=226285view=rev Log: Make this test a bit stricter. NFC. Modified: cfe/trunk/test/CodeGenCXX/microsoft-abi-static-initializers.cpp Modified:

r226286 - Add comdats to dynamic init functions in the microsoft abi.

2015-01-16 Thread Rafael Espindola
Author: rafael Date: Fri Jan 16 10:04:45 2015 New Revision: 226286 URL: http://llvm.org/viewvc/llvm-project?rev=226286view=rev Log: Add comdats to dynamic init functions in the microsoft abi. Modified: cfe/trunk/lib/CodeGen/MicrosoftCXXABI.cpp

r226303 - Add comdats to the RTTI variables in the microsoft abi.

2015-01-16 Thread Rafael Espindola
Author: rafael Date: Fri Jan 16 13:23:42 2015 New Revision: 226303 URL: http://llvm.org/viewvc/llvm-project?rev=226303view=rev Log: Add comdats to the RTTI variables in the microsoft abi. Modified: cfe/trunk/lib/CodeGen/MicrosoftCXXABI.cpp cfe/trunk/test/CodeGenCXX/microsoft-abi-rtti.cpp

r226317 - Add comdat to string literal variables on COFF.

2015-01-16 Thread Rafael Espindola
Author: rafael Date: Fri Jan 16 14:32:35 2015 New Revision: 226317 URL: http://llvm.org/viewvc/llvm-project?rev=226317view=rev Log: Add comdat to string literal variables on COFF. Modified: cfe/trunk/lib/CodeGen/CodeGenModule.cpp cfe/trunk/test/CodeGen/c-strings.c

r226325 - Also put vtables in a comdat when rtti is disabled.

2015-01-16 Thread Rafael Espindola
Author: rafael Date: Fri Jan 16 15:41:44 2015 New Revision: 226325 URL: http://llvm.org/viewvc/llvm-project?rev=226325view=rev Log: Also put vtables in a comdat when rtti is disabled. Modified: cfe/trunk/lib/CodeGen/MicrosoftCXXABI.cpp cfe/trunk/test/CodeGenCXX/microsoft-no-rtti-data.cpp

r226361 - Make sure all weak destructors go in a comdat in the ms abi.

2015-01-16 Thread Rafael Espindola
Author: rafael Date: Fri Jan 16 19:47:39 2015 New Revision: 226361 URL: http://llvm.org/viewvc/llvm-project?rev=226361view=rev Log: Make sure all weak destructors go in a comdat in the ms abi. Destructors have a special treatment in getFunctionLinkage. Instead of duplicating the logic, check the

r226211 - Use a trivial comdat for inline ctor/dtor when not using C5/D5.

2015-01-15 Thread Rafael Espindola
Author: rafael Date: Thu Jan 15 15:36:08 2015 New Revision: 226211 URL: http://llvm.org/viewvc/llvm-project?rev=226211view=rev Log: Use a trivial comdat for inline ctor/dtor when not using C5/D5. When combined with llvm not producing implicit comdats, not doing this would cause code bloat on ELF

r226227 - Use a trivial comdat for C++ tables.

2015-01-15 Thread Rafael Espindola
Author: rafael Date: Thu Jan 15 17:18:01 2015 New Revision: 226227 URL: http://llvm.org/viewvc/llvm-project?rev=226227view=rev Log: Use a trivial comdat for C++ tables. This produces comdats for vtables, typeinfo, typeinfo names, and vtts. When combined with llvm not producing implicit comdats,

r225705 - [patch][pr19848] Produce explicit comdats in clang.

2015-01-12 Thread Rafael Espindola
Author: rafael Date: Mon Jan 12 16:13:53 2015 New Revision: 225705 URL: http://llvm.org/viewvc/llvm-project?rev=225705view=rev Log: [patch][pr19848] Produce explicit comdats in clang. The llvm IR until recently had no support for comdats. This was a problem when targeting C++ on ELF/COFF as just

r225322 - Suppress clang warnings in a codegen test.

2015-01-06 Thread Rafael Espindola
Author: rafael Date: Tue Jan 6 17:53:13 2015 New Revision: 225322 URL: http://llvm.org/viewvc/llvm-project?rev=225322view=rev Log: Suppress clang warnings in a codegen test. This makes the output of FileCheck way easier to read since this test hits many warnings. Modified:

r225303 - Update for .ll syntax change.

2015-01-06 Thread Rafael Espindola
Author: rafael Date: Tue Jan 6 16:55:40 2015 New Revision: 225303 URL: http://llvm.org/viewvc/llvm-project?rev=225303view=rev Log: Update for .ll syntax change. Modified: cfe/trunk/test/CodeGenCXX/ctor-dtor-alias.cpp cfe/trunk/test/CodeGenCXX/dllexport.cpp

r225168 - Fix formatting. NFC.

2015-01-05 Thread Rafael Espindola
Author: rafael Date: Mon Jan 5 07:44:59 2015 New Revision: 225168 URL: http://llvm.org/viewvc/llvm-project?rev=225168view=rev Log: Fix formatting. NFC. Modified: cfe/trunk/lib/Driver/Tools.cpp Modified: cfe/trunk/lib/Driver/Tools.cpp URL:

r225190 - Disable warnings in this test.

2015-01-05 Thread Rafael Espindola
Author: rafael Date: Mon Jan 5 12:19:35 2015 New Revision: 225190 URL: http://llvm.org/viewvc/llvm-project?rev=225190view=rev Log: Disable warnings in this test. This makes it a lot easier to read the output from FileCheck when it fails. Modified: cfe/trunk/test/CodeGenCXX/dllexport.cpp

r225191 - Make this test a bit stricter.

2015-01-05 Thread Rafael Espindola
Author: rafael Date: Mon Jan 5 12:48:18 2015 New Revision: 225191 URL: http://llvm.org/viewvc/llvm-project?rev=225191view=rev Log: Make this test a bit stricter. The first function is named __cxx_global_var_init, which is a substring of the following functions @__cxx_global_var_init(1,2,3,etc).

r225102 - Remove -Werror from test.

2015-01-02 Thread Rafael Espindola
Author: rafael Date: Fri Jan 2 18:28:47 2015 New Revision: 225102 URL: http://llvm.org/viewvc/llvm-project?rev=225102view=rev Log: Remove -Werror from test. It is not needed since we FileCheck for the warning and -Werror itself can end up unused. Modified:

r225100 - Really don't warn about -flto/fno-lto :-(

2015-01-02 Thread Rafael Espindola
Author: rafael Date: Fri Jan 2 18:06:04 2015 New Revision: 225100 URL: http://llvm.org/viewvc/llvm-project?rev=225100view=rev Log: Really don't warn about -flto/fno-lto :-( This should fix the last bots. Modified: cfe/trunk/lib/Driver/Tools.cpp cfe/trunk/test/Driver/clang-s-opts.s

r225093 - Don't warn on unused -fno-lto.

2015-01-02 Thread Rafael Espindola
Author: rafael Date: Fri Jan 2 16:56:15 2015 New Revision: 225093 URL: http://llvm.org/viewvc/llvm-project?rev=225093view=rev Log: Don't warn on unused -fno-lto. It is somewhat common for CFLAGS to be used with .s files. We were already ignoring -flto. This patch just does the same for

r225095 - Also avoid warning on -flto/-fno-lto on linux.

2015-01-02 Thread Rafael Espindola
Author: rafael Date: Fri Jan 2 17:23:52 2015 New Revision: 225095 URL: http://llvm.org/viewvc/llvm-project?rev=225095view=rev Log: Also avoid warning on -flto/-fno-lto on linux. On OS X a .s file is preprocessed, it is not on linux, which is why the warning was still showing up on linux but

r224770 - This reverts commit r224668 and r224667.

2014-12-23 Thread Rafael Espindola
Author: rafael Date: Tue Dec 23 09:57:12 2014 New Revision: 224770 URL: http://llvm.org/viewvc/llvm-project?rev=224770view=rev Log: This reverts commit r224668 and r224667. r224667 broke bootstrap on Fedora 20 X86_64 (at least). See pr22006 for the details. r224668 depends on r224667.

r224369 - Put static local variables of inline functions in the function comdat.

2014-12-18 Thread Rafael Espindola
Author: rafael Date: Tue Dec 16 15:00:30 2014 New Revision: 224369 URL: http://llvm.org/viewvc/llvm-project?rev=224369view=rev Log: Put static local variables of inline functions in the function comdat. The variable (and the GV) is only ever used if the function is. Putting it in the function's

r224378 - Fix handling of invalid -O options.

2014-12-18 Thread Rafael Espindola
Author: rafael Date: Tue Dec 16 15:57:03 2014 New Revision: 224378 URL: http://llvm.org/viewvc/llvm-project?rev=224378view=rev Log: Fix handling of invalid -O options. We were checking the value after truncating it to a bitfield. Thanks to Yunzhong Gao for noticing it. Modified:

r224475 - Revert Put static local variables of inline functions in the function comdat.

2014-12-18 Thread Rafael Espindola
Author: rafael Date: Wed Dec 17 17:49:22 2014 New Revision: 224475 URL: http://llvm.org/viewvc/llvm-project?rev=224475view=rev Log: Revert Put static local variables of inline functions in the function comdat. This reverts commit r224369. Thanks to Reid Kleckner for pointing out that we need a

r221784 - Simplify code a bit by passing StreamFile to the BitstreamCursor constructor.

2014-11-12 Thread Rafael Espindola
Author: rafael Date: Wed Nov 12 08:42:25 2014 New Revision: 221784 URL: http://llvm.org/viewvc/llvm-project?rev=221784view=rev Log: Simplify code a bit by passing StreamFile to the BitstreamCursor constructor. Modified: cfe/trunk/lib/Frontend/SerializedDiagnosticReader.cpp

r221786 - Update for llvm api change.

2014-11-12 Thread Rafael Espindola
Author: rafael Date: Wed Nov 12 08:48:44 2014 New Revision: 221786 URL: http://llvm.org/viewvc/llvm-project?rev=221786view=rev Log: Update for llvm api change. Modified: cfe/trunk/lib/Serialization/ASTReader.cpp Modified: cfe/trunk/lib/Serialization/ASTReader.cpp URL:

r221451 - Don't manually insert L prefixes.

2014-11-06 Thread Rafael Espindola
Author: rafael Date: Thu Nov 6 07:30:38 2014 New Revision: 221451 URL: http://llvm.org/viewvc/llvm-project?rev=221451view=rev Log: Don't manually insert L prefixes. Simply marking the symbol private conveys the desire to hide them to LLVM. Modified: cfe/trunk/lib/CodeGen/CGObjCMac.cpp

r221346 - Support LLVM_BUILD_STATIC.

2014-11-05 Thread Rafael Espindola
Author: rafael Date: Wed Nov 5 08:04:25 2014 New Revision: 221346 URL: http://llvm.org/viewvc/llvm-project?rev=221346view=rev Log: Support LLVM_BUILD_STATIC. Modified: cfe/trunk/tools/c-arcmt-test/CMakeLists.txt cfe/trunk/tools/c-index-test/CMakeLists.txt Modified:

r221434 - Delete dead test.

2014-11-05 Thread Rafael Espindola
Author: rafael Date: Wed Nov 5 22:48:05 2014 New Revision: 221434 URL: http://llvm.org/viewvc/llvm-project?rev=221434view=rev Log: Delete dead test. Modified: cfe/trunk/test/CodeGenObjC/objc-align.m Modified: cfe/trunk/test/CodeGenObjC/objc-align.m URL:

r221435 - Use FileCheck.

2014-11-05 Thread Rafael Espindola
Author: rafael Date: Wed Nov 5 22:56:05 2014 New Revision: 221435 URL: http://llvm.org/viewvc/llvm-project?rev=221435view=rev Log: Use FileCheck. Modified: cfe/trunk/test/CodeGenObjC/non-lazy-classes.m Modified: cfe/trunk/test/CodeGenObjC/non-lazy-classes.m URL:

[clang-tools-extra] r221260 - Use findProgramByName. NFC.

2014-11-04 Thread Rafael Espindola
Author: rafael Date: Tue Nov 4 06:48:22 2014 New Revision: 221260 URL: http://llvm.org/viewvc/llvm-project?rev=221260view=rev Log: Use findProgramByName. NFC. Modified: clang-tools-extra/trunk/clang-modernize/Core/ReplacementHandling.cpp Modified:

r221200 - Remove local handling of ASAN_OPTIONS and UBSAN_OPTIONS.

2014-11-03 Thread Rafael Espindola
Author: rafael Date: Mon Nov 3 17:09:25 2014 New Revision: 221200 URL: http://llvm.org/viewvc/llvm-project?rev=221200view=rev Log: Remove local handling of ASAN_OPTIONS and UBSAN_OPTIONS. They are now forwarded by TestingConfig.py. Modified: cfe/trunk/test/lit.cfg Modified:

r220733 - Use the newer/simple API for passing a diagnostic handler to the IR linker.

2014-10-27 Thread Rafael Espindola
Author: rafael Date: Mon Oct 27 18:02:34 2014 New Revision: 220733 URL: http://llvm.org/viewvc/llvm-project?rev=220733view=rev Log: Use the newer/simple API for passing a diagnostic handler to the IR linker. Modified: cfe/trunk/lib/CodeGen/CodeGenAction.cpp Modified:

r220742 - Update for LLVM API change.

2014-10-27 Thread Rafael Espindola
Author: rafael Date: Mon Oct 27 19:29:51 2014 New Revision: 220742 URL: http://llvm.org/viewvc/llvm-project?rev=220742view=rev Log: Update for LLVM API change. Modified: cfe/trunk/lib/CodeGen/CodeGenAction.cpp Modified: cfe/trunk/lib/CodeGen/CodeGenAction.cpp URL:

r220604 - Make this test a bit stricter by checking clang's output too.

2014-10-24 Thread Rafael Espindola
Author: rafael Date: Fri Oct 24 20:51:19 2014 New Revision: 220604 URL: http://llvm.org/viewvc/llvm-project?rev=220604view=rev Log: Make this test a bit stricter by checking clang's output too. Modified: cfe/trunk/test/CodeGen/link-bitcode-file.c Modified:

r220609 - Update for LLVM api change.

2014-10-24 Thread Rafael Espindola
Author: rafael Date: Fri Oct 24 23:06:14 2014 New Revision: 220609 URL: http://llvm.org/viewvc/llvm-project?rev=220609view=rev Log: Update for LLVM api change. Modified: cfe/trunk/lib/CodeGen/CodeGenAction.cpp Modified: cfe/trunk/lib/CodeGen/CodeGenAction.cpp URL:

r220387 - Remove unused StmtVector parameters from declaration parsing functions.

2014-10-22 Thread Rafael Espindola
Author: rafael Date: Wed Oct 22 09:27:08 2014 New Revision: 220387 URL: http://llvm.org/viewvc/llvm-project?rev=220387view=rev Log: Remove unused StmtVector parameters from declaration parsing functions. Patch by Eelis van der Weegen! Modified: cfe/trunk/include/clang/Parse/Parser.h

r220413 - Remove unused DiagnosticsEngine::NumErrorsSuppressed member.

2014-10-22 Thread Rafael Espindola
Author: rafael Date: Wed Oct 22 15:09:12 2014 New Revision: 220413 URL: http://llvm.org/viewvc/llvm-project?rev=220413view=rev Log: Remove unused DiagnosticsEngine::NumErrorsSuppressed member. Patch by Brad King! Modified: cfe/trunk/include/clang/Basic/Diagnostic.h

r219952 - Update for llvm change.

2014-10-16 Thread Rafael Espindola
Author: rafael Date: Thu Oct 16 15:00:22 2014 New Revision: 219952 URL: http://llvm.org/viewvc/llvm-project?rev=219952view=rev Log: Update for llvm change. Modified: cfe/trunk/test/CodeGen/2005-06-15-ExpandGotoInternalProblem.c cfe/trunk/test/CodeGen/2005-09-24-AsmUserPrefix.c Modified:

r219797 - Update for llvm api change.

2014-10-15 Thread Rafael Espindola
Author: rafael Date: Wed Oct 15 10:44:25 2014 New Revision: 219797 URL: http://llvm.org/viewvc/llvm-project?rev=219797view=rev Log: Update for llvm api change. Modified: cfe/trunk/test/Headers/altivec-header.c Modified: cfe/trunk/test/Headers/altivec-header.c URL:

r219800 - Update for llvm api change.

2014-10-15 Thread Rafael Espindola
Author: rafael Date: Wed Oct 15 11:12:57 2014 New Revision: 219800 URL: http://llvm.org/viewvc/llvm-project?rev=219800view=rev Log: Update for llvm api change. Modified: cfe/trunk/tools/driver/cc1as_main.cpp Modified: cfe/trunk/tools/driver/cc1as_main.cpp URL:

r219206 - Allow dllexport alias to base destructors.

2014-10-07 Thread Rafael Espindola
Author: rafael Date: Tue Oct 7 08:34:42 2014 New Revision: 219206 URL: http://llvm.org/viewvc/llvm-project?rev=219206view=rev Log: Allow dllexport alias to base destructors. We used to avoid these, but it looks like we did so just because we were not handling dllexport alias correctly. Dario

r219258 - Avoid code duplication by calling setAliasAttributes in EmitAliasDefinition.

2014-10-07 Thread Rafael Espindola
Author: rafael Date: Tue Oct 7 19:00:09 2014 New Revision: 219258 URL: http://llvm.org/viewvc/llvm-project?rev=219258view=rev Log: Avoid code duplication by calling setAliasAttributes in EmitAliasDefinition. Modified: cfe/trunk/lib/CodeGen/CodeGenModule.cpp Modified:

r219132 - Remove cases that are now handled by the parent class implementation.

2014-10-06 Thread Rafael Espindola
Author: rafael Date: Mon Oct 6 12:45:47 2014 New Revision: 219132 URL: http://llvm.org/viewvc/llvm-project?rev=219132view=rev Log: Remove cases that are now handled by the parent class implementation. Modified: cfe/trunk/lib/Driver/ToolChains.h Modified: cfe/trunk/lib/Driver/ToolChains.h

r218141 - In the Itanium ABI, move stuff to the comdat of variables with static init.

2014-09-19 Thread Rafael Espindola
Author: rafael Date: Fri Sep 19 14:43:18 2014 New Revision: 218141 URL: http://llvm.org/viewvc/llvm-project?rev=218141view=rev Log: In the Itanium ABI, move stuff to the comdat of variables with static init. Clang can already handle --- struct S {

r218089 - Put more stuff in the comdat used for variables with static init.

2014-09-18 Thread Rafael Espindola
Author: rafael Date: Thu Sep 18 18:41:44 2014 New Revision: 218089 URL: http://llvm.org/viewvc/llvm-project?rev=218089view=rev Log: Put more stuff in the comdat used for variables with static init. Clang can already handle --- struct S { static const

r218094 - Revert Put more stuff in the comdat used for variables with static init.

2014-09-18 Thread Rafael Espindola
Author: rafael Date: Thu Sep 18 20:28:16 2014 New Revision: 218094 URL: http://llvm.org/viewvc/llvm-project?rev=218094view=rev Log: Revert Put more stuff in the comdat used for variables with static init. This reverts commit r218089. It looks like it was causing issues on COFF. Modified:

r218097 - Don't use the third field of llvm.global_ctors for MachO.

2014-09-18 Thread Rafael Espindola
Author: rafael Date: Thu Sep 18 20:54:22 2014 New Revision: 218097 URL: http://llvm.org/viewvc/llvm-project?rev=218097view=rev Log: Don't use the third field of llvm.global_ctors for MachO. The field is defined as: If the third field is present, non-null, and points to a global variable or

r217874 - Add support for putting constructors and destructos in explicit comdats.

2014-09-16 Thread Rafael Espindola
Author: rafael Date: Tue Sep 16 10:18:21 2014 New Revision: 217874 URL: http://llvm.org/viewvc/llvm-project?rev=217874view=rev Log: Add support for putting constructors and destructos in explicit comdats. There are situations when clang knows that the C1 and C2 constructors or the D1 and D2

r217897 - Don't try to use C5/D5 comdats in COFF.

2014-09-16 Thread Rafael Espindola
Author: rafael Date: Tue Sep 16 15:19:43 2014 New Revision: 217897 URL: http://llvm.org/viewvc/llvm-project?rev=217897view=rev Log: Don't try to use C5/D5 comdats in COFF. This should fix the mingw bootstrap. Modified: cfe/trunk/lib/CodeGen/ItaniumCXXABI.cpp

r217804 - Create a emitCXXStructor function and make the existing emitCXXConstructor and

2014-09-15 Thread Rafael Espindola
Author: rafael Date: Mon Sep 15 13:46:13 2014 New Revision: 217804 URL: http://llvm.org/viewvc/llvm-project?rev=217804view=rev Log: Create a emitCXXStructor function and make the existing emitCXXConstructor and emitCXXDestructor static helpers. A next patch will make it a helper in CGCXXABI.

r217807 - Move emitCXXStructor to CGCXXABI.

2014-09-15 Thread Rafael Espindola
Author: rafael Date: Mon Sep 15 14:20:10 2014 New Revision: 217807 URL: http://llvm.org/viewvc/llvm-project?rev=217807view=rev Log: Move emitCXXStructor to CGCXXABI. A followup patch will address the code duplication. Modified: cfe/trunk/lib/CodeGen/CGCXX.cpp

r217809 - Simplify the code a bit, NFC.

2014-09-15 Thread Rafael Espindola
Author: rafael Date: Mon Sep 15 14:24:44 2014 New Revision: 217809 URL: http://llvm.org/viewvc/llvm-project?rev=217809view=rev Log: Simplify the code a bit, NFC. hasConstructorVariants is always true for MS and false for Itanium. Modified: cfe/trunk/lib/CodeGen/ItaniumCXXABI.cpp

r217811 - Reduce code duplication a bit more. NFC.

2014-09-15 Thread Rafael Espindola
Author: rafael Date: Mon Sep 15 14:34:18 2014 New Revision: 217811 URL: http://llvm.org/viewvc/llvm-project?rev=217811view=rev Log: Reduce code duplication a bit more. NFC. Modified: cfe/trunk/lib/CodeGen/CGCXX.cpp cfe/trunk/lib/CodeGen/CodeGenModule.h

r217813 - Reduce code duplication a bit more. NFC.

2014-09-15 Thread Rafael Espindola
Author: rafael Date: Mon Sep 15 14:43:47 2014 New Revision: 217813 URL: http://llvm.org/viewvc/llvm-project?rev=217813view=rev Log: Reduce code duplication a bit more. NFC. Modified: cfe/trunk/lib/CodeGen/ItaniumCXXABI.cpp cfe/trunk/lib/CodeGen/MicrosoftCXXABI.cpp Modified:

r217704 - Allow protocols to be just declared.

2014-09-12 Thread Rafael Espindola
Author: rafael Date: Fri Sep 12 15:14:20 2014 New Revision: 217704 URL: http://llvm.org/viewvc/llvm-project?rev=217704view=rev Log: Allow protocols to be just declared. Added: cfe/trunk/test/CodeGenObjC/undefined-protocol2.m Modified: cfe/trunk/lib/CodeGen/CGObjCMac.cpp Modified:

  1   2   3   4   5   6   7   8   9   10   >