summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/BuildLibCalls.cpp
diff options
context:
space:
mode:
authorPete Cooper <peter_cooper@apple.com>2016-01-19 19:46:41 +0000
committerPete Cooper <peter_cooper@apple.com>2016-01-19 19:46:41 +0000
commit0872e46c9d7e296fe3470cf1411e6c7fc49eee42 (patch)
treea8f8997d0c18b00bb28ae222a86e34eaff68231b /llvm/lib/Transforms/Utils/BuildLibCalls.cpp
parentd3112a5bcccfa0f93ab6c8bf5c45b65202b23573 (diff)
downloadbcm5719-llvm-0872e46c9d7e296fe3470cf1411e6c7fc49eee42.tar.gz
bcm5719-llvm-0872e46c9d7e296fe3470cf1411e6c7fc49eee42.zip
Set the objc constraint on the context based on the parsed files.
Like arch, os, etc, when we know we are going to use a file, we check that the file has compatible objc constraints to the context, throw appropriate errors where that is not the case, and hopefully set the objc constraints on the context for use later. Added 2 tests to ensure that we don't have incompatibilities between host and simulator code as both will get x86 based architectures. llvm-svn: 258173
Diffstat (limited to 'llvm/lib/Transforms/Utils/BuildLibCalls.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud