summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-01-12 06:42:30 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-01-12 06:42:30 +0000
commit19de5613ea4322377f7460258f2033dde291b609 (patch)
tree751388983821179f2fab0bbf38ce1a80f388037a /clang/lib/CodeGen/CodeGenModule.cpp
parenta7252d836aa2af6db023205dee4b9a287f1037cb (diff)
downloadbcm5719-llvm-19de5613ea4322377f7460258f2033dde291b609.tar.gz
bcm5719-llvm-19de5613ea4322377f7460258f2033dde291b609.zip
Disable caching of visibility.
The testcase in pr14929 shows that this is extremely hard to do. If we choose to apply the attribute, that causes the visibility of some decls to change and that can happen really late (during codegen). Current gcc warns and ignores the attribute in this testcase with a warning. This suggest that the correct solution is to find a point in the compilation where we can compute the visibility and * assert it was never computed before * reject any attempts to compute it again in the future (with warnings). llvm-svn: 172305
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud