aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2015-08-27 19:59:34 +0000
committerEric Christopher <echristo@gmail.com>2015-08-27 19:59:34 +0000
commit3a98b3c1a5af22396e457d3232d74690f2ed4532 (patch)
tree2fbd78a256e66305243edf8284b29796e9d57d4a /lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
parent5e93e28d8b88ba30613c2bb1d55a7e5b75749626 (diff)
downloadllvm-3a98b3c1a5af22396e457d3232d74690f2ed4532.zip
llvm-3a98b3c1a5af22396e457d3232d74690f2ed4532.tar.gz
llvm-3a98b3c1a5af22396e457d3232d74690f2ed4532.tar.bz2
Rewrite the code generation handling for function feature and cpu attributes.
A couple of changes here: a) Do less work in the case where we don't have a target attribute on the function. We've already canonicalized the attributes for the function - no need to do more work. b) Use the newer canonicalized feature adding functions from TargetInfo to do the work when we do have a target attribute. This enables us to diagnose some warnings in the case of conflicting written attributes (only ppc does this today) and also make sure to get all of the features for a cpu that's listed rather than just change the cpu. Updated all testcases accordingly and added a new testcase to verify that we'll error out on ppc if we have some incompatible options using the existing diagnosis framework there. llvm-svn: 246195
Diffstat (limited to 'lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp')
0 files changed, 0 insertions, 0 deletions