<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/lib/BinaryFormat/MsgPackDocument.cpp, branch users/nico/python-2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/'/>
<entry>
<title>[MsgPack] Handle Expected&lt;T&gt; errors in document reader (#73183)</title>
<updated>2023-11-28T18:13:05+00:00</updated>
<author>
<name>Emma Pilkington</name>
<email>emma.pilkington95@gmail.com</email>
</author>
<published>2023-11-28T18:13:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=6c62f7cbfb3a4dc12cee2f6c02191b83047321d9'/>
<id>6c62f7cbfb3a4dc12cee2f6c02191b83047321d9</id>
<content type='text'>
This was causing an assert on invalid in the modified test case.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This was causing an assert on invalid in the modified test case.</pre>
</div>
</content>
</entry>
<entry>
<title>[MsgPack] Add support for writing binary ELF doc nodes</title>
<updated>2023-04-20T07:24:39+00:00</updated>
<author>
<name>Martin Dinkov</name>
<email>martin.dinkov@amd.com</email>
</author>
<published>2022-11-08T14:15:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=9d52f69afef64776b830bb9adc4e1737ff8fc426'/>
<id>9d52f69afef64776b830bb9adc4e1737ff8fc426</id>
<content type='text'>
Will be used for a front-end compiler
https://github.com/GPUOpen-Drivers/llpc
to insert a binary blob value into AMDGPU PAL metadata.

Differential Revision: https://reviews.llvm.org/D148607

Change-Id: I90685883d1478335937218e6b1a569b1b26dc05a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Will be used for a front-end compiler
https://github.com/GPUOpen-Drivers/llpc
to insert a binary blob value into AMDGPU PAL metadata.

Differential Revision: https://reviews.llvm.org/D148607

Change-Id: I90685883d1478335937218e6b1a569b1b26dc05a
</pre>
</div>
</content>
</entry>
<entry>
<title>msgpack: Improve error for empty node</title>
<updated>2020-10-27T11:57:00+00:00</updated>
<author>
<name>Sebastian Neubauer</name>
<email>sebastian.neubauer@amd.com</email>
</author>
<published>2020-10-27T10:30:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=673f2f702b03be8c003889cbb5923e111c3e24d0'/>
<id>673f2f702b03be8c003889cbb5923e111c3e24d0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[MsgPack] Added convenience assignment to MsgPackDocument</title>
<updated>2020-05-21T21:13:19+00:00</updated>
<author>
<name>Tim Renouf</name>
<email>tpr@botech.co.uk</email>
</author>
<published>2020-05-18T13:13:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=db16eb33ce43792e0758edf958bbb175eb6a60e2'/>
<id>db16eb33ce43792e0758edf958bbb175eb6a60e2</id>
<content type='text'>
This commit increases the convenience of using the MsgPackDocument API,
especially when creating a document for writing out.

It adds direct assignment of bool, integer and string types to a
DocNode, as long as that DocNode is already inside a document, e.g. the
result of a map lookup. It also adds map lookup given an integer type
(it already had that for string).

So, to assign a string to a map element whose key is an int, you can
now write
  MyMap[42] = "towel";
instead of
  MyMap[MyMap.getDocument()-&gt;getNode(42)] =
      MyMap.getDocument()-&gt;getNode("towel");

Also added MapDocNode::erase methods.

Differential Revision: https://reviews.llvm.org/D80121

Change-Id: I17301fa15bb9802231c52542798af5b54beb583e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit increases the convenience of using the MsgPackDocument API,
especially when creating a document for writing out.

It adds direct assignment of bool, integer and string types to a
DocNode, as long as that DocNode is already inside a document, e.g. the
result of a map lookup. It also adds map lookup given an integer type
(it already had that for string).

So, to assign a string to a map element whose key is an int, you can
now write
  MyMap[42] = "towel";
instead of
  MyMap[MyMap.getDocument()-&gt;getNode(42)] =
      MyMap.getDocument()-&gt;getNode("towel");

Also added MapDocNode::erase methods.

Differential Revision: https://reviews.llvm.org/D80121

Change-Id: I17301fa15bb9802231c52542798af5b54beb583e
</pre>
</div>
</content>
</entry>
<entry>
<title>[MsgPack] MsgPackDocument::readFromBlob now merges</title>
<updated>2020-05-21T20:26:26+00:00</updated>
<author>
<name>Tim Renouf</name>
<email>tpr.ll@botech.co.uk</email>
</author>
<published>2020-05-21T19:31:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=e79d002309cb52b12f9bf4e205ffc9805e2223d7'/>
<id>e79d002309cb52b12f9bf4e205ffc9805e2223d7</id>
<content type='text'>
The readFromBlob method can now be used to read MsgPack into a Document
that already contains something, merging the two. There is a new Merger
argument to readFromBlob, a callback function to resolve conflicts.

Differential Revision: https://reviews.llvm.org/D79671

Change-Id: Icf3e959217fe33cd907a41516c0386aef2847c0c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The readFromBlob method can now be used to read MsgPack into a Document
that already contains something, merging the two. There is a new Merger
argument to readFromBlob, a callback function to resolve conflicts.

Differential Revision: https://reviews.llvm.org/D79671

Change-Id: Icf3e959217fe33cd907a41516c0386aef2847c0c
</pre>
</div>
</content>
</entry>
<entry>
<title>[MsgPack] New MsgPackDocument class</title>
<updated>2019-03-13T18:54:47+00:00</updated>
<author>
<name>Tim Renouf</name>
<email>tpr.llvm@botech.co.uk</email>
</author>
<published>2019-03-13T18:54:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=4ced8de17c5f9f1ec3faab0ea5fbe240ae9da611'/>
<id>4ced8de17c5f9f1ec3faab0ea5fbe240ae9da611</id>
<content type='text'>
Summary:
A class that exposes a simple in-memory representation of a document of
MsgPack objects, that can be read from and written to MsgPack, read from
and written to YAML, and inspected and modified in memory. This is
intended to be a lighter-weight (in terms of memory allocations)
replacement for MsgPackTypes.

Two subsequent changes will:
1. switch AMDGPU HSA metadata to using MsgPackDocument instead of
   MsgPackTypes;
2. add MsgPack AMDGPU PAL metadata via MsgPackDocument.

Differential Revision: https://reviews.llvm.org/D57023

Change-Id: Ie15a054831d5a6467c5867c064c8f8f6b80270e1
llvm-svn: 356080
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
A class that exposes a simple in-memory representation of a document of
MsgPack objects, that can be read from and written to MsgPack, read from
and written to YAML, and inspected and modified in memory. This is
intended to be a lighter-weight (in terms of memory allocations)
replacement for MsgPackTypes.

Two subsequent changes will:
1. switch AMDGPU HSA metadata to using MsgPackDocument instead of
   MsgPackTypes;
2. add MsgPack AMDGPU PAL metadata via MsgPackDocument.

Differential Revision: https://reviews.llvm.org/D57023

Change-Id: Ie15a054831d5a6467c5867c064c8f8f6b80270e1
llvm-svn: 356080
</pre>
</div>
</content>
</entry>
</feed>
