aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
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
commita6e3a599d150361abc655122258ee21331ef4618 (patch)
tree711f74ab843c51ae4a0a80e80f6d9f97401f79e8 /clang/lib/CodeGen/CodeGenModule.cpp
parentc264d35adcddd2fdafb5d002eb8bc639879078e1 (diff)
downloadllvm-a6e3a599d150361abc655122258ee21331ef4618.zip
llvm-a6e3a599d150361abc655122258ee21331ef4618.tar.gz
llvm-a6e3a599d150361abc655122258ee21331ef4618.tar.bz2
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. llvm-svn: 204555
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions