summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/IdentifierTable.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-06-13 02:16:18 +0000
committerDevang Patel <dpatel@apple.com>2009-06-13 02:16:18 +0000
commit64e6529e76e33fef1447a0bb6a8e53469eaf4a9e (patch)
tree5065392af5a6a791f5a17c84a86d7b5d98d26600 /clang/lib/Basic/IdentifierTable.cpp
parent15201f19bae9b686eb0f29942c419137216fde98 (diff)
downloadbcm5719-llvm-64e6529e76e33fef1447a0bb6a8e53469eaf4a9e.tar.gz
bcm5719-llvm-64e6529e76e33fef1447a0bb6a8e53469eaf4a9e.zip
llvm.dbg.region.end() intrinsic is not required to be in _last_ basic block in a function. If that happens then any basic block that follows (lexically) the block with regin.end will not have scope info available. LexicalScopeStack relies on processing basic block in CFG order, but this processing order is not guaranteed. Things get complicated when the optimizer gets a chance to optimizer IR with dbg intrinsics.
Apply defensive patch to preserve at least one lexical scope till the end of function. llvm-svn: 73282
Diffstat (limited to 'clang/lib/Basic/IdentifierTable.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud