[PATCH] D25620: DebugInfo: introduce DIAlignment type

Victor Leschuk via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 14 07:35:35 PDT 2016


vleschuk created this revision.
vleschuk added reviewers: echristo, mehdi_amini, aprantl, dblaikie.
vleschuk added a subscriber: llvm-commits.
Herald added a subscriber: axw.

Introduce DIAlignment typedef, actually change alignment type from uint64_t to uint32_t to save space. In dependent patches we shall have alignment field added to DIVariable family and switching from uint64_t to uint32_t will save 4 bytes per variable.


https://reviews.llvm.org/D25620

Files:
  bindings/go/llvm/DIBuilderBindings.cpp
  bindings/go/llvm/DIBuilderBindings.h
  bindings/go/llvm/dibuilder.go
  include/llvm/IR/DIBuilder.h
  include/llvm/IR/DebugInfoMetadata.h
  lib/AsmParser/LLParser.cpp
  lib/Bitcode/Reader/BitcodeReader.cpp
  lib/CodeGen/AsmPrinter/DwarfUnit.cpp
  lib/IR/DIBuilder.cpp
  lib/IR/DebugInfoMetadata.cpp
  lib/IR/LLVMContextImpl.h
  test/Assembler/ditype-large-values.ll
  unittests/IR/MetadataTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25620.74683.patch
Type: text/x-patch
Size: 47033 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161014/72f671d9/attachment-0001.bin>


More information about the llvm-commits mailing list