[PATCH] D43060: [CodeView] Lower type for dwarf::DW_TAG_restrict_type type

Aaron Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 7 19:05:31 PST 2018


asmith created this revision.
asmith added reviewers: zturner, llvm-commits.
Herald added a subscriber: JDevlieghere.

- Add Restrict(0x0008) to ModiferOptions enum

- Modify CodeViewDebug::lowerTypeModifier to support restrict type

- Append ` __resrict` to type name. For example, the name for `int& __restrict` type will be `int& __restrict` other than `__restrict int&`

- Support restrict type display in PDBSymbolTypePointer dumper


Repository:
  rL LLVM

https://reviews.llvm.org/D43060

Files:
  include/llvm/DebugInfo/CodeView/CodeView.h
  include/llvm/DebugInfo/CodeView/TypeRecord.h
  lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
  lib/DebugInfo/CodeView/RecordName.cpp
  lib/DebugInfo/CodeView/TypeDumpVisitor.cpp
  lib/ObjectYAML/CodeViewYAMLTypes.cpp
  test/DebugInfo/COFF/modifiers.ll
  tools/llvm-pdbutil/PrettyFunctionDumper.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43060.133358.patch
Type: text/x-patch
Size: 14689 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180208/ba45eaea/attachment.bin>


More information about the llvm-commits mailing list