From 39bb84a09793331da8e56e913026e0829f5c1620 Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Thu, 31 Mar 2016 23:56:58 +0000 Subject: Move the DebugEmissionKind enum from DIBuilder into DICompileUnit. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This mostly cosmetic patch moves the DebugEmissionKind enum from DIBuilder into DICompileUnit. DIBuilder is not the right place for this enum to live in — a metadata consumer should not have to include DIBuilder.h. I also added a Verifier check that checks that the emission kind of a DICompileUnit is actually legal. http://reviews.llvm.org/D18612 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265077 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/AsmParser/LLToken.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/AsmParser/LLToken.h') diff --git a/lib/AsmParser/LLToken.h b/lib/AsmParser/LLToken.h index c5a74901985..4df922b1c78 100644 --- a/lib/AsmParser/LLToken.h +++ b/lib/AsmParser/LLToken.h @@ -221,6 +221,7 @@ namespace lltok { DwarfAttEncoding, // DW_ATE_foo DwarfVirtuality, // DW_VIRTUALITY_foo DwarfLang, // DW_LANG_foo + EmissionKind, // lineTablesOnly DwarfOp, // DW_OP_foo DIFlag, // DIFlagFoo DwarfMacinfo, // DW_MACINFO_foo -- cgit v1.2.3