- Apr 27, 2014
-
-
NAKAMURA Takumi authored
Add the default constructor DwarfAccelTable::DataArray() to initialize (MCSymbol*)StrSym explicitly. It will fix crash in codegen on msvc x64. llvm-svn: 207356
-
NAKAMURA Takumi authored
Revert r206989, "Mark llvm/test/BugPoint/compile-custom.ll as XFAIL:vg_leak." It has been fixed since r207265. llvm-svn: 207355
-
Benjamin Kramer authored
llvm-svn: 207354
-
Alexander Kornienko authored
llvm-svn: 207353
-
Benjamin Kramer authored
llvm-svn: 207352
-
Daniel Jasper authored
Previously this could lead to a column limit violation with the required escaped newlines. llvm-svn: 207351
-
Saleem Abdulrasool authored
Explicitly "implement" the destructor as MSVC does not support defaulted methods yet. llvm-svn: 207350
-
Saleem Abdulrasool authored
This restores the previous behaviour of just assuming that if you dont specify a valid triple that you really meant the default triple with an ELF object file. llvm-svn: 207349
-
Sylvestre Ledru authored
llvm-svn: 207348
-
Saleem Abdulrasool authored
Update lit.cfg with the fact that LLVM can now generate WoA PE/COFF objects. llvm-svn: 207347
-
Saleem Abdulrasool authored
The COFF tests all assume X86. Just move the new COFF tests under ARM to appease the build bots. llvm-svn: 207346
-
Saleem Abdulrasool authored
Introduce support for WoA PE/COFF object file emission from LLVM. Add the new target specific PE/COFF Streamer (ARMWinCOFFStreamer) that handles the ARM specific behaviour of PE/COFF object emission. ARM exception information is not yet emitted and is a TODO item. The ARM specific object writer (ARMWinCOFFObjectWriter) handles the ARM specific relocation handling in conjunction with the WinCOFFObjectWriter in the MC layer. The MC layer needs to be updated to deal with the relocation adjustments. Branch relocations are adjusted by 4 bytes (unlikely their ELF counterparts). Minor tweaks to switch multiple conditional checks into equivalent switch statements. The ObjectFileInfo is updated to relax the object file setup for Windows COFF. Move the architecture checks into an assertion. Windows COFF is currently only supported on x86, x86_64, and ARM (thumb). Rather than defaulting to ELF, we will refuse to generate an object file. This is better though as you do not get an (arbitrary) object file which is different from the request. llvm-svn: 207345
-
Saleem Abdulrasool authored
This introduces a target specific streamer, X86WinCOFFStreamer, which handles the target specific behaviour (e.g. WinEH). This is mostly to ensure that differences between ARM and X86 remain disjoint and do not accidentally cross boundaries. This is the final staging change for enabling object emission for Windows on ARM. llvm-svn: 207344
-
Saleem Abdulrasool authored
This is in preparation for promoting WinCOFFStreamer to a base class which will be shared by the X86 and ARM specific target COFF streamers. Also add a new getOrCreateSymbolData interface (like MCELFStreamer) for the ARM COFF Streamer. This makes the COFFStreamer more similar to the ELFStreamer. llvm-svn: 207343
-
Saleem Abdulrasool authored
Stylistic changes to prepare for splitting up the COFFStreamer into target specific streamers. Tweak some assertion messages. No functional change. llvm-svn: 207342
-
Saleem Abdulrasool authored
Currently, the integrated assembler is the only choice for assembling Windows on ARM binaries. IAS supports the .file <filename> directive which emits the file symbol into the resulting object binary. Mark the GNU COFF information to indicate support for this feature. llvm-svn: 207341
-
NAKAMURA Takumi authored
llvm-svn: 207340
-
Chandler Carruth authored
API requirements much more obvious. The key here is that there are two totally different use cases for mutating the graph. Prior to doing any SCC formation, it is very easy to mutate the graph. There may be users that want to do small tweaks here, and then use the already-built graph for their SCC-based operations. This method remains on the graph itself and is documented carefully as being cheap but unavailable once SCCs are formed. Once SCCs are formed, and there is some in-flight DFS building them, we have to be much more careful in how we mutate the graph. These mutation operations are sunk onto the SCCs themselves, which both simplifies things (the code was already there!) and helps make it obvious that these interfaces are only applicable within that context. The other primary constraint is that the edge being mutated is actually related to the SCC on which we call the method. This helps make it obvious that you cannot arbitrarily mutate some other SCC. I've tried to write much more complete documentation for the interesting mutation API -- intra-SCC edge removal. Currently one aspect of this documentation is a lie (the result list of SCCs) but we also don't even have tests for that API. =[ I'm going to add tests and fix it to match the documentation next. llvm-svn: 207339
-
Benjamin Kramer authored
llvm-svn: 207338
-
Chandler Carruth authored
llvm-svn: 207337
-
Chandler Carruth authored
class. llvm-svn: 207336
-
Chandler Carruth authored
is *much* cleaner, makes the iterator a full random access iterator, etc. llvm-svn: 207335
-
David Blaikie authored
llvm-svn: 207334
-
David Blaikie authored
DebugInfo: Fix and test a regression caused by r207263 causing the DW_AT_object_pointer to go missing on blocks Noticed by inspection. Test coverage added. llvm-svn: 207333
-
Argyrios Kyrtzidis authored
designated initializers in the super class hierarchy then it should return false. rdar://16692535 llvm-svn: 207332
-
Benjamin Kramer authored
It's vital for performance that the cold path of push_back isn't inlined. llvm-svn: 207331
-
Craig Topper authored
llvm-svn: 207330
-
Craig Topper authored
llvm-svn: 207329
-
Dan Liew authored
llvm-svn: 207328
-
Craig Topper authored
llvm-svn: 207327
-
Craig Topper authored
Remove an unused version of getMemIntrinsicNode and getNode. Additionally, these were calling makeVTList with the pointers passed in which would were unlikely to belong to SelectionDAG and likely would have just been stack pointers. llvm-svn: 207326
-
Argyrios Kyrtzidis authored
switch CurContext due to class template instantiation. Fixes crash of the included test case. rdar://16527205 llvm-svn: 207325
-
David Blaikie authored
llvm-svn: 207324
-
David Blaikie authored
Since there's no way to ensure the type unit in the .dwo and the type unit skeleton in the .o are correlated, this cannot work. This implementation is a bit inefficient for a few reasons, called out in comments. llvm-svn: 207323
-
Benjamin Kramer authored
llvm-svn: 207322
-
David Blaikie authored
Sinking addition of the declaration attribute down to where the signature is added. So that if the signature is not added neither is the declaration attribute (this will come in handy when aborting type unit construction to instead emit the type into the CU directly in some cases) Pull out type unit identifier hashing just to simplify the function a little, it'll be getting longer. llvm-svn: 207321
-
- Apr 26, 2014
-
-
Benjamin Kramer authored
Turn vectorization back on. llvm-svn: 207320
-
Alp Toker authored
The change was landed without review or test cases. It trivially broke almost any stable application checking for Severity >= CXDiagnostic_Error or indeed any other kind of severity comparison upon encountering a 'remark'. Mapped to CXDiagnostic_Warning until a workable solution is proposed to the list that preserves API stability. (It's also not clear why the rest of r202475 wasn't simply implemented as a modifier to the existing 'warning' level.) llvm-svn: 207319
-
Benjamin Kramer authored
llvm-svn: 207318
-
Benjamin Kramer authored
This gets us pretty code for divs of i16 vectors. Turn the existing intrinsics into the corresponding nodes. llvm-svn: 207317
-