diff options
author | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2013-12-03 18:43:30 +0100 |
---|---|---|
committer | Björn Gustavsson <bjorn@erlang.org> | 2013-12-18 10:26:55 +0100 |
commit | 18315c1675d965e5d0210a560e4742c483fcfd7f (patch) | |
tree | 4e4df6bac52607dd21840498fff9256ab0e0607c /lib/compiler/test/compile_SUITE.erl | |
parent | 3ee4bd41cdebf355447571fc9cb10b4fe5132ad9 (diff) | |
download | otp-18315c1675d965e5d0210a560e4742c483fcfd7f.tar.gz otp-18315c1675d965e5d0210a560e4742c483fcfd7f.tar.bz2 otp-18315c1675d965e5d0210a560e4742c483fcfd7f.zip |
Officially support building assembler files
erlc is wired to treat *.S files as assembler and build them as
compile:file(File, [from_asm]), but this is not documented. There's also
a documented compile:file/2 option called 'asm' (mapping to 'from_asm'),
but the wording discourages its use. All of this has been in place and
in use for a long time. Therefore, it should be supported officially.
To fix that, make the following changes:
* document erlc handling of *.core files
* un-document 'asm' and document 'from_asm' instead
* deprecate 'asm'
While at it, fix a minor typo in the test suite.
Diffstat (limited to 'lib/compiler/test/compile_SUITE.erl')
-rw-r--r-- | lib/compiler/test/compile_SUITE.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/compiler/test/compile_SUITE.erl b/lib/compiler/test/compile_SUITE.erl index 1dc1ddb653..4ec75d015e 100644 --- a/lib/compiler/test/compile_SUITE.erl +++ b/lib/compiler/test/compile_SUITE.erl @@ -769,8 +769,8 @@ do_core({M,A}, Outdir) -> error end. -%% Compile to Beam assembly language (.S) and the try to -%% run .S throught the compiler again. +%% Compile to Beam assembly language (.S) and then try to +%% run .S through the compiler again. asm(Config) when is_list(Config) -> ?line Dog = test_server:timetrap(test_server:minutes(20)), |