summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/Inputs/cross-cu-inlining.c
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-03-24 16:44:29 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-03-24 16:44:29 +0000
commita65159ae8e98dfa2bb568416ec429e4b2bb9db47 (patch)
treef9dc4adfe1253431f73fd3002f8c96199a0fb55e /llvm/test/DebugInfo/Inputs/cross-cu-inlining.c
parent19ef0d3b97c49cf6212f51f99a5fea1fe9939b7b (diff)
downloadbcm5719-llvm-a65159ae8e98dfa2bb568416ec429e4b2bb9db47.tar.gz
bcm5719-llvm-a65159ae8e98dfa2bb568416ec429e4b2bb9db47.zip
DebugInfo: Add MDLocalScope, a legal scope for locals
Add a subclass of `MDScope` to explicitly categorize the legal scopes for locals -- in particular, scopes that are legal for `MDLocation`, `MDLexicalBlockBase`, and `MDLocalVariable`. This provides a convenient `isa<>` target for the verifier, and eventually I'll be changing the above classes' `getScope()` to specifically return it. Currently, its subclasses are `MDSubprogram`, `MDLexicalBlock`, and `MDLexicalBlockFile`. I've gone with `MDLocalScope` for now -- a little ambiguous since it's a scope *for* locals, not a scope that's local -- but I'm open to more descriptive names if someone can think of something better. Regardless, the code docs should make it clear enough. llvm-svn: 233092
Diffstat (limited to 'llvm/test/DebugInfo/Inputs/cross-cu-inlining.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud