summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/StackMaps.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2017-04-28 01:49:42 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2017-04-28 01:49:42 +0000
commitf74d946624f30d60fd3f90a9545a455308931c32 (patch)
tree7b557e0dfc4727fa3d53543984bdcf0e1a1aeaca /llvm/lib/CodeGen/StackMaps.cpp
parent7fca8c0757a5ee5f290844376c7f8c5f3c1ffcfe (diff)
downloadbcm5719-llvm-f74d946624f30d60fd3f90a9545a455308931c32.tar.gz
bcm5719-llvm-f74d946624f30d60fd3f90a9545a455308931c32.zip
Move functionality for handling module maps as inputs from the -emit-module
action to the general FrontendAction infrastructure. This permits applying -E, -ast-dump, -fsyntax-only, and so on to a module map compilation. (The -E form is not currently especially useful yet as there's no good way to take the output and use it to actually build a module.) In order to support this, -cc1 now accepts -x <lang>-module-map in all cases where it accepts -x <lang> for a language we can parse (not ir/ast). And for uniformity, we also accept -x <lang>-header for all such languages (we used to reject for cuda and renderscript), and -x <lang>-cpp-output for all such languages (we used to reject for c, cl, and renderscript). (None of these new alternatives are accepted by the driver yet, so no user-visible changes.) llvm-svn: 301610
Diffstat (limited to 'llvm/lib/CodeGen/StackMaps.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud