aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/StackProtector.cpp
diff options
context:
space:
mode:
authorManman Ren <manman.ren@gmail.com>2013-10-29 22:49:29 +0000
committerManman Ren <manman.ren@gmail.com>2013-10-29 22:49:29 +0000
commitf4c339e04a33c85a40c8d0df692614f6d8f56a6a (patch)
treea7e029927e1cb59d45d20bb3269f59fa9f5f4416 /llvm/lib/CodeGen/StackProtector.cpp
parentb504f49448deef18c6c4bd245b8f2a7f5fd81eb9 (diff)
downloadllvm-f4c339e04a33c85a40c8d0df692614f6d8f56a6a.zip
llvm-f4c339e04a33c85a40c8d0df692614f6d8f56a6a.tar.gz
llvm-f4c339e04a33c85a40c8d0df692614f6d8f56a6a.tar.bz2
Debug Info: instead of calling addToContextOwner which constructs the context
after the DIE creation, we construct the context first. Ensure that we create the context before we create a type so that we can add the newly created type to the parent. Remove last use of addToContextOwner now that it's not needed. We use createAndAddDIE to wrap around "new DIE(". Now all shareable DIEs should be added to their parents right after the creation. Reviewed off-list by Eric, Thanks. llvm-svn: 193657
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions