summaryrefslogtreecommitdiff
path: root/lib/ProfileData
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-03-23 03:33:20 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-03-23 03:33:20 +0000
commit4ff2dadebed5b428689bb6651b8f83688ce2d934 (patch)
tree9263a7f487af3d16197e6e3ed5b1f2aeb590d3ff /lib/ProfileData
parentc8ca83201c1d245f72b89bd07e79ec9b199cad8d (diff)
downloadllvm-4ff2dadebed5b428689bb6651b8f83688ce2d934.tar.gz
llvm-4ff2dadebed5b428689bb6651b8f83688ce2d934.tar.bz2
llvm-4ff2dadebed5b428689bb6651b8f83688ce2d934.tar.xz
Propagate types from symbol to aliases.
This is similar, but not identical to what gas does. The logic in MC is to just compute the symbol table after parsing the entire file. GAS is mixed, given .type b, @object a = b b: .type b, @function It will propagate the change and make 'a' a function. Given .type b, @object b: a = b .type b, @function the type of 'a' is still object. Since we do the computation in the end, we produce a function in both cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204555 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ProfileData')
0 files changed, 0 insertions, 0 deletions