<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm5719-llvm/llvm/tools/llvm-opt-report, branch meklort-10.0.0</title>
<subtitle>Project Ortega BCM5719 LLVM</subtitle>
<id>https://git.raptorcs.com/git/bcm5719-llvm/atom?h=meklort-10.0.0</id>
<link rel='self' href='https://git.raptorcs.com/git/bcm5719-llvm/atom?h=meklort-10.0.0'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/'/>
<updated>2019-09-13T20:52:04+00:00</updated>
<entry>
<title>[llvm-opt-report] Improve error handling</title>
<updated>2019-09-13T20:52:04+00:00</updated>
<author>
<name>Francis Visoiu Mistrih</name>
<email>francisvm@yahoo.com</email>
</author>
<published>2019-09-13T20:52:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=2f9b2eb4b7262c4ea0e6878dd0361e114270fc11'/>
<id>urn:sha1:2f9b2eb4b7262c4ea0e6878dd0361e114270fc11</id>
<content type='text'>
* std::move the error extracted from the parsing creation to avoid asserts
* print a newline after the error message
* create the parser from the metadata

llvm-svn: 371895
</content>
</entry>
<entry>
<title>Rename F_{None,Text,Append} to OF_{None,Text,Append}. NFC</title>
<updated>2019-08-05T05:43:48+00:00</updated>
<author>
<name>Fangrui Song</name>
<email>maskray@google.com</email>
</author>
<published>2019-08-05T05:43:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=d9b948b6eb7362f36264b71795dab179906e36be'/>
<id>urn:sha1:d9b948b6eb7362f36264b71795dab179906e36be</id>
<content type='text'>
F_{None,Text,Append} are kept for compatibility since r334221.

llvm-svn: 367800
</content>
</entry>
<entry>
<title>[Remarks][NFC] Rename remarks::Parser to remarks::RemarkParser</title>
<updated>2019-07-25T00:16:56+00:00</updated>
<author>
<name>Francis Visoiu Mistrih</name>
<email>francisvm@yahoo.com</email>
</author>
<published>2019-07-25T00:16:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=ab56cf89142d84add96236dc71a405f1b95b9e1e'/>
<id>urn:sha1:ab56cf89142d84add96236dc71a405f1b95b9e1e</id>
<content type='text'>
llvm-svn: 366965
</content>
</entry>
<entry>
<title>[Remarks] Simplify the creation of remark serializers</title>
<updated>2019-07-24T16:36:35+00:00</updated>
<author>
<name>Francis Visoiu Mistrih</name>
<email>francisvm@yahoo.com</email>
</author>
<published>2019-07-24T16:36:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=c5cc9efa075b6fcd8cfe16d59764dcbebc949b8c'/>
<id>urn:sha1:c5cc9efa075b6fcd8cfe16d59764dcbebc949b8c</id>
<content type='text'>
Introduce two new functions to create a serializer, and add support for
more combinations to the YAMLStrTabSerializer.

llvm-svn: 366919
</content>
</entry>
<entry>
<title>[Remarks] Simplify and refactor the RemarkParser interface</title>
<updated>2019-07-16T15:25:05+00:00</updated>
<author>
<name>Francis Visoiu Mistrih</name>
<email>francisvm@yahoo.com</email>
</author>
<published>2019-07-16T15:25:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=94bad22c2c66f2178e0364c5f502f0225c1ede8e'/>
<id>urn:sha1:94bad22c2c66f2178e0364c5f502f0225c1ede8e</id>
<content type='text'>
Before, everything was based on some kind of type erased parser
implementation which container a lot of boilerplate code when multiple
formats were to be supported.

This simplifies it by:

* the remark now owns its arguments
* *always* returning an error from the implementation side
* working around the way the YAML parser reports errors: catch them through
callbacks and re-insert them in a proper llvm::Error
* add a CParser wrapper that is used when implementing the C API to
avoid cluttering the C++ API with useless state
* LLVMRemarkParserGetNext now returns an object that needs to be
released to avoid leaking resources
* add a new API to dispose of a remark entry: LLVMRemarkEntryDispose

