[PATCH] D51003: Allow demangler's node allocator to fail, and bail out of the entire demangling process when it does. Use this to support a "lookup" query for the mangling canonicalizer that does not create new nodes.

Richard Smith - zygoloid via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 20 15:19:38 PDT 2018


rsmith created this revision.
rsmith added a reviewer: erik.pilkington.
Herald added a subscriber: llvm-commits.

This could also be used to implement demangling with a fixed-size
temporary storage buffer.

Depends on https://reviews.llvm.org/D50935


Repository:
  rL LLVM

https://reviews.llvm.org/D51003

Files:
  include/llvm/Demangle/ItaniumDemangle.h
  include/llvm/Support/ItaniumManglingCanonicalizer.h
  lib/Support/ItaniumManglingCanonicalizer.cpp
  unittests/Support/ItaniumManglingCanonicalizerTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51003.161584.patch
Type: text/x-patch
Size: 12068 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180820/535d3ea4/attachment.bin>


More information about the llvm-commits mailing list