aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/MCValue.cpp
AgeCommit message (Collapse)AuthorFilesLines
2016-08-22[MC] Remove guard(s). NFCI.Davide Italiano1-2/+0
All the methods are already marked with LLVM_DUMP_METHOD. llvm-svn: 279428
2016-01-29Annotate dump() methods with LLVM_DUMP_METHOD, addressing Richard Smith ↵Yaron Keren1-1/+1
r259192 post commit comment. clang part in r259232, this is the LLVM part of the patch. llvm-svn: 259240
2015-05-27Use operator<< instead of print in a few more places.Rafael Espindola1-2/+2
llvm-svn: 238315
2015-02-05Try to fix the build in MCValue.cppReid Kleckner1-1/+1
llvm-svn: 228256
2015-02-05[MC] Remove various unused MCAsmInfo parameters.Sean Silva1-1/+1
llvm-svn: 228244
2014-05-03Fix pr19645.Rafael Espindola1-0/+18
The fix itself is fairly simple: move getAccessVariant to MCValue so that we replace the old weak expression evaluation with the far more general EvaluateAsRelocatable. This then requires that EvaluateAsRelocatable stop when it finds a non trivial reference kind. And that in turn requires the ELF writer to look harder for weak references. Last but not least, this found a case where we were being bug by bug compatible with gas and accepting an invalid input. I reported pr19647 to track it. llvm-svn: 207920
2014-04-13[C++11] More 'nullptr' conversion or in some cases just using a boolean ↵Craig Topper1-1/+1
check instead of comparing to nullptr. llvm-svn: 206129
2014-03-29MC: add a RefKind field to MCValueTim Northover1-0/+5
This is principally to allow neater mapping of fixups to relocations in ARM64 ELF. Without this, there isn't enough information available to GetRelocType, leading to many more fixup_arm64_... enumerators. llvm-svn: 205085
2012-09-12Release build: guard dump functions withManman Ren1-1/+1
"#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)" No functional change. Update r163344. llvm-svn: 163679
2012-09-06Release build: guard dump functions with "ifndef NDEBUG"Manman Ren1-0/+2
No functional change. llvm-svn: 163344
2010-03-18MCValue: Change to holding MCSymbolRefExprs instead of MCSymbols, we will ↵Daniel Dunbar1-3/+6
need this for accessing to symbol modifiers. llvm-svn: 98791
2010-01-17now that MCSymbol::print doesn't use it's MAI argument, we can Chris Lattner1-5/+3
remove it and change all the code that prints MCSymbols to use << instead, which is much simpler and cleaner. llvm-svn: 93695
2010-01-05Change errs() to dbgs().David Greene1-1/+2
llvm-svn: 92634
2009-09-03Thread an MCAsmInfo pointer through the various MC printing APIs, Chris Lattner1-4/+4
and fix a few things using << on MCSymbols to use ->print(). No functionality change other than unbreaking my previous patch. llvm-svn: 80890
2009-08-14Add MCSymbol::{print, dump}Daniel Dunbar1-3/+7
llvm-svn: 78983
2009-08-14Add MCValue::{print, dump}Daniel Dunbar1-0/+30
llvm-svn: 78982