diff options
author | Magnus Lång <[email protected]> | 2016-05-18 18:59:24 +0200 |
---|---|---|
committer | Magnus Lång <[email protected]> | 2016-05-18 19:08:01 +0200 |
commit | 8914b835d26cc3b513eaef0a19cd9b39d1d2ccae (patch) | |
tree | ddb97b78dd773e3dbfcc137ef950fe849145000e /lib/hipe/llvm/Makefile | |
parent | ea308bc26d4664705895ff3be31687dc5235cc79 (diff) | |
download | otp-8914b835d26cc3b513eaef0a19cd9b39d1d2ccae.tar.gz otp-8914b835d26cc3b513eaef0a19cd9b39d1d2ccae.tar.bz2 otp-8914b835d26cc3b513eaef0a19cd9b39d1d2ccae.zip |
hipe_llvm: Move elf_format.hrl types to module
Named types, except those for the records in the header files, have been
moved from elf*_format.hrl to elf_format.erl.
Also:
* Use lists instead of element/2-indexed tuples for ELF section and
symbol tables.
* Enable +warn_export_vars for hipe/llvm/ subdirectory and fix warning.
* Extract duplicated code in hipe_llvm module into help function
pp_dereference_type/3.
Diffstat (limited to 'lib/hipe/llvm/Makefile')
-rw-r--r-- | lib/hipe/llvm/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/hipe/llvm/Makefile b/lib/hipe/llvm/Makefile index d172e37b02..25b47a580f 100644 --- a/lib/hipe/llvm/Makefile +++ b/lib/hipe/llvm/Makefile @@ -40,12 +40,12 @@ RELSYSDIR = $(RELEASE_PATH)/lib/hipe-$(VSN) # Target Specs # ---------------------------------------------------- ifdef HIPE_ENABLED -HIPE_MODULES = hipe_rtl_to_llvm \ +HIPE_MODULES = elf_format \ hipe_llvm \ - elf_format \ + hipe_llvm_liveness \ hipe_llvm_main \ hipe_llvm_merge \ - hipe_llvm_liveness + hipe_rtl_to_llvm else HIPE_MODULES = endif @@ -71,7 +71,7 @@ TARGET_FILES= $(MODULES:%=$(EBIN)/%.$(EMULATOR)) include ../native.mk -ERL_COMPILE_FLAGS += +inline #+warn_missing_spec +ERL_COMPILE_FLAGS += +inline +warn_export_vars #+warn_missing_spec # if in 32 bit backend define BIT32 symbol ARCH = $(shell echo $(TARGET) | sed 's/^\(x86_64\)-.*/64bit/') |