summaryrefslogtreecommitdiff
path: root/lib/Basic/FileSystemStatCache.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-02-26 22:25:45 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-02-26 22:25:45 +0000
commit98cafc64641be338090ca73ad69ba59702dcbc50 (patch)
tree70e3327a4b6e1191636619883b6eaf7a9ec51396 /lib/Basic/FileSystemStatCache.cpp
parentb57e967568a258ac00884522fe439fbbbcfb2d20 (diff)
downloadclang-98cafc64641be338090ca73ad69ba59702dcbc50.tar.gz
clang-98cafc64641be338090ca73ad69ba59702dcbc50.tar.bz2
clang-98cafc64641be338090ca73ad69ba59702dcbc50.tar.xz
Refactor linkage computation in CGObjCMac.cpp.
Before this patch the globals were created with the wrong linkage and patched afterwards. From the comments it looks like something would complain about having an internal GV with no initializer. At least in clang the verifier will only run way after we set the initializer, so that is not a problem. This patch should be a nop. It just figures out the linkage earlier and converts the old calls to setLinkage to asserts. The only case where that is not possible is when we first see a weak import that is then implemented. In that case we have to change the linkage, but that is the only setLinkage left. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202305 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/FileSystemStatCache.cpp')
0 files changed, 0 insertions, 0 deletions