[dfv2] Fix loader under ASAN

In DFv2 the loader is manually installed in the DriverHost. This means
it does not go through the normal process setup, and so DriverManager
must manually configure the loader for ASAN.

Also, the Compat driver should not be cloning the loader, as a clone of
the loader loses configuration information.  Instead, update the Compat
driver to use an unowned connection to the existing loader.

Now that the loader was updated to make blocking calls, the backing
loader in the tests are run on a separate thread.

Fixed: 105603
Change-Id: Ifc1b6089d86bf580ccace192b8770895bfae7f7f
Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/832781
Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com>
Fuchsia-Auto-Submit: David Gilhooley <dgilhooley@google.com>
Reviewed-by: Suraj Malhotra <surajmalhotra@google.com>
5 files changed
tree: 138d8da46de76dcf207ddbed6bfffefbe76659f1
  1. boards/
  2. build/
  3. bundles/
  4. docs/
  5. examples/
  6. products/
  7. scripts/
  8. sdk/
  9. src/
  10. third_party/
  11. tools/
  12. zircon/
  13. .clang-format
  14. .clang-tidy
  15. .editorconfig
  16. .git-blame-ignore-revs
  17. .gitattributes
  18. .gitignore
  19. .gitmodules
  20. .gn
  21. .ignore
  22. .style.yapf
  23. analysis_options.yaml
  24. AUTHORS
  25. BUILD.gn
  26. CODE_OF_CONDUCT.md
  27. CONTRIBUTING.md
  28. fuchsia.code-workspace
  29. LICENSE
  30. OWNERS
  31. PATENTS
  32. pyrightconfig.json
  33. README.md
  34. rustfmt.toml
README.md

Fuchsia

What is Fuchsia?

Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.

We expect everyone interacting with our project to respect our code of conduct.

Read more about Fuchsia's principles.

How can I build and run Fuchsia?

See Getting Started.

Where can I learn more about Fuchsia?

See fuchsia.dev.