diff options
author | Manman Ren <manman.ren@gmail.com> | 2013-10-29 05:49:41 +0000 |
---|---|---|
committer | Manman Ren <manman.ren@gmail.com> | 2013-10-29 05:49:41 +0000 |
commit | 6b713800ff03fdbb1d770d1e00af0e76041f3c03 (patch) | |
tree | 462a07a6ac3170b391694ad292197834134f6ed2 /include/llvm-c | |
parent | b4e591a4a68649a286cd1b08312566db17758158 (diff) | |
download | external_llvm-6b713800ff03fdbb1d770d1e00af0e76041f3c03.zip external_llvm-6b713800ff03fdbb1d770d1e00af0e76041f3c03.tar.gz external_llvm-6b713800ff03fdbb1d770d1e00af0e76041f3c03.tar.bz2 |
Debug Info: instead of calling addToContextOwner which constructs the context
after the DIE creation, we construct the context first.
This touches creation of namespaces and global variables. The purpose is to
handle all DIE creations similarly: constructs the context first, then creates
the DIE and immediately adds the DIE to its parent.
We use createAndAddDIE to wrap around "new DIE(".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193589 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c')
0 files changed, 0 insertions, 0 deletions