summaryrefslogtreecommitdiff
path: root/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-04-29 12:46:50 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-04-29 12:46:50 +0000
commit1c5f439f417f7d60e399886e769fa59283a0913b (patch)
tree49c6e0b371c4dfcc2876f7c0f4199cdcf9adc3b2 /lib/Bitcode/Writer/BitcodeWriter.cpp
parent65baf804ba6ac8284c0e0f63c42cfb3b85aa89b0 (diff)
downloadllvm-1c5f439f417f7d60e399886e769fa59283a0913b.tar.gz
llvm-1c5f439f417f7d60e399886e769fa59283a0913b.tar.bz2
llvm-1c5f439f417f7d60e399886e769fa59283a0913b.tar.xz
Centralize the handling of the thumb bit.
This patch centralizes the handling of the thumb bit around MCStreamer::isThumbFunc and makes isThumbFunc handle aliases. This fixes a corner case, but the main advantage is having just one way to check if a MCSymbol is thumb or not. This should still be refactored to be ARM only, but at least now it is just one predicate that has to be refactored instead of 3 (isThumbFunc, ELF_Other_ThumbFunc, and SF_ThumbFunc). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207522 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions