diff options
author | Reid Kleckner <rnk@google.com> | 2016-05-13 19:37:07 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2016-05-13 19:37:07 +0000 |
commit | 4525fbe22a8cf79cbbeab3ebe905e81aa6c35f1a (patch) | |
tree | dfa09c1fc0dbceaf476a5d3ac0c961bfedaf8343 /llvm/lib/CodeGen | |
parent | 75e52725e44d2eb0be569e67da37ab49fd1bf792 (diff) | |
download | bcm5719-llvm-4525fbe22a8cf79cbbeab3ebe905e81aa6c35f1a.tar.gz bcm5719-llvm-4525fbe22a8cf79cbbeab3ebe905e81aa6c35f1a.zip |
[codeview] Align class and print names of types
Summary: This way we can get rid of one of the fields in the .def file.
Reviewers: llvm-commits
Subscribers: zturner
Differential Revision: http://reviews.llvm.org/D20251
llvm-svn: 269461
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp index 3590d937643..5f1e6714ba7 100644 --- a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp @@ -263,7 +263,7 @@ void CodeViewDebug::emitTypeInformation() { // type here. unsigned ArgListIndex = getNextTypeIndex(); OS.AddComment("Type record length"); - OS.EmitIntValue(StringListRecord::getLayoutSize(), 2); + OS.EmitIntValue(ArgListRecord::getLayoutSize(), 2); OS.AddComment("Leaf type: LF_ARGLIST"); OS.EmitIntValue(LF_ARGLIST, 2); OS.AddComment("Number of arguments"); |