llvm-svn: 366217
</content>
</entry>
<entry>
<title>[Remarks][NFC] Combine ParserFormat and SerializerFormat</title>
<updated>2019-07-16T15:24:59+00:00</updated>
<author>
<name>Francis Visoiu Mistrih</name>
<email>francisvm@yahoo.com</email>
</author>
<published>2019-07-16T15:24:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=cc909812a39d26ba4bcc8aaa49096155802c4521'/>
<id>urn:sha1:cc909812a39d26ba4bcc8aaa49096155802c4521</id>
<content type='text'>
It's useless to have both.

llvm-svn: 366216
</content>
</entry>
<entry>
<title>[Remarks] Require an explicit format to the parser</title>
<updated>2019-07-04T00:31:03+00:00</updated>
<author>
<name>Francis Visoiu Mistrih</name>
<email>francisvm@yahoo.com</email>
</author>
<published>2019-07-04T00:31:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=312f1d7d7c572c4077659d30e66278fd9761940e'/>
<id>urn:sha1:312f1d7d7c572c4077659d30e66278fd9761940e</id>
<content type='text'>
Make the parser require an explicit format.

This allows new formats to be easily added by following YAML as an
example.

llvm-svn: 365102
</content>
</entry>
<entry>
<title>[CommandLineParser] Add DefaultOption flag</title>
<updated>2019-04-15T17:18:10+00:00</updated>
<author>
<name>Don Hinton</name>
<email>hintonda@gmail.com</email>
</author>
<published>2019-04-15T17:18:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=b85f74a283a62246d60083f52c779171a65a091c'/>
<id>urn:sha1:b85f74a283a62246d60083f52c779171a65a091c</id>
<content type='text'>
Summary: Add DefaultOption flag to CommandLineParser which provides a
default option or alias, but allows users to override it for some
other purpose as needed.

Also, add `-h` as a default alias to `-help`, which can be seamlessly
overridden by applications like llvm-objdump and llvm-readobj which
use `-h` as an alias for other options.

(relanding after revert, r358414)
Added DefaultOptions.clear() to reset().

Reviewers: alexfh, klimek

Reviewed By: klimek

Subscribers: kristina, MaskRay, mehdi_amini, inglorion, dexonsmith, hiraditya, llvm-commits, jhenderson, arphaman, cfe-commits

Tags: #clang, #llvm

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

llvm-svn: 358428
</content>
</entry>
<entry>
<title>Revert r358337: "[CommandLineParser] Add DefaultOption flag"</title>
<updated>2019-04-15T14:43:50+00:00</updated>
<author>
<name>Ilya Biryukov</name>
<email>ibiryukov@google.com</email>
</author>
<published>2019-04-15T14:43:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=70921d4a86e0cbe4978e4306984e9923411dfff2'/>
<id>urn:sha1:70921d4a86e0cbe4978e4306984e9923411dfff2</id>
<content type='text'>
The change causes test failures under asan. Reverting to unbreak our
integrate.

llvm-svn: 358414
</content>
</entry>
<entry>
<title>[CommandLineParser] Add DefaultOption flag</title>
<updated>2019-04-13T16:55:28+00:00</updated>
<author>
<name>Don Hinton</name>
<email>hintonda@gmail.com</email>
</author>
<published>2019-04-13T16:55:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=7d2021defcad20f79929c211de4c593c6073a906'/>
<id>urn:sha1:7d2021defcad20f79929c211de4c593c6073a906</id>
<content type='text'>
Summary: Add DefaultOption flag to CommandLineParser which provides a
default option or alias, but allows users to override it for some
other purpose as needed.

Also, add `-h` as a default alias to `-help`, which can be seamlessly
overridden by applications like llvm-objdump and llvm-readobj which
use `-h` as an alias for other options.

Reviewers: alexfh, klimek

Reviewed By: klimek

Subscribers: MaskRay, mehdi_amini, inglorion, dexonsmith, hiraditya, llvm-commits, jhenderson, arphaman, cfe-commits

Tags: #clang, #llvm

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

llvm-svn: 358337
</content>
</entry>
</feed>
