Skip to content

Some improvements #10

Open
Open
@tritao

Description

@tritao

Hey, just started playing with this library and wanted to document some issues/improvements.

  1. Shared objects are exporting all symbols, this makes them a lot larger than they need to be.
    Ideally non Dart public API symbols will be hidden (by using -fvisibility=hidden for instance).
0000000002580fd0 b _ZZNSt3__212_GLOBAL__N_14makeINS_8time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEJjEEERT_DpT0_E3buf
0000000002580ff0 b 
  1. Debug info could be split from the shared object using -gsplit-dwarf or by running separate commands after build (with strip and objcopy)

  2. Missing some include files like dart_tools_api.h, dart_native_api.h, dart_api_dl.h, dart_tools_api.h and dart_version.h

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions