summaryrefslogtreecommitdiff
path: root/test/CodeGen/debug-info-enum.c
Commit message (Collapse)AuthorAge
* Reapply: DebugInfo: Emit the definition of enums when the definition ↵David Blaikie2014-05-06
| | | | | | | | | | | | | | | | | | | preceeds the declaration and initial use. Reverting r208106 to reapply r208065 with a fix for the regression. The issue was that the enum tried to be built even if the declaration hadn't been constructed for debug info - presenting problems for enum templates and typedefs of enums with names for linkage purposes. Original commit message: This regressed a little further 208055 though it was already a little broken. While the requiresCompleteType optimization should be implemented here. Future (possibly near future) work. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@208114 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert "DebugInfo: Emit the definition of enums when the definition preceeds ↵David Blaikie2014-05-06
| | | | | | | | | | | the declaration and initial use." This is breaking the compiler-rt build. Reverting while I investigate/fix. This reverts commit r208065. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@208106 91177308-0d34-0410-b5e6-96231b3b80d8
* DebugInfo: Emit the definition of enums when the definition preceeds the ↵David Blaikie2014-05-06
| | | | | | | | | | | | declaration and initial use. This regressed a little further 208055 though it was already a little broken. While the requiresCompleteType optimization should be implemented here. Future (possibly near future) work. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@208065 91177308-0d34-0410-b5e6-96231b3b80d8
* DebugInfo: Merge a bad debug info enum test into a good oneDavid Blaikie2013-06-24
| | | | | | The assembly generation testing has been moved to an LLVM test case. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184693 91177308-0d34-0410-b5e6-96231b3b80d8
* Emit debug info for enum constants.Devang Patel2010-08-23
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111852 91177308-0d34-0410-b5e6-96231b3b80d8