diff options
author | Eric Christopher <echristo@gmail.com> | 2013-11-21 01:14:00 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-11-21 01:14:00 +0000 |
commit | bca5c63d048aca12826ec97771538eb3ea74f11a (patch) | |
tree | 06917bb0289c2381700ed0117ecb3b92e92f2368 /llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h | |
parent | dae2ef47f1e40762bbb8bb6dc2ff5f2409e2d68e (diff) | |
download | bcm5719-llvm-bca5c63d048aca12826ec97771538eb3ea74f11a.tar.gz bcm5719-llvm-bca5c63d048aca12826ec97771538eb3ea74f11a.zip |
Reorder language in the CompileUnit description and add a comment.
Language may only be a temporary addition.
llvm-svn: 195296
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h index 21153862d77..02b984ebf6f 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h @@ -42,6 +42,9 @@ class CompileUnit { /// Node - MDNode for the compile unit. DICompileUnit Node; + /// Language - Language for the translation unit associated with this CU. + uint16_t Language; + /// CUDie - Compile unit debug information entry. /// const OwningPtr<DIE> CUDie; @@ -93,8 +96,6 @@ class CompileUnit { // DIEIntegerOne - A preallocated DIEValue because 1 is used frequently. DIEInteger *DIEIntegerOne; - uint16_t Language; - public: CompileUnit(unsigned UID, DIE *D, DICompileUnit CU, AsmPrinter *A, DwarfDebug *DW, DwarfUnits *DWU); |