erlang/otp — pull request #74 by gomoripeti (2013-09-10 19:48:07+00:00)
Title: Take compiler options from beam in cover:compile_beam

Similarly to cover compiling from source
(in this case some user specified compiler options are allowed)
when cover compiling from existing beam
take a filtered list of compiler options from the beamfile.
This way e.g. export_all can be preserved. See use case in eb02beb1c3