Author: rafael
Date: Thu Mar 29 15:08:01 2018
New Revision: 328836
URL: http://llvm.org/viewvc/llvm-project?rev=328836=rev
Log:
Set dso_local on cfi_slowpath.
Modified:
cfe/trunk/lib/CodeGen/CGExpr.cpp
cfe/trunk/test/CodeGen/cfi-icall-cross-dso.c
Modified:
Author: rafael
Date: Thu Mar 29 09:45:18 2018
New Revision: 328801
URL: http://llvm.org/viewvc/llvm-project?rev=328801=rev
Log:
Set dso_local when clearing dllimport.
Modified:
cfe/trunk/lib/CodeGen/CodeGenModule.cpp
cfe/trunk/test/CodeGenCXX/dllimport.cpp
Modified:
Author: rafael
Date: Thu Mar 29 09:35:52 2018
New Revision: 328800
URL: http://llvm.org/viewvc/llvm-project?rev=328800=rev
Log:
Add a dllimport test.
Thanks to rnk for the suggestion.
Added:
cfe/trunk/test/CodeGen/flip-dllimport.c
Added: cfe/trunk/test/CodeGen/flip-dllimport.c
URL:
Author: rafael
Date: Thu Mar 22 18:36:23 2018
New Revision: 328288
URL: http://llvm.org/viewvc/llvm-project?rev=328288=rev
Log:
Bring r328238 back with a fix.
The issues was that we were setting hidden visibility if, when
processing a hidden class, we found out that we needed to emit a
reference
Author: rafael
Date: Thu Mar 22 16:02:19 2018
New Revision: 328266
URL: http://llvm.org/viewvc/llvm-project?rev=328266=rev
Log:
Set dso_local on __ImageBase.
Modified:
cfe/trunk/lib/CodeGen/MicrosoftCXXABI.cpp
cfe/trunk/test/CodeGenCXX/dllexport.cpp
Modified:
Author: rafael
Date: Thu Mar 22 15:57:48 2018
New Revision: 328263
URL: http://llvm.org/viewvc/llvm-project?rev=328263=rev
Log:
Add a test.
This would have found the regression in r328238.
Added:
cfe/trunk/test/CodeGenCXX/rtti-hidden.cpp
Added: cfe/trunk/test/CodeGenCXX/rtti-hidden.cpp
Author: rafael
Date: Thu Mar 22 14:14:16 2018
New Revision: 328242
URL: http://llvm.org/viewvc/llvm-project?rev=328242=rev
Log:
Revert "Set dso_local on vtables."
This reverts commit r328238.
Looks like it broke some buildbots.
Modified:
cfe/trunk/lib/CodeGen/ItaniumCXXABI.cpp
Author: rafael
Date: Thu Mar 22 13:33:01 2018
New Revision: 328238
URL: http://llvm.org/viewvc/llvm-project?rev=328238=rev
Log:
Set dso_local on vtables.
Modified:
cfe/trunk/lib/CodeGen/ItaniumCXXABI.cpp
cfe/trunk/test/CodeGenCXX/dllexport.cpp
Modified:
Author: rafael
Date: Thu Mar 22 11:03:13 2018
New Revision: 328224
URL: http://llvm.org/viewvc/llvm-project?rev=328224=rev
Log:
Set dso_local on builtin functions.
The difference between CreateRuntimeFunction and CreateBuiltinFunction
is that CreateBuiltinFunction would not set dllimport or
Author: rafael
Date: Tue Mar 20 18:30:16 2018
New Revision: 328068
URL: http://llvm.org/viewvc/llvm-project?rev=328068=rev
Log:
Set dso_local on runtime variables.
Modified:
cfe/trunk/lib/CodeGen/CodeGenModule.cpp
cfe/trunk/test/CodeGenCXX/ubsan-vtable-checks.cpp
Modified:
Author: rafael
Date: Tue Mar 20 15:02:57 2018
New Revision: 328050
URL: http://llvm.org/viewvc/llvm-project?rev=328050=rev
Log:
Delete BuiltinCC. NFC.
It is always identical to RuntimeCC.
Modified:
cfe/trunk/lib/CodeGen/ABIInfo.h
cfe/trunk/lib/CodeGen/CGExprComplex.cpp
Author: rafael
Date: Tue Mar 20 14:54:14 2018
New Revision: 328048
URL: http://llvm.org/viewvc/llvm-project?rev=328048=rev
Log:
Add CHECKs for a few declarations. NFC.
We were just missing test coverage for this.
Modified:
cfe/trunk/test/CodeGen/mingw-long-double.c
Modified:
Author: rafael
Date: Tue Mar 20 13:42:55 2018
New Revision: 328040
URL: http://llvm.org/viewvc/llvm-project?rev=328040=rev
Log:
Set dso_local on string literals.
Modified:
cfe/trunk/lib/CodeGen/CodeGenModule.cpp
cfe/trunk/test/CodeGen/c-strings.c
Author: rafael
Date: Tue Mar 20 13:27:30 2018
New Revision: 328036
URL: http://llvm.org/viewvc/llvm-project?rev=328036=rev
Log:
Set dso_local for runtime function.
This is another case where there is special logic for adding dllimport
and so we cannot use setGVProperties.
Modified:
Author: rafael
Date: Tue Mar 20 08:48:00 2018
New Revision: 327993
URL: http://llvm.org/viewvc/llvm-project?rev=327993=rev
Log:
Set dso_local for CFConstantStringClassReference.
This one cannot use setGVProperties since it has special logic for
when it is dllimport or not.
Modified:
Author: rafael
Date: Tue Mar 20 08:42:58 2018
New Revision: 327991
URL: http://llvm.org/viewvc/llvm-project?rev=327991=rev
Log:
Set dso_local for guid decls.
Modified:
cfe/trunk/lib/CodeGen/CodeGenModule.cpp
cfe/trunk/test/CodeGenCXX/microsoft-templ-uuidof.cpp
Modified:
Author: rafael
Date: Wed Mar 14 11:19:26 2018
New Revision: 327544
URL: http://llvm.org/viewvc/llvm-project?rev=327544=rev
Log:
Set dso_local for NSConcreteStackBlock.
Modified:
cfe/trunk/lib/CodeGen/CGBlocks.cpp
cfe/trunk/test/CodeGen/blocks-windows.c
Modified:
Author: rafael
Date: Wed Mar 14 11:14:46 2018
New Revision: 327543
URL: http://llvm.org/viewvc/llvm-project?rev=327543=rev
Log:
Set dso_local on external rtti GVs.
In this particular case it would be possible to just add an else with
CGM.setDSOLocal(GV), but it seems better to have as many
Author: rafael
Date: Wed Mar 7 15:18:06 2018
New Revision: 326961
URL: http://llvm.org/viewvc/llvm-project?rev=326961=rev
Log:
Set dso_local on tls init functions.
We copy the visibility, so copying the dso_local flag seems the
natural thing to do.
Modified:
Author: rafael
Date: Thu Mar 1 17:29:51 2018
New Revision: 326527
URL: http://llvm.org/viewvc/llvm-project?rev=326527=rev
Log:
Always set dso_local in CodeGenModule::setDSOLocal.
This shouldn't change any results for now, but is more consistent with
how we set dllimport/dllexport and will make
Author: rafael
Date: Wed Feb 28 16:35:47 2018
New Revision: 326397
URL: http://llvm.org/viewvc/llvm-project?rev=326397=rev
Log:
Start setting dllimport/dllexport in setGVProperties.
This is the next step in setting dso_local for COFF.
The patches changes setGVProperties to first set
Author: rafael
Date: Wed Feb 28 16:06:55 2018
New Revision: 326392
URL: http://llvm.org/viewvc/llvm-project?rev=326392=rev
Log:
Pass a GlobalDecl to SetCommonAttributes. NFC.
Part of D43900.
Modified:
cfe/trunk/lib/CodeGen/CodeGenModule.cpp
cfe/trunk/lib/CodeGen/CodeGenModule.h
Author: rafael
Date: Wed Feb 28 16:00:02 2018
New Revision: 326391
URL: http://llvm.org/viewvc/llvm-project?rev=326391=rev
Log:
Inline a trivial function. NFC.
Modified:
cfe/trunk/lib/CodeGen/CGCXX.cpp
cfe/trunk/lib/CodeGen/CodeGenModule.cpp
cfe/trunk/lib/CodeGen/CodeGenModule.h
Author: rafael
Date: Wed Feb 28 15:54:23 2018
New Revision: 326388
URL: http://llvm.org/viewvc/llvm-project?rev=326388=rev
Log:
Pass a GlobalDecl to setNonAliasAttributes. NFC.
Also part of D43900.
Modified:
cfe/trunk/lib/CodeGen/CodeGenModule.cpp
cfe/trunk/lib/CodeGen/CodeGenModule.h
Author: rafael
Date: Wed Feb 28 15:46:35 2018
New Revision: 326385
URL: http://llvm.org/viewvc/llvm-project?rev=326385=rev
Log:
Pass a GlobalDecl to SetInternalFunctionAttributes. NFC.
This just reduces the noise in a followup patch.
Part of D43900.
Modified:
Author: rafael
Date: Tue Feb 27 16:14:18 2018
New Revision: 326272
URL: http://llvm.org/viewvc/llvm-project?rev=326272=rev
Log:
Inline trivial function. NFC.
Modified:
cfe/trunk/lib/CodeGen/CGVTables.cpp
Modified: cfe/trunk/lib/CodeGen/CGVTables.cpp
URL:
Author: rafael
Date: Tue Feb 27 16:06:01 2018
New Revision: 326270
URL: http://llvm.org/viewvc/llvm-project?rev=326270=rev
Log:
Pass a GlobalDecl to setAliasAttributes. NFC.
This just makes a followup change easier to read.
Modified:
cfe/trunk/lib/CodeGen/CGCXX.cpp
Author: rafael
Date: Tue Feb 27 15:44:36 2018
New Revision: 326265
URL: http://llvm.org/viewvc/llvm-project?rev=326265=rev
Log:
Pass a GlobalDecl to setFunctionDefinitionAttributes. NFC.
This just makes a followup patch easier to read.
Modified:
cfe/trunk/lib/CodeGen/CGCXX.cpp
Author: rafael
Date: Fri Feb 23 11:38:41 2018
New Revision: 325943
URL: http://llvm.org/viewvc/llvm-project?rev=325943=rev
Log:
Really fix test on windows.
Sorry for the noise.
Modified:
cfe/trunk/test/CodeGenCUDA/filter-decl.cu
Modified: cfe/trunk/test/CodeGenCUDA/filter-decl.cu
URL:
Author: rafael
Date: Fri Feb 23 11:36:20 2018
New Revision: 325942
URL: http://llvm.org/viewvc/llvm-project?rev=325942=rev
Log:
Fix one last test on a windows host.
Modified:
cfe/trunk/test/CodeGenCUDA/filter-decl.cu
Modified: cfe/trunk/test/CodeGenCUDA/filter-decl.cu
URL:
Author: rafael
Date: Fri Feb 23 10:18:01 2018
New Revision: 325930
URL: http://llvm.org/viewvc/llvm-project?rev=325930=rev
Log:
Convert test to FileCheck. NFC.
Modified:
cfe/trunk/test/CodeGen/tentative-decls.c
Modified: cfe/trunk/test/CodeGen/tentative-decls.c
URL:
Author: rafael
Date: Thu Feb 22 16:22:15 2018
New Revision: 325846
URL: http://llvm.org/viewvc/llvm-project?rev=325846=rev
Log:
Simplify setting dso_local. NFC.
The value of dso_local can be computed from just IR properties and
global information (object file type, command line options, etc).
Author: rafael
Date: Wed Feb 14 11:11:37 2018
New Revision: 325156
URL: http://llvm.org/viewvc/llvm-project?rev=325156=rev
Log:
Update for llvm change. NFC.
Modified:
cfe/trunk/lib/CodeGen/BackendUtil.cpp
cfe/trunk/tools/clang-offload-bundler/ClangOffloadBundler.cpp
Modified:
Author: rafael
Date: Wed Feb 7 17:17:26 2018
New Revision: 324552
URL: http://llvm.org/viewvc/llvm-project?rev=324552=rev
Log:
Add a testcase for PR36268.
Added:
cfe/trunk/test/CodeGenObjC/availability-dso-local.m
Added: cfe/trunk/test/CodeGenObjC/availability-dso-local.m
URL:
Author: rafael
Date: Wed Feb 7 15:04:06 2018
New Revision: 324539
URL: http://llvm.org/viewvc/llvm-project?rev=324539=rev
Log:
Don't try to use copy relocations with tls variables.
Should fix the lldb bot.
Modified:
cfe/trunk/lib/CodeGen/CodeGenModule.cpp
Author: rafael
Date: Wed Feb 7 14:15:33 2018
New Revision: 324535
URL: http://llvm.org/viewvc/llvm-project?rev=324535=rev
Log:
Recommit r324107 again.
The difference from the previous try is that we no longer directly
access function declarations from position independent executables. It
should
Author: rafael
Date: Wed Feb 7 11:44:15 2018
New Revision: 324505
URL: http://llvm.org/viewvc/llvm-project?rev=324505=rev
Log:
Revert "Recommit r324107."
This reverts commit r324500.
The bots found two failures:
ThreadSanitizer-x86_64 :: Linux/pie_no_aslr.cc
ThreadSanitizer-x86_64 ::
Author: rafael
Date: Wed Feb 7 11:16:49 2018
New Revision: 324500
URL: http://llvm.org/viewvc/llvm-project?rev=324500=rev
Log:
Recommit r324107.
It now includes a fix to not mark available_externally definitions as
dso_local.
Original message:
Start setting dso_local in clang.
This starts
Author: rafael
Date: Wed Feb 7 11:04:41 2018
New Revision: 324499
URL: http://llvm.org/viewvc/llvm-project?rev=324499=rev
Log:
Don't pass ForDefinition_t in places it is redundant.
I found this while looking at the ppc failures caused by the dso_local
change.
The issue was that the patch would
Author: rafael
Date: Fri Feb 2 09:29:22 2018
New Revision: 324108
URL: http://llvm.org/viewvc/llvm-project?rev=324108=rev
Log:
Revert "Start setting dso_local in clang."
This reverts commit r324107.
I will have to test it on OS X.
Removed:
cfe/trunk/test/CodeGen/dso-local-executable.c
Author: rafael
Date: Fri Feb 2 09:17:39 2018
New Revision: 324107
URL: http://llvm.org/viewvc/llvm-project?rev=324107=rev
Log:
Start setting dso_local in clang.
This starts adding dso_local to clang.
The hope is to eventually have TargetMachine::shouldAssumeDsoLocal go
away. My objective for
Author: rafael
Date: Wed Jan 24 10:58:32 2018
New Revision: 323361
URL: http://llvm.org/viewvc/llvm-project?rev=323361=rev
Log:
Don't create hidden dllimport global values.
Hidden visibility is almost the opposite of dllimport. We were
producing them before (dllimport wins in the existing llvm
Author: rafael
Date: Wed Jan 17 18:08:38 2018
New Revision: 322808
URL: http://llvm.org/viewvc/llvm-project?rev=322808=rev
Log:
Update for llvm change.
Modified:
cfe/trunk/test/OpenMP/target_codegen_registration.cpp
cfe/trunk/test/OpenMP/target_parallel_codegen_registration.cpp
Author: rafael
Date: Wed Jan 17 16:20:03 2018
New Revision: 322792
URL: http://llvm.org/viewvc/llvm-project?rev=322792=rev
Log:
Use an enum value instead of a string.
The old StringSwitch use was also broken. It assumed that a
StringSwitch returns Optional instead of T and was missing a
Author: rafael
Date: Thu Jan 11 14:15:12 2018
New Revision: 322318
URL: http://llvm.org/viewvc/llvm-project?rev=322318=rev
Log:
Make internal/private GVs implicitly dso_local.
While updating clang tests for having clang set dso_local I noticed
that:
- There are *a lot* of tests to update.
-
Author: rafael
Date: Thu Sep 7 17:33:39 2017
New Revision: 312769
URL: http://llvm.org/viewvc/llvm-project?rev=312769=rev
Log:
Update for PrintHelpMessage not calling exit.
Modified:
clang-tools-extra/trunk/clang-tidy/tool/ClangTidyMain.cpp
Author: rafael
Date: Thu Sep 7 17:01:26 2017
New Revision: 312766
URL: http://llvm.org/viewvc/llvm-project?rev=312766=rev
Log:
Update for llvm change.
Modified:
cfe/trunk/tools/clang-format/ClangFormat.cpp
cfe/trunk/tools/clang-offload-bundler/ClangOffloadBundler.cpp
Modified:
Author: rafael
Date: Wed Aug 2 19:16:28 2017
New Revision: 309912
URL: http://llvm.org/viewvc/llvm-project?rev=309912=rev
Log:
Update for llvm change.
Modified:
cfe/trunk/lib/CodeGen/BackendUtil.cpp
Modified: cfe/trunk/lib/CodeGen/BackendUtil.cpp
URL:
Author: rafael
Date: Wed Aug 2 13:32:35 2017
New Revision: 309885
URL: http://llvm.org/viewvc/llvm-project?rev=309885=rev
Log:
Update for llvm change.
Modified:
cfe/trunk/lib/Parse/ParseStmtAsm.cpp
cfe/trunk/tools/driver/cc1as_main.cpp
Modified: cfe/trunk/lib/Parse/ParseStmtAsm.cpp
Author: rafael
Date: Wed Feb 15 16:19:04 2017
New Revision: 295245
URL: http://llvm.org/viewvc/llvm-project?rev=295245=rev
Log:
Fix the static build.
Modified:
cfe/trunk/tools/c-index-test/CMakeLists.txt
Modified: cfe/trunk/tools/c-index-test/CMakeLists.txt
URL:
Author: rafael
Date: Mon Oct 31 06:47:37 2016
New Revision: 285561
URL: http://llvm.org/viewvc/llvm-project?rev=285561=rev
Log:
Fix this test when we have clang-offload-bundler.exe.
Modified:
cfe/trunk/test/Driver/openmp-offload.c
Modified: cfe/trunk/test/Driver/openmp-offload.c
URL:
Author: rafael
Date: Fri Jun 24 16:35:06 2016
New Revision: 273735
URL: http://llvm.org/viewvc/llvm-project?rev=273735=rev
Log:
Add support for musl-libc on ARM Linux.
Patch by Lei Zhang!
Modified:
cfe/trunk/lib/Basic/Targets.cpp
cfe/trunk/lib/CodeGen/TargetInfo.cpp
Author: rafael
Date: Thu Jun 23 10:07:32 2016
New Revision: 273566
URL: http://llvm.org/viewvc/llvm-project?rev=273566=rev
Log:
Restructure the propagation of -fPIC/-fPIE.
The PIC and PIE levels are not independent. In fact, if PIE is defined
it is always the same as PIC.
This is clear in the
Author: rafael
Date: Wed Jun 22 13:04:52 2016
New Revision: 273450
URL: http://llvm.org/viewvc/llvm-project?rev=273450=rev
Log:
Make this test a bit more strict and fix it.
We do pass -pic-level to cc1 when targeting darwin. Given that codegen
itself doesn't use it, the only difference is
Author: rafael
Date: Tue Jun 21 17:24:45 2016
New Revision: 273327
URL: http://llvm.org/viewvc/llvm-project?rev=273327=rev
Log:
Delete dead code.
Found by gcc 6.
Modified:
cfe/trunk/lib/Frontend/Rewrite/RewriteModernObjC.cpp
Modified: cfe/trunk/lib/Frontend/Rewrite/RewriteModernObjC.cpp
Author: rafael
Date: Tue Jun 21 14:19:31 2016
New Revision: 273300
URL: http://llvm.org/viewvc/llvm-project?rev=273300=rev
Log:
Delete dead code.
Found by gcc 6.
Modified:
cfe/trunk/lib/AST/ItaniumMangle.cpp
cfe/trunk/lib/Frontend/CompilerInvocation.cpp
Modified:
Author: rafael
Date: Mon Jun 20 18:54:44 2016
New Revision: 273224
URL: http://llvm.org/viewvc/llvm-project?rev=273224=rev
Log:
Add a ENABLE_X86_RELAX_RELOCATIONS cmake option.
This corresponds to binutils' --enable-x86-relax-relocations.
Modified:
cfe/trunk/CMakeLists.txt
Author: rafael
Date: Wed Jun 15 15:02:22 2016
New Revision: 272825
URL: http://llvm.org/viewvc/llvm-project?rev=272825=rev
Log:
Add a few Musl related tests that already pass.
Patch by Lei Zhang.
Modified:
cfe/trunk/test/Driver/linux-ld.c
Modified: cfe/trunk/test/Driver/linux-ld.c
URL:
Author: rafael
Date: Tue Jun 14 07:47:24 2016
New Revision: 272662
URL: http://llvm.org/viewvc/llvm-project?rev=272662=rev
Log:
Start adding support for Musl.
The two patches together enable clang to support targets like
"x86_64-pc-linux-musl" and build binaries against musl-libc instead of
Author: rafael
Date: Thu Jun 9 08:35:55 2016
New Revision: 272260
URL: http://llvm.org/viewvc/llvm-project?rev=272260=rev
Log:
Replace an ambiguous "it"
Thanks to Sean for the suggestion.
Modified:
cfe/trunk/docs/ReleaseNotes.rst
Modified: cfe/trunk/docs/ReleaseNotes.rst
URL:
Author: rafael
Date: Mon Jun 6 13:23:11 2016
New Revision: 271918
URL: http://llvm.org/viewvc/llvm-project?rev=271918=rev
Log:
Add a release note about the --build-id change.
Modified:
cfe/trunk/docs/ReleaseNotes.rst
Modified: cfe/trunk/docs/ReleaseNotes.rst
URL:
Author: rafael
Date: Fri Jun 3 12:26:16 2016
New Revision: 271692
URL: http://llvm.org/viewvc/llvm-project?rev=271692=rev
Log:
Don't pass --build-id to ld by default.
We now have a cmake option to change the default: ENABLE_LINKER_BUILD_ID.
The reason is that build-id is fairly expensive, so
Author: rafael
Date: Thu Jun 2 18:45:37 2016
New Revision: 271609
URL: http://llvm.org/viewvc/llvm-project?rev=271609=rev
Log:
Delete configure left over.
Removed:
cfe/trunk/include/clang/Config/config.h.in
Removed: cfe/trunk/include/clang/Config/config.h.in
URL:
Author: rafael
Date: Sat May 28 22:03:22 2016
New Revision: 271166
URL: http://llvm.org/viewvc/llvm-project?rev=271166=rev
Log:
Fix typo.
Thanks to David Majnemer for noticing.
Modified:
cfe/trunk/include/clang/Driver/CC1Options.td
Modified: cfe/trunk/include/clang/Driver/CC1Options.td
Author: rafael
Date: Sat May 28 21:36:16 2016
New Revision: 271163
URL: http://llvm.org/viewvc/llvm-project?rev=271163=rev
Log:
Mark test as requiring x86-registered-target.
Modified:
cfe/trunk/test/CodeGen/relax.c
Modified: cfe/trunk/test/CodeGen/relax.c
URL:
Author: rafael
Date: Sat May 28 21:01:14 2016
New Revision: 271162
URL: http://llvm.org/viewvc/llvm-project?rev=271162=rev
Log:
Handle -Wa,--mrelax-relocations=[no|yes].
Added:
cfe/trunk/test/CodeGen/relax.c
cfe/trunk/test/Driver/relax.c
cfe/trunk/test/Driver/relax.s
Modified:
Author: rafael
Date: Wed May 18 19:16:09 2016
New Revision: 270006
URL: http://llvm.org/viewvc/llvm-project?rev=270006=rev
Log:
Fix a funny Dvorak typo.
Modified:
cfe/trunk/lib/Parse/ParseStmtAsm.cpp
Modified: cfe/trunk/lib/Parse/ParseStmtAsm.cpp
URL:
Author: rafael
Date: Wed May 18 17:04:57 2016
New Revision: 269989
URL: http://llvm.org/viewvc/llvm-project?rev=269989=rev
Log:
Update for llvm change.
Modified:
cfe/trunk/lib/CodeGen/BackendUtil.cpp
cfe/trunk/lib/Driver/Tools.cpp
Modified: cfe/trunk/lib/CodeGen/BackendUtil.cpp
URL:
Author: rafael
Date: Wed May 18 06:58:56 2016
New Revision: 269910
URL: http://llvm.org/viewvc/llvm-project?rev=269910=rev
Log:
Update for llvm change.
Modified:
cfe/trunk/lib/Parse/ParseStmtAsm.cpp
cfe/trunk/tools/driver/cc1as_main.cpp
Modified: cfe/trunk/lib/Parse/ParseStmtAsm.cpp
Author: rafael
Date: Mon May 9 08:13:50 2016
New Revision: 268914
URL: http://llvm.org/viewvc/llvm-project?rev=268914=rev
Log:
Proper detection and handling of RHEL and variants.
- Don't consider "/etc/lsb-release" to be Ubuntu only.
- Detect SL, too.
- Only add "--no-add-needed" for RHEL7 (or
Author: rafael
Date: Mon May 9 08:03:10 2016
New Revision: 268912
URL: http://llvm.org/viewvc/llvm-project?rev=268912=rev
Log:
RHEL: Look in more places to find g++ headers and runtime.
Some distros with ten years of support ship an old gcc but later offer
more recent versions for installation
Author: rafael
Date: Thu Jan 28 16:56:41 2016
New Revision: 259108
URL: http://llvm.org/viewvc/llvm-project?rev=259108=rev
Log:
Update for llvm change.
Modified:
cfe/trunk/test/CodeGen/pr18235.c
Modified: cfe/trunk/test/CodeGen/pr18235.c
URL:
Author: rafael
Date: Mon Jan 25 12:29:16 2016
New Revision: 258698
URL: http://llvm.org/viewvc/llvm-project?rev=258698=rev
Log:
Pass --wrap=pthread_create to linker for -fsplit-stack.
From
https://gcc.gnu.org/ml/gcc-patches/2010-09/msg01807.html
-fsplit-stack should pass --wrap=pthread_create
Author: rafael
Date: Wed Dec 16 17:16:37 2015
New Revision: 255843
URL: http://llvm.org/viewvc/llvm-project?rev=255843=rev
Log:
Update for llvm api change.
Modified:
cfe/trunk/lib/CodeGen/CodeGenAction.cpp
Modified: cfe/trunk/lib/CodeGen/CodeGenAction.cpp
URL:
Author: rafael
Date: Mon Dec 14 17:17:07 2015
New Revision: 255572
URL: http://llvm.org/viewvc/llvm-project?rev=255572=rev
Log:
Update for llvm api change.
Modified:
cfe/trunk/lib/CodeGen/CodeGenAction.cpp
Modified: cfe/trunk/lib/CodeGen/CodeGenAction.cpp
URL:
Author: rafael
Date: Tue Dec 1 13:51:03 2015
New Revision: 254450
URL: http://llvm.org/viewvc/llvm-project?rev=254450=rev
Log:
Update for llvm api change.
Modified:
cfe/trunk/lib/CodeGen/CodeGenAction.cpp
Modified: cfe/trunk/lib/CodeGen/CodeGenAction.cpp
URL:
Author: rafael
Date: Wed Nov 18 00:54:13 2015
New Revision: 253440
URL: http://llvm.org/viewvc/llvm-project?rev=253440=rev
Log:
Update for llvm change.
Modified:
cfe/trunk/include/clang/Lex/HeaderSearchOptions.h
cfe/trunk/lib/CodeGen/CGObjCMac.cpp
Modified:
Author: rafael
Date: Mon Nov 16 03:12:12 2015
New Revision: 253191
URL: http://llvm.org/viewvc/llvm-project?rev=253191=rev
Log:
Update for the gnu flavor being renamed to old-gnu.
Modified:
cfe/trunk/lib/Driver/Tools.cpp
cfe/trunk/test/Driver/amdgpu-toolchain.c
Author: rafael
Date: Sat Oct 24 18:15:31 2015
New Revision: 251214
URL: http://llvm.org/viewvc/llvm-project?rev=251214=rev
Log:
Simplify boolean conditional return statements in lib/Basic.
Patch by Richard.
Modified:
cfe/trunk/lib/Basic/Targets.cpp
Modified: cfe/trunk/lib/Basic/Targets.cpp
Author: rafael
Date: Mon Oct 5 15:20:50 2015
New Revision: 249346
URL: http://llvm.org/viewvc/llvm-project?rev=249346=rev
Log:
Fix the MSVC build.
No idea what asymmetry MSVC is findind.
Modified:
cfe/trunk/unittests/Basic/VirtualFileSystemTest.cpp
Modified:
Author: rafael
Date: Mon Oct 5 06:49:35 2015
New Revision: 249302
URL: http://llvm.org/viewvc/llvm-project?rev=249302=rev
Log:
Use llvm::errc instead of std::errc.
Modified:
cfe/trunk/lib/Frontend/CompilerInstance.cpp
Modified: cfe/trunk/lib/Frontend/CompilerInstance.cpp
URL:
Author: rafael
Date: Fri Sep 18 15:22:36 2015
New Revision: 248029
URL: http://llvm.org/viewvc/llvm-project?rev=248029=rev
Log:
Fix test to pass when the directory name has lld in it.
CHECK-LABEL assumes that there is only one occurrence of the match.
The output looks like:
clang version 3.8.0
Author: rafael
Date: Fri Sep 18 17:01:10 2015
New Revision: 248051
URL: http://llvm.org/viewvc/llvm-project?rev=248051=rev
Log:
Relax the test to get it passing with windows paths.
Modified:
cfe/trunk/test/Driver/amdgpu-toolchain.c
Modified: cfe/trunk/test/Driver/amdgpu-toolchain.c
URL:
Author: rafael
Date: Fri Sep 18 15:55:58 2015
New Revision: 248035
URL: http://llvm.org/viewvc/llvm-project?rev=248035=rev
Log:
Handle lld not being found in PATH.
Modified:
cfe/trunk/test/Driver/amdgpu-toolchain.c
Modified: cfe/trunk/test/Driver/amdgpu-toolchain.c
URL:
Author: rafael
Date: Mon Sep 14 18:21:31 2015
New Revision: 247634
URL: http://llvm.org/viewvc/llvm-project?rev=247634=rev
Log:
[Solaris] Default to -fno-cxa-finalize.
There is no __cxa_finalize symbol available on recent Solaris OS
versions, so we need this flag to make non trivial C++ programs
Author: rafael
Date: Mon Sep 14 14:30:53 2015
New Revision: 247603
URL: http://llvm.org/viewvc/llvm-project?rev=247603=rev
Log:
[Solaris] Add -lc also when linking shared libraries
This is actually needed, otherwise libc won't be added at all. For
instance when building libclang.so all the libc
Author: rafael
Date: Wed Sep 9 08:36:00 2015
New Revision: 247144
URL: http://llvm.org/viewvc/llvm-project?rev=247144=rev
Log:
[Solaris] Use the GCC Installation detector to add the C++ include paths.
Patch by Xan López!
Added:
cfe/trunk/test/Driver/solaris-header-search.cpp
Modified:
Author: rafael
Date: Mon Aug 31 14:17:51 2015
New Revision: 246473
URL: http://llvm.org/viewvc/llvm-project?rev=246473=rev
Log:
Stop hardcoding GCC paths in crt/ld.so lookup.
This patch refactors the code to use the GCC installation detector
(modified so that it works in Solaris), and uses
Author: rafael
Date: Wed Aug 12 20:07:06 2015
New Revision: 244855
URL: http://llvm.org/viewvc/llvm-project?rev=244855view=rev
Log:
Update for llvm api change.
Modified:
cfe/trunk/tools/driver/driver.cpp
Modified: cfe/trunk/tools/driver/driver.cpp
URL:
89 matches
Mail list logo