- May 29, 2014
-
-
Diego Novillo authored
Summary: These two flags are in the same family as -Rpass, but are used in different situations. -Rpass-missed is used by optimizers to inform the user when they tried to apply an optimization but couldn't (or wouldn't). -Rpass-analysis is used by optimizers to report analysis results back to the user (e.g., why the transformation could not be applied). Depends on D3682. Reviewers: rsmith Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D3683 llvm-svn: 209839
-
Sebastian Pop authored
without this case we would end on an infinite recursion: the remainder is zero, so Numerator - Remainder is equal to Numerator and so we would recursively ask for the division of Numerator by Denominator. llvm-svn: 209838
-
Sebastian Pop authored
when ScalarEvolution::getElementSize returns nullptr it is safe to early return in ScalarEvolution::findArrayDimensions such that we avoid later problems when we try to divide the terms by ElementSize. llvm-svn: 209837
-
-
Greg Fitzgerald authored
You can expect the sanitizers to be built under any of the following conditions: 1) CMAKE_C_COMPILER is GCC built to cross-compile to ARM 2) CMAKE_C_COMPILER is Clang built to cross-compile to ARM (ARM is default target) 3) CMAKE_C_COMPILER is Clang and CMAKE_C_FLAGS contains -target and --sysroot Differential Revision: http://reviews.llvm.org/D3794 llvm-svn: 209835
-
Alexey Samsonov authored
llvm-svn: 209834
-
Greg Clayton authored
Fixed the Module::Module(ModuleSpec) constructor to properly copy the file offset and object file mod time from the actual module specifications so we will always be able to directly load the image we care about when calling Module::GetObjectFile(). llvm-svn: 209833
-
Reid Kleckner authored
This makes it slightly harder to misuse Twines. It is still possible to refer to destroyed temporaries with the regular constructors, though. Patch by Marco Alesiani! llvm-svn: 209832
-
Nico Rieck authored
llvm-svn: 209831
-
Nico Rieck authored
llvm-svn: 209830
-
Adrian Prantl authored
never used again and updating the abstract variable for each inlined instance of it was questionable in the first place. llvm-svn: 209829
-
Diego Novillo authored
llvm-svn: 209828
-
Nico Rieck authored
llvm-svn: 209827
-
Nico Rieck authored
llvm-svn: 209826
-
Nico Rieck authored
Redeclarations cannot add a dll attribute and static data members cannot be defined. llvm-svn: 209825
-
Aaron Ballman authored
No longer allow the -std options to entirely override the -x language option. This allows -x cuda -std=c++11, for instance. llvm-svn: 209824
-
Diego Novillo authored
With -Weverything, the backend remarks are enabled. This was causing spurious diagnostics for remarks that we don't yet handle (cf http://reviews.llvm.org/D3683). This will stop being a problem once http://reviews.llvm.org/D3683 is committed. llvm-svn: 209823
-
Rafael Espindola authored
llvm-svn: 209822
-
Rafael Espindola authored
This seems to match what gcc does for ppc and what every other llvm backend does. This is a fixed version of r209638. The difference is to avoid any change in behavior for functions. The logic for using constant pools for function addresseses is spread over a few places and we have to keep them in sync. llvm-svn: 209821
-
Rafael Espindola authored
This would have found the miscompile in r209638. llvm-svn: 209820
-
Nico Weber authored
llvm-svn: 209819
-
Evgeniy Stepanov authored
llvm-svn: 209818
-
Rafael Espindola authored
This reverts commit r209776. It was miscompiling llvm::SelectionDAGISel::MorphNode. llvm-svn: 209817
-
Alexander Musman authored
llvm-svn: 209816
-
Evgeniy Stepanov authored
llvm-svn: 209815
-
Evgeniy Stepanov authored
llvm-svn: 209814
-
Dmitry Vyukov authored
e.g.: RSS 420 MB: shadow:35 meta:231 file:2 mmap:129 trace:19 heap:0 other:0 nthr=1/31 RSS 365 MB: shadow:3 meta:231 file:2 mmap:106 trace:19 heap:0 other:0 nthr=1/31 RSS 429 MB: shadow:23 meta:234 file:2 mmap:143 trace:19 heap:6 other:0 nthr=1/31 RSS 509 MB: shadow:78 meta:241 file:2 mmap:147 trace:19 heap:19 other:0 nthr=1/31 llvm-svn: 209813
-
Nikola Smiljanic authored
llvm-svn: 209812
-
Dmitry Vyukov authored
llvm-svn: 209811
-
Dmitry Vyukov authored
The new storage (MetaMap) is based on direct shadow (instead of a hashmap + per-block lists). This solves a number of problems: - eliminates quadratic behaviour in SyncTab::GetAndLock (https://code.google.com/p/thread-sanitizer/issues/detail?id=26) - eliminates contention in SyncTab - eliminates contention in internal allocator during allocation of sync objects - removes a bunch of ad-hoc code in java interface - reduces java shadow from 2x to 1/2x - allows to memorize heap block meta info for Java and Go - allows to cleanup sync object meta info for Go - which in turn enabled deadlock detector for Go llvm-svn: 209810
-
Arnaud A. de Grandmaison authored
llvm-svn: 209809
-
Aaron Ballman authored
Fixing a test case which was failing the MSVC build bots. When -std isn't specified with an MSVC build, it defaults to -std=c++11, which overrides the -x cuda option. In turn, this causes all CUDA language option checks to fail. This fix is possibly temporary while we determine whether -x cuda should be considered along with -std=c++11 when setting language options. llvm-svn: 209808
-
Nikola Smiljanic authored
llvm-svn: 209807
-
Timur Iskhodzhanov authored
llvm-svn: 209806
-
Viktor Kutuzov authored
llvm-svn: 209805
-
Viktor Kutuzov authored
llvm-svn: 209804
-
Artyom Skrobov authored
llvm-svn: 209803
-
Artyom Skrobov authored
llvm-svn: 209802
-
Simon Atanasyan authored
field represents ELF section header sh_info field and does not have any sense for regular sections. Its interpretation depends on section type. llvm-svn: 209801
-
Nikola Smiljanic authored
llvm-svn: 209800
-