Add helpers to create JitDebug and DexFiles.

These helpers will make it easier to replace the
implementation without affecting users of the classes.

The helpers take the arch, which ensures it is set and
it allows to return templated variant based on the arch.

Test: art/test.py -r -b --host -t 137-cfi
Test: libunwindstack_test
Change-Id: I6e09ce29e39faa57c95fc8a3e86f2260bf91a76e
8 files changed
tree: 787db46db092526de0ca9f393c8210c672732804
  1. libbacktrace/
  2. libunwindstack/
  3. Android.bp
  4. OWNERS
  5. PREUPLOAD.cfg