- Feb 19, 2014
-
-
Rafael Espindola authored
TargetLoweringBase is implemented in CodeGen, so before this patch we had a dependency fom Target to CodeGen. This would show up as a link failure of llvm-stress when building with -DBUILD_SHARED_LIBS=ON. This fixes pr18900. llvm-svn: 201711
-
Enrico Granata authored
This should clean up the new test failures caused by r201614 llvm-svn: 201710
-
Yunzhong Gao authored
llvm-svn: 201709
-
Ed Maste authored
And add a decorator for llvm.org/pr18200 Patch by John Wolfe. llvm-svn: 201708
-
Ed Maste authored
Implement x86_64 debug register read/write in support of hardware watchpoints. Hoist LinuxThread::TraceNotify code back into POSIXThread::TraceNotify() Patch by John Wolfe. We still need to rework this later to avoid the #ifdef FreeBSD. llvm-reviews.chandlerc.com/D2572 llvm.org/pr16706 llvm-svn: 201706
-
Ed Maste authored
llvm.org/pr18832 llvm-svn: 201705
-
Marshall Clow authored
llvm-svn: 201704
-
Marshall Clow authored
Implement LWG Issue: 2280. begin/end for arrays should be constexpr and noexcept, plus a drive-by fix for cbegin/cend suggested by Peter Sommerlad. llvm-svn: 201703
-
Jordan Rose authored
IdenticalExprChecker now warns if any expressions in a logical or bitwise chain (&&, ||, &, |, or ^) are the same. Unlike the previous patch, this actually checks all subexpressions against each other (an O(N^2) operation, but N is likely to be small). Patch by Daniel Fahlgren! llvm-svn: 201702
-
Jordan Rose authored
This extends the checks for identical expressions to handle identical statements, and compares the consequent and alternative ("then" and "else") branches of an if-statement to see if they are identical, treating a single statement surrounded by braces as equivalent to one without braces. This does /not/ check subsequent branches in an if/else chain, let alone branches that are not consecutive. This may improve in a future patch, but it would certainly take more work. Patch by Daniel Fahlgren! llvm-svn: 201701
-
Rafael Espindola authored
r201608 made llvm corretly handle private globals with MachO. r201622 fixed a bug in it and r201624 and r201625 were changes for using private linkage, assuming that llvm would do the right thing. They all got reverted because r201608 introduced a crash in LTO. This patch includes a fix for that. The issue was that TargetLoweringObjectFile now has to be initialized before we can mangle names of private globals. This is trivially true during the normal codegen pipeline (the asm printer does it), but LTO has to do it manually. llvm-svn: 201700
-
Eli Bendersky authored
The same code (~20 lines) for initializing a TargetOptions object from CodeGen cmdline flags is duplicated 4 times in 4 different tools. This patch moves it into a utility function. Since the CodeGen/CommandFlags.h file defines cl::opt flags in a header, it's a bit of a touchy situation because we should only link them into tools. So this patch puts the init function in the header. llvm-svn: 201699
-
Christian Pirker authored
llvm-svn: 201698
-
Marshall Clow authored
llvm-svn: 201697
-
Ben Langmuir authored
No functional change llvm-svn: 201696
-
Daniel Sanders authored
llvm-svn: 201695
-
Daniel Sanders authored
This is consistent with the way CodeGen acheives this. However, CodeGen always selects mips32 (even when the architecture is mips64). llvm-svn: 201694
-
Alexander Kornienko authored
Thanks to Konrad Kleine for reporting the inconsistency! llvm-svn: 201693
-
Christian Pirker authored
llvm-svn: 201692
-
Ben Langmuir authored
Use camel-case names, remove some dead code, and fix a copy-and-pasted test. llvm-svn: 201691
-
Venkatraman Govindaraju authored
llvm-svn: 201690
-
Daniel Sanders authored
No functional change. llvm-svn: 201689
-
Rafael Espindola authored
Since r201608 got reverted, it is not safe to use private linkage in these cases until it is committed back. llvm-svn: 201688
-
Aaron Ballman authored
llvm-svn: 201687
-
Aaron Ballman authored
llvm-svn: 201686
-
Ben Langmuir authored
Fixes PR18895 llvm-svn: 201685
-
Daniel Sanders authored
llvm-svn: 201684
-
Alexey Samsonov authored
Patch by Viktor Kutuzov! llvm-svn: 201683
-
Daniel Sanders authored
llvm-svn: 201682
-
Cameron McInally authored
llvm-svn: 201681
-
Alexey Samsonov authored
llvm-svn: 201680
-
Logan Chien authored
According to http://gcc.gnu.org/projects/cxx0x.html, override and final keyword was added in gcc 4.7. Thus, we should not use these keywords in gcc 4.6 even when __GXX_EXPERIMENTAL_CXX0X__ is available. llvm-svn: 201679
-
Aaron Ballman authored
llvm-svn: 201678
-
Aaron Ballman authored
Moving the documentation for the enable_if attribute into AttrDocs. Removed the "clang introduces" phrase for style consistency, but otherwise the documentation is identical. llvm-svn: 201677
-
Kostya Serebryany authored
llvm-svn: 201676
-
Kostya Serebryany authored
llvm-svn: 201675
-
Alexey Samsonov authored
llvm-svn: 201674
-
Evgeniy Stepanov authored
Instead of checking stack limits that are not well defined for the main thread, we rely on siginfo::si_code and distance from SP. llvm-svn: 201673
-
Alexey Samsonov authored
llvm-svn: 201672
-
Ed Maste authored
Clang now requires calling CompilerInstance::createVirtualFileSystem before CompilerInstance::createFileManager. llvm-svn: 201671
-