History log of /art/tools/generate-operator-out.py
Revision Date Author Comments
bf1fa2ccb5e7409910b99dc46b616e44c66ade68 09-Jun-2015 Sebastien Hertz <shertz@google.com> Follow up on CL 151605

- Fixes return type of StackedShadowFrameRecord::GetType
- Makes StackedShadowFrameType an enum class (scoped enum)
- Moves DeoptimizationReturnValueRecord and StackedShadowFrameRecord
to thread.cc file and use forward declaration in thread.h header
- Fixes tools/generate-operator-out.py for scoped enum classes.

Bug: 20845490

(cherry picked from commit f795869da0a1fa006fdcdacd8afb6149a63fc1a7)

Change-Id: I6b67e288b1db563699161e58ec2e2330d42dd8f5
6a3c1fcb4ba42ad4d5d142c17a3712a6ddd3866f 31-Oct-2014 Ian Rogers <irogers@google.com> Remove -Wno-unused-parameter and -Wno-sign-promo from base cflags.

Fix associated errors about unused paramenters and implict sign conversions.
For sign conversion this was largely in the area of enums, so add ostream
operators for the effected enums and fix tools/generate-operator-out.py.
Tidy arena allocation code and arena allocated data types, rather than fixing
new and delete operators.
Remove dead code.

Change-Id: I5b433e722d2f75baacfacae4d32aef4a828bfe1b
c2e02609a03da6abe7e97c7ef85c50368058a4df 14-Jul-2014 Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org> Make generate-operator-out.py compatible with Python 3.x

Adapt generate-operator-out.py to work with both Python 2.x (x >= 6)
and 3.x

Change-Id: I20f1b212069f368f3cf289dfd6b2aaee393cac68
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
833a48501d560c9fa7fc78ef619888138c2d374f 22-May-2014 Andreas Gampe <agampe@google.com> ART: Native support for multidex

Native support for zip files with multiple classesX.dex.

Works by explicitly looking for those files in ascending order. As
these files have no file system representation for themselves,
introduce synthetic dex locations: the name of the originating file
plus a colon plus the name of the dex file, e.g., test.jar:classes2.dex.

Opening a zip dex file will return all dex files in this way. This
keeps the changes to dex2oat minimal.

To hide multidex/synthetic names from the Java layer, let the handle
of dalvik.system.DexFile refer to a vector of DexFile objects. When
opening a location, test possible synthetic names and add them to the
vector. Thus, the original multidex jar in the classpath will be
associated with all embedded dex files.

Change-Id: I0de107e1369cbc94416c544aca3b17525c9eac8b
b48b9eb6d181a1f52e2e605cf26a21505f1d46ed 01-Mar-2014 Ian Rogers <irogers@google.com> Fix clang to compile and run host tests.

Don't use the computed goto interpreter with clang 3.4 as it causes compilation
to hang.
Avoid inclusion of LLVM_(HOST|DEVICE)_BUILD_MK except for with portable as it
sets clang incompatible cflags.
Most fixes are self-evident, for the quick dex file method inliner the enums
were being used with ostreams, so fix the enums and operator out python script
to allow this.
Note this change effects portable but this is untestable as portable was broken
by ELF file and mc linker changes.

Change-Id: Ia54348f6b1bd3f76d3b71c6e8c5f97626386b903
2248c17cd3483c030571cc6163a0e0870da998c2 06-Nov-2013 Chirayu Desai <cdesai@cyanogenmod.org> tools: use '/usr/bin/env python' instead of '/usr/bin/python'

* This is how it is done in other scripts in the AOSP tree, as
'/usr/bin/python' may be python3 on some distros, which isn't
supported yet.

Change-Id: I0d9857fc6a122f505953fddcd6244dad75b1838a
d320a9a7850fabd62329d5b287787c8e31d047cc 07-Oct-2013 Elliott Hughes <enh@google.com> Fix generate-operator-out.py's copyright header.

When I created this file I just copied the license from the first .py
file I came across, without noticing it wasn't the appropriate license.

Change-Id: I63ccec962a7a906a393a9889fdda35861d977e9c
7940e44f4517de5e2634a7e07d58d0fb26160513 12-Jul-2013 Brian Carlstrom <bdc@google.com> Create separate Android.mk for main build targets

The runtime, compiler, dex2oat, and oatdump now are in seperate trees
to prevent dependency creep. They can now be individually built
without rebuilding the rest of the art projects. dalvikvm and jdwpspy
were already this way. Builds in the art directory should behave as
before, building everything including tests.

Change-Id: Ic6b1151e5ed0f823c3dd301afd2b13eb2d8feb81
a9719eb4167b544438268d46692389761652fc5d 07-Jun-2012 Elliott Hughes <enh@google.com> Clean up the confusing comment-related logic a bit.

This still passes 034, but is a bit clearer because we get all comments
out of the way early on.

Change-Id: I580ebdca24a4a0738ee102536c8d5b076427264d
a91bc63a27a0201f58ced75ff85dcfe6a3d358c6 07-Jun-2012 Brian Carlstrom <bdc@google.com> Make generate-operator-out.py only skip // line comments

Change-Id: I5d279b735b383a901fd25034fdd9202c8e97582d
4825756c621ff709079ef3cd3f981e7036c0ebdb 07-Jun-2012 Elliott Hughes <enh@google.com> Auto-generate operator<< for enum ::art:Class::Status.

This requires a bit more work in the script to support
enums nested inside classes.

Change-Id: Id0e3561c3675214f74f47ac9f36ba82c41fa775d
08b82a99de4dfeb0a74b0922051f46516ca85398 05-Apr-2012 Elliott Hughes <enh@google.com> Don't explicitly request python2.4.

This is obsolete historical cruft.

Change-Id: I140a93ac04f5be0034812f90204e6f9ae36d2d5f
460384f04f933f94546db7bfbfa02896b9e77962 05-Apr-2012 Elliott Hughes <enh@google.com> Use the operator<< generator more widely.

Change-Id: Iae3b8f32f49f4c91cd41c53bbafb95db071d57bb
ef67aec56cfc8b43239027f8ddc331162eb103a1 04-Apr-2012 Elliott Hughes <enh@google.com> Fix the operator<< generation to work with "mmm" as well as "mm".

Change-Id: I457a74f1be68debfd351c63f282c3579c6becda2
0e57ccbbc2de9eeaeecd699575aab22a3f555619 04-Apr-2012 Elliott Hughes <enh@google.com> Start automatically generating operator<<s for enums.

Change-Id: I0f53db089b9a1ba38ce82b75ab22448877be67e0