summaryrefslogtreecommitdiff
path: root/include/llvm/Support
diff options
context:
space:
mode:
authorTimur Iskhodzhanov <timurrrr@google.com>2013-12-19 11:37:14 +0000
committerTimur Iskhodzhanov <timurrrr@google.com>2013-12-19 11:37:14 +0000
commite493a9976c6ff5aa7852c6c6f512b0ff60e3f5ce (patch)
tree795cdbcb5ca3290e70174af4a34c7b0d8a9dada0 /include/llvm/Support
parent7ec73b1145bb666a9f1048d044be44e03b6f40c5 (diff)
downloadllvm-e493a9976c6ff5aa7852c6c6f512b0ff60e3f5ce.tar.gz
llvm-e493a9976c6ff5aa7852c6c6f512b0ff60e3f5ce.tar.bz2
llvm-e493a9976c6ff5aa7852c6c6f512b0ff60e3f5ce.tar.xz
Teach the llvm-readobj COFF dumper to dump debug line tables from object files
Reviewed at http://llvm-reviews.chandlerc.com/D2425 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197674 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support')
-rw-r--r--include/llvm/Support/COFF.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/llvm/Support/COFF.h b/include/llvm/Support/COFF.h
index 9cc3989df0..2de01000a7 100644
--- a/include/llvm/Support/COFF.h
+++ b/include/llvm/Support/COFF.h
@@ -611,6 +611,13 @@ namespace COFF {
}
};
+ enum CodeViewLineTableIdentifiers {
+ DEBUG_SECTION_MAGIC = 0x4,
+ DEBUG_LINE_TABLE_SUBSECTION = 0xF2,
+ DEBUG_STRING_TABLE_SUBSECTION = 0xF3,
+ DEBUG_INDEX_SUBSECTION = 0xF4
+ };
+
} // End namespace COFF.
} // End namespace llvm.