summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MC: Switch to using MCInst fragments to do relaxation.Daniel Dunbar2010-03-232-78/+78
| | | | | | Also, both MCMachOStreamer and MCAssembler are now target independent! llvm-svn: 99256
* Since we now may have basicblocks with the same block is in different function,Zhongxing Xu2010-03-237-19/+62
| | | | | | | change the block counter map from unsigned -> unsigned to <StackFrameContext*, unsigned> -> unsigned. llvm-svn: 99255
* Baby steps towards making thunks be emitted from the new vtable layout code.Anders Carlsson2010-03-232-9/+18
| | | | llvm-svn: 99254
* Some renames.Anders Carlsson2010-03-231-19/+18
| | | | llvm-svn: 99253
* Always emit associated thunks when emitting the function itself. Remove ↵Anders Carlsson2010-03-234-43/+15
| | | | | | getVtableAddressPoint, it's not used. llvm-svn: 99252
* Rename MaybeEmitVtable to EmitVTableRelatedData in preparation for making it ↵Anders Carlsson2010-03-233-3/+5
| | | | | | emit thunks as well. llvm-svn: 99251
* Rename CGVtableInfo to CodeGenVTables in preparation of adding another ↵Anders Carlsson2010-03-2313-87/+85
| | | | | | VTableInfo class. llvm-svn: 99250
* MC: Add TargetAsmBackend::MayNeedRelaxation, for checking whether a ↵Daniel Dunbar2010-03-235-5/+45
| | | | | | particular instruction + fixups might need relaxation. llvm-svn: 99249
* MC: Add TargetAsmBackend::WriteNopData and use to eliminate some target ↵Daniel Dunbar2010-03-234-64/+80
| | | | | | dependencies in MCMachOStreamer and MCAssembler. llvm-svn: 99248
* MC: Add TargetAsmBackend::RelaxInstruction callback, and custom X86 ↵Daniel Dunbar2010-03-232-0/+57
| | | | | | implementation. llvm-svn: 99245
* MC: Tweak MCInstFragment to include the encoded data and fixups, so that we ↵Daniel Dunbar2010-03-232-21/+42
| | | | | | don't need to recompute them during relaxation. I will revisit this once all the other pieces of fast relaxation are in place. llvm-svn: 99244
* For forward-declared static inline functions, delay CFG-based warnings until weTed Kremenek2010-03-233-8/+26
| | | | | | encounter a definition. llvm-svn: 99243
* Tweak null dereference diagnostics to give clearer diagnostics whenTed Kremenek2010-03-234-40/+61
| | | | | | a null dereference results from a field access. llvm-svn: 99236
* Only perform CFG-based warnings on 'static inline' functions thatTed Kremenek2010-03-239-68/+159
| | | | | | | are called (transitively) by regular functions/blocks within a translation untion. llvm-svn: 99233
* Put MCSectionCOFF::Name into the MCContext instead of leaking it.Jeffrey Yasskin2010-03-222-5/+8
| | | | llvm-svn: 99231
* Set the relevent attributes declared in class extensionFariborz Jahanian2010-03-222-0/+20
| | | | | | | and fix a missing diagnostics on assigning to a read-only property. Fixes radar 7766184. llvm-svn: 99230
* MC: Add MCInstFragment, not used yet.Daniel Dunbar2010-03-223-6/+124
| | | | llvm-svn: 99229
* Add a FIXME.Daniel Dunbar2010-03-221-0/+14
| | | | llvm-svn: 99228
* Fix PR6673: updating the callback should not clear the map.Chris Lattner2010-03-222-1/+28
| | | | llvm-svn: 99227
* A fixed version of r99174 which also includes a test that we emit vtables whenRafael Espindola2010-03-223-2/+44
| | | | | | we see an specialization definition ever if we then see a extern template declaration. llvm-svn: 99226
* Emit DW_AT_low_pc and DW_AT_high_pc attributes for TAG_compile_unit.Devang Patel2010-03-222-4/+17
| | | | llvm-svn: 99225
* Fix 80 col violation.Evan Cheng2010-03-221-1/+1
| | | | llvm-svn: 99224
* DW_AT_stmt_list attribute attached with a compile unit encodes offset of ↵Devang Patel2010-03-224-77/+4
| | | | | | line number information for this compile unit in debug_line section. This offset is always zero when only one compile unit is emitted in a object file. llvm-svn: 99223
* Disable the emission of frontend warnings (not errors) under --analyze.Ted Kremenek2010-03-221-0/+5
| | | | | | Fixes <rdar://problem/7405601>. llvm-svn: 99222
* Improve the diagnostics for the UndefinedAssignmentChecker when anTed Kremenek2010-03-222-11/+34
| | | | | | uninitialized value is used in the LHS of a compound assignment. llvm-svn: 99221
* MC: Fix a few more cases we were passing an MCDataFragment when a MCFragment ↵Daniel Dunbar2010-03-222-5/+6
| | | | | | would do, and sprinkle in some const. llvm-svn: 99218
* Simplify.Daniel Dunbar2010-03-221-4/+2
| | | | llvm-svn: 99217
* MCInst: Add ::dump_pretty.Daniel Dunbar2010-03-223-17/+29
| | | | llvm-svn: 99216
* Comment the reasons for the strange little dance we do with the main file ↵Douglas Gregor2010-03-221-0/+4
| | | | | | name for debug information llvm-svn: 99215
* Reduce indentation.Evan Cheng2010-03-221-35/+34
| | | | llvm-svn: 99214
* (re)implement PR6542, accepting and discarding the __gcc_tdiag__Chris Lattner2010-03-222-0/+12
| | | | | | format attribute specifier. llvm-svn: 99213
* merge some tests.Chris Lattner2010-03-223-38/+36
| | | | llvm-svn: 99212
* rename testChris Lattner2010-03-221-0/+0
| | | | llvm-svn: 99211
* Diagnose miuse of property dot-syntax instead of crashing.Fariborz Jahanian2010-03-223-1/+10
| | | | | | (radar 7634653). llvm-svn: 99210
* merge two tests.Chris Lattner2010-03-222-23/+21
| | | | llvm-svn: 99209
* rename test.Chris Lattner2010-03-221-0/+0
| | | | llvm-svn: 99208
* revert r98661, gcc_tdiag is not an attribute (PR6542).Chris Lattner2010-03-221-1/+0
| | | | | | Will fix correctly now that I have a testcase llvm-svn: 99207
* Change intrinsic result type for void to store it as an empty listChris Lattner2010-03-224-52/+57
| | | | | | | instead of as a single element list with VoidTy. Now with a fix for the verifier. llvm-svn: 99206
* MC: Change MCObjectWriter::RecordRelocation to take an MCFragment (instead ↵Daniel Dunbar2010-03-224-17/+17
| | | | | | of a MCDataFragment). Object files should only need the generic MCFragment features. llvm-svn: 99205
* MC/Mach-O: Factor out getOrCreateDataFragment().Daniel Dunbar2010-03-221-16/+18
| | | | llvm-svn: 99204
* MC: Eliminate MCFragment::getMaxFileSize.Daniel Dunbar2010-03-222-34/+8
| | | | llvm-svn: 99203
* MC: Share the MCAsmLayout object, although its still not used for anything ↵Daniel Dunbar2010-03-222-18/+14
| | | | | | important. llvm-svn: 99202
* Rename one more NEON instruction that I missed earlier.Bob Wilson2010-03-221-1/+1
| | | | llvm-svn: 99201
* move a test to a more appropriate directoryChris Lattner2010-03-221-0/+0
| | | | llvm-svn: 99200
* More work on thunks; almost there now.Anders Carlsson2010-03-221-9/+34
| | | | llvm-svn: 99199
* Fixes access rues for ivars declared in classFariborz Jahanian2010-03-224-8/+21
| | | | | | implementations (radar 7547942). llvm-svn: 99198
* hopefully fix this on non-sse2 hosts. Shouldn't an apple-darwin10 Chris Lattner2010-03-221-1/+1
| | | | | | triple imply sse2? llvm-svn: 99197
* Fix a memory leak from DIE::addSiblingOffset() by adding the DIEValueJeffrey Yasskin2010-03-223-5/+9
| | | | | | it allocates to DwarfDebug::DIEValues. llvm-svn: 99196
* 80 col violation.Evan Cheng2010-03-221-1/+2
| | | | llvm-svn: 99195
* Test for my last patch.Fariborz Jahanian2010-03-221-0/+15
| | | | llvm-svn: 99194
OpenPOWER on IntegriCloud