<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm5719-llvm/clang/utils/ABITest, branch meklort-10.0.1</title>
<subtitle>Project Ortega BCM5719 LLVM</subtitle>
<id>https://git.raptorcs.com/git/bcm5719-llvm/atom?h=meklort-10.0.1</id>
<link rel='self' href='https://git.raptorcs.com/git/bcm5719-llvm/atom?h=meklort-10.0.1'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/'/>
<updated>2018-12-18T16:07:37+00:00</updated>
<entry>
<title>Portable Python script across Python version</title>
<updated>2018-12-18T16:07:37+00:00</updated>
<author>
<name>Serge Guelton</name>
<email>sguelton@quarkslab.com</email>
</author>
<published>2018-12-18T16:07:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=b748c0e696602cd8371c875a3eb337b8b221800d'/>
<id>urn:sha1:b748c0e696602cd8371c875a3eb337b8b221800d</id>
<content type='text'>
Make scripts more future-proof by importing most __future__ stuff.

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

llvm-svn: 349504
</content>
</entry>
<entry>
<title>Portable Python script across Python version</title>
<updated>2018-12-18T16:04:21+00:00</updated>
<author>
<name>Serge Guelton</name>
<email>sguelton@quarkslab.com</email>
</author>
<published>2018-12-18T16:04:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=d458974c454ee977dc0bd3b9f1116df7d4037ab2'/>
<id>urn:sha1:d458974c454ee977dc0bd3b9f1116df7d4037ab2</id>
<content type='text'>
In Python3, dict.items, dict.keys, dict.values, zip, map and filter no longer return lists, they create generator instead.

The portability patch consists in forcing an extra `list` call if the result is actually used as a list.
`map` are replaced by list comprehension and `filter` by filtered list comprehension.

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

llvm-svn: 349501
</content>
</entry>
<entry>
<title>Portable Python script across Python version</title>
<updated>2018-12-18T08:38:50+00:00</updated>
<author>
<name>Serge Guelton</name>
<email>sguelton@quarkslab.com</email>
</author>
<published>2018-12-18T08:38:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=3744de522c3968b803b56f87e7272a05bb308001'/>
<id>urn:sha1:3744de522c3968b803b56f87e7272a05bb308001</id>
<content type='text'>
In Python2, division between integer yields an integer, while it yields a float in Python3.
Use a combination of from __future__ import division and // operator to get a portable behavior.

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

llvm-svn: 349455
</content>
</entry>
<entry>
<title>Portable Python script across Python version</title>
<updated>2018-12-18T08:36:33+00:00</updated>
<author>
<name>Serge Guelton</name>
<email>sguelton@quarkslab.com</email>
</author>
<published>2018-12-18T08:36:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=c0ebe773cd0fb301474430205c69440f9915d5b0'/>
<id>urn:sha1:c0ebe773cd0fb301474430205c69440f9915d5b0</id>
<content type='text'>
Using from __future__ import print_function it is possible to have a compatible behavior of `print(...)` across Python version.

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

llvm-svn: 349454
</content>
</entry>
<entry>
<title>Portable Python script across Python version</title>
<updated>2018-12-18T08:24:06+00:00</updated>
<author>
<name>Serge Guelton</name>
<email>sguelton@quarkslab.com</email>
</author>
<published>2018-12-18T08:24:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=c5d97e3e356632223fa07fced992ddcbb15abb5d'/>
<id>urn:sha1:c5d97e3e356632223fa07fced992ddcbb15abb5d</id>
<content type='text'>
Replace `xrange(...)` by either `range(...)` or `list(range(...))` depending on the context.

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

llvm-svn: 349448
</content>
</entry>
<entry>
<title>Portable Python script across Python version</title>
<updated>2018-12-03T12:41:35+00:00</updated>
<author>
<name>Serge Guelton</name>
<email>sguelton@quarkslab.com</email>
</author>
<published>2018-12-03T12:41:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=75394aa5bb0ca3fbf3a8cbff2fa40252b87b4c56'/>
<id>urn:sha1:75394aa5bb0ca3fbf3a8cbff2fa40252b87b4c56</id>
<content type='text'>
Python3 does not support type destructuring in function parameters.

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

llvm-svn: 348129
</content>
</entry>
<entry>
<title>Portable Python script across version</title>
<updated>2018-12-03T12:12:48+00:00</updated>
<author>
<name>Serge Guelton</name>
<email>sguelton@quarkslab.com</email>
</author>
<published>2018-12-03T12:12:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=09616bdb4a49d0dfe46cdec8a701ce50bf67eea7'/>
<id>urn:sha1:09616bdb4a49d0dfe46cdec8a701ce50bf67eea7</id>
<content type='text'>
Have all classes derive from object: that's implicitly the default in Python3,
it needs to be done explicilty in Python2.

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

llvm-svn: 348127
</content>
</entry>
<entry>
<title>Portable Python script across Python version</title>
<updated>2018-12-03T12:11:21+00:00</updated>
<author>
<name>Serge Guelton</name>
<email>sguelton@quarkslab.com</email>
</author>
<published>2018-12-03T12:11:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=3de410848c245d0b66697062234f2d6980583092'/>
<id>urn:sha1:3de410848c245d0b66697062234f2d6980583092</id>
<content type='text'>
Python2 supports the two following equivalent construct

	raise ExceptionType, exception_value
and
	raise ExceptionType(exception_value)

Only the later is supported by Python3.

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

llvm-svn: 348126
</content>
</entry>
<entry>
<title>Add back the ABITest makefiles</title>
<updated>2016-02-03T17:16:01+00:00</updated>
<author>
<name>Chris Bieneman</name>
<email>beanz@apple.com</email>
</author>
<published>2016-02-03T17:16:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=2e4c67299e46108b3c1c80b323a3e7e46132893e'/>
<id>urn:sha1:2e4c67299e46108b3c1c80b323a3e7e46132893e</id>
<content type='text'>
These files are standalone and not integrated with CMake, so we probably want them.

llvm-svn: 259667
</content>
</entry>
<entry>
<title>Remove autoconf support</title>
<updated>2016-01-26T21:30:40+00:00</updated>
<author>
<name>Chris Bieneman</name>
<email>beanz@apple.com</email>
</author>
<published>2016-01-26T21:30:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=2bf68c6c1cd47de381745bb94e6168d33334649a'/>
<id>urn:sha1:2bf68c6c1cd47de381745bb94e6168d33334649a</id>
<content type='text'>
Summary:
This patch is provided in preparation for removing autoconf on 1/26. The proposal to remove autoconf on 1/26 was discussed on the llvm-dev thread here: http://lists.llvm.org/pipermail/llvm-dev/2016-January/093875.html

    "This is the way [autoconf] ends
    Not with a bang but a whimper."
    -T.S. Eliot

Reviewers: chandlerc, grosbach, bob.wilson, echristo

Subscribers: klimek, cfe-commits

Differential Revision: http://reviews.llvm.org/D16472

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