aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/MCObjectFileInfo.cpp
diff options
context:
space:
mode:
authorSimon Atanasyan <simon@atanasyan.com>2018-10-09 11:29:45 +0000
committerSimon Atanasyan <simon@atanasyan.com>2018-10-09 11:29:45 +0000
commitd465318c6d6faff43885378bdd7fc2b938b3dcbb (patch)
tree83935533b897fd120b5f3f07439c113aaa23d3df /llvm/lib/MC/MCObjectFileInfo.cpp
parentd1d2e45218b8db694299d572946ce2d6ad1fc614 (diff)
downloadllvm-d465318c6d6faff43885378bdd7fc2b938b3dcbb.zip
llvm-d465318c6d6faff43885378bdd7fc2b938b3dcbb.tar.gz
llvm-d465318c6d6faff43885378bdd7fc2b938b3dcbb.tar.bz2
[mips] Set pointer size to 4 bytes for N32 ABI
CodePointerSize and CalleeSaveStackSlotSize values are used in DWARF generation. In case of MIPS it's incorrect to check for Triple::isMIPS64() only this function returns true for N32 ABI too. Now we do not have a method to recognize N32 if it's specified by a command line option and is not a part of a target triple. So we check for Triple::GNUABIN32 only. It's better than nothing. Differential revision: https://reviews.llvm.org/D52874 llvm-svn: 344039
Diffstat (limited to 'llvm/lib/MC/MCObjectFileInfo.cpp')
0 files changed, 0 insertions, 0 deletions