- Nov 15, 2013
-
-
Matt Arsenault authored
llvm-svn: 194749
-
Hans Wennborg authored
This was casuing my release+asserts build on Windows to fail. llvm-svn: 194747
-
- Nov 14, 2013
-
-
Matt Arsenault authored
llvm-svn: 194738
-
David Blaikie authored
llvm-svn: 194737
-
Rui Ueyama authored
Summary: Some machine-type-neutral object files containing only undefined symbols actually do exist in the Windows standard library. Need to recognize them as COFF files. Reviewers: Bigcheese CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2164 llvm-svn: 194734
-
Chad Rosier authored
llvm-svn: 194733
-
David Blaikie authored
llvm-svn: 194728
-
David Blaikie authored
llvm-svn: 194724
-
Tim Northover authored
We used to perform an invalid operation on an MVT and crash, which wasn't much fun. Patch by Oliver Stannard. llvm-svn: 194714
-
Rafael Espindola authored
In ELF and COFF an alias is just another offset in a section. There is no way to represent an alias to something in another file. In MachO, the spec has the N_INDR type which should allow for exactly that, but is not currently implemented. Given that it is specified but not implemented, we error in codegen to avoid miscompiling but don't reject aliases to declarations in the verifier to leave the option open of implementing it. In the past we have used alias to declarations as a way of implementing weakref, which is why it exists in some old tests which this patch updates. llvm-svn: 194705
-
Kostya Serebryany authored
llvm-svn: 194701
-
Evgeniy Stepanov authored
Indirect call wrapping helps MSanDR (dynamic instrumentation companion tool for MSan) to catch all cases where execution leaves a compiler-instrumented module by allowing the tool to rewrite targets of indirect calls. This change is an optimization that skips wrapping for calls when target is inside the current module. This relies on the linker providing symbols at the begin and end of the module code (or code + data, does not really matter). Gold linker provides such symbols by default. GNU (BFD) linker needs a link flag: -Wl,--defsym=__executable_start=0. More info: https://code.google.com/p/memory-sanitizer/wiki/MSanDR#Native_exec llvm-svn: 194697
-
NAKAMURA Takumi authored
llvm-svn: 194693
-
NAKAMURA Takumi authored
llvm-svn: 194692
-
Elena Demikhovsky authored
Added VMOSHDUP/VMOVSLDUP shuffle instructions. llvm-svn: 194691
-
Matt Arsenault authored
llvm-svn: 194688
-
Matt Arsenault authored
llvm-svn: 194684
-
Matt Arsenault authored
llvm-svn: 194683
-
NAKAMURA Takumi authored
llvm-svn: 194681
-
NAKAMURA Takumi authored
llvm-svn: 194680
-
NAKAMURA Takumi authored
llvm-svn: 194679
-
Andrew Trick authored
If a null call target is provided, don't emit a dummy call. This allows the runtime to reserve as little nop space as it needs without the requirement of emitting a call. llvm-svn: 194676
-
Rafael Espindola authored
There is nothing special about quotes and newlines from the object file point of view, only the assembler has to worry about expanding the \n and \". This patch then removes the special handling from the Mangler. llvm-svn: 194667
-
NAKAMURA Takumi authored
llvm-svn: 194662
-
NAKAMURA Takumi authored
llvm-svn: 194661
-
Kevin Qin authored
llvm-svn: 194659
-
Kevin Qin authored
llvm-svn: 194656
-
Nick Kledzik authored
llvm-svn: 194655
-
Michael Gottesman authored
This is useful for debugging issues in the BlockFrequency implementation since one can easily visualize where probability mass and other errors occur in the propagation. llvm-svn: 194654
-
Jiangning Liu authored
llvm-svn: 194648
-
Yunzhong Gao authored
with and without -g. Adding a test case to make sure that the threshold used in the memory dependence analysis is respected. The test case also checks that debug intrinsics are not counted towards this threshold. Differential Revision: http://llvm-reviews.chandlerc.com/D2141 llvm-svn: 194646
-
Nick Kledzik authored
llvm-svn: 194644
-
Yuchen Wu authored
- readInt() should check all 4 bytes can be read, not just 1. - In the event of false data in the gcno file, it was possible to index into a non-existent index of SmallVector, causing assertion error. llvm-svn: 194639
-
Yuchen Wu authored
According to the hazy gcov documentation, it appeared to be technically possible for lines within a block to belong to different source files. However, upon further investigation, gcov does not actually support multiple source files for a single block. This change removes a level of separation between blocks and lines by replacing the StringMap of GCOVLines with a SmallVector of ints representing line numbers. This also means that the GCOVLines class is no longer needed. This paves the way for supporting the "-a" option, which will output block information. llvm-svn: 194637
-
Yuchen Wu authored
Unified the interface for read functions. They all return a boolean indicating if the read from file succeeded. Functions that previously returned the read value now store it into a variable that is passed in by reference instead. Callers will need to check the return value to detect if an error occurred. Also added a new test which ensures that no assertions occur when file contains invalid data. llvm-cov should return with error code 1 upon failure. llvm-svn: 194635
-
Michael Gottesman authored
llvm-svn: 194634
-
Tom Stellard authored
llvm-svn: 194632
-
Reed Kotler authored
constant islands. llvm-svn: 194630
-
Tom Stellard authored
Private address space is emulated using the register file with MOVRELS and MOVRELD instructions. llvm-svn: 194626
-
Tom Stellard authored
All shift operations will be selected as SALU instructions and then if necessary lowered to VALU instructions in the SIFixSGPRCopies pass. This allows us to do more operations on the SALU which will improve performance and is also required for implementing private memory using indirect addressing, since the private memory pointers must stay in the scalar registers. This patch includes some fixes from Matt Arsenault. llvm-svn: 194625
-