diff options
author | Lukas Larsson <[email protected]> | 2017-11-20 10:32:25 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2017-11-20 10:32:25 +0100 |
commit | 3b5fced77873fa6ee87a81a6162acf9d9f43c6de (patch) | |
tree | 44c92f6f39660dfef847c303b20fd260c6cd0f84 /lib/compiler/test | |
parent | f977d258d3e69da8ce0549f0a7bc3d8d9ccf82a6 (diff) | |
parent | d8d07a7593d811a6adad060951bc425ee0d81446 (diff) | |
download | otp-3b5fced77873fa6ee87a81a6162acf9d9f43c6de.tar.gz otp-3b5fced77873fa6ee87a81a6162acf9d9f43c6de.tar.bz2 otp-3b5fced77873fa6ee87a81a6162acf9d9f43c6de.zip |
Merge branch 'lukas/compiler/add_to_dis/OTP-14784' into maint
* lukas/compiler/add_to_dis/OTP-14784:
compiler: Add +to_dis option that dumps loaded asm
Diffstat (limited to 'lib/compiler/test')
-rw-r--r-- | lib/compiler/test/compile_SUITE.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/compiler/test/compile_SUITE.erl b/lib/compiler/test/compile_SUITE.erl index 5e35dc1d02..96897d612d 100644 --- a/lib/compiler/test/compile_SUITE.erl +++ b/lib/compiler/test/compile_SUITE.erl @@ -408,6 +408,7 @@ do_file_listings(DataDir, PrivDir, [File|Files]) -> ok = file:delete(filename:join(Listings, File ++ ".core")), do_listing(Simple, TargetDir, to_core, ".core"), do_listing(Simple, TargetDir, to_kernel, ".kernel"), + do_listing(Simple, TargetDir, to_dis, ".dis"), %% Final clean up. lists:foreach(fun(F) -> ok = file:delete(F) end, @@ -423,6 +424,7 @@ listings_big(Config) when is_list(Config) -> do_listing(Big, TargetDir, 'E'), do_listing(Big, TargetDir, 'P'), do_listing(Big, TargetDir, dkern, ".kernel"), + do_listing(Big, TargetDir, to_dis, ".dis"), TargetNoext = filename:rootname(Target, code:objfile_extension()), {ok,big} = compile:file(TargetNoext, [from_asm,{outdir,TargetDir}]), |