aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/MCLinkerOptimizationHint.cpp
AgeCommit message (Collapse)AuthorFilesLines
2019-01-19Update the file headers across all of the LLVM projects in the monorepoChandler Carruth1-4/+3
to reflect the new license. We understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach. Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository. llvm-svn: 351636
2018-05-21MC: Change object writers to use endian::Writer. NFCI.Peter Collingbourne1-1/+1
Part of PR37466. Differential Revision: https://reviews.llvm.org/D47040 llvm-svn: 332861
2017-02-11[MC] Fix some Clang-tidy modernize and Include What You Use warnings; other ↵Eugene Zelenko1-4/+6
minor fixes (NFC). llvm-svn: 294813
2016-06-26Apply clang-tidy's modernize-loop-convert to lib/MC.Benjamin Kramer1-3/+2
Only minor manual fixes. No functionality change intended. llvm-svn: 273814
2016-06-22Prune some includes from headers and sink some inline functionsReid Kleckner1-0/+26
MCSymbol.h shouldn't pull in MCAssembler.h, just MCFragment.h. MCLinkerOptimizationHint.h shouldn't need MCMachObjectWriter.h. The rest is fixing the fallout. llvm-svn: 273507
2015-06-01MC: Tidy up LOH naming a bit. NFC.Jim Grosbach1-1/+1
llvm-svn: 238800
2015-05-20MC: Take MCSymbol in MachObjectWriter::getSymbolAddress(), NFCDuncan P. N. Exon Smith1-3/+1
Pass through an `MCSymbol` instead of an `MCSymbolData` so we can get rid of the back pointer. llvm-svn: 237750
2015-03-04This file should always have included MCAssembler and not MCStreamer. NFCPete Cooper1-1/+1
llvm-svn: 231194
2015-01-14[cleanup] Re-sort all the #include lines in LLVM usingChandler Carruth1-1/+1
utils/sort_includes.py. I clearly haven't done this in a while, so more changed than usual. This even uncovered a missing include from the InstrProf library that I've added. No functionality changed here, just mechanical cleanup of the include order. llvm-svn: 225974
2014-04-02[ARM64][CollectLOH] Add some comments to explain how the LOHsQuentin Colombet1-0/+8
framework works (for the compiler part), since the design document is not available. llvm-svn: 205379
2014-03-29Detemplatize LOHDirective.Benjamin Kramer1-3/+0
The ARM64 backend uses it only as a container to keep an MCLOHType and Arguments around so give it its own little copy. The other functionality isn't used and we had a crazy method specialization hack in place to keep it working. Unfortunately that was incompatible with MSVC. Also range-ify a couple of loops while at it. llvm-svn: 205114
2014-03-29MachO: Add linker-optimisation hint framework to MC.Tim Northover1-0/+30
Another part of the ARM64 backend (so tests will be following soon). This is currently used by the linker to relax adrp/ldr pairs into nops where possible, though could well be more broadly applicable. llvm-svn: 205084