diff options
| author | Mark Wielaard <[email protected]> | 2022-05-10 15:22:32 +0200 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2022-05-10 15:22:32 +0200 |
| commit | e06d1d2530fa5d7eb898f3114d282bd196315d55 (patch) | |
| tree | 1db2efd48765f9dc4c7e72abd936f860c1a9c9c5 /libcpu | |
| parent | e00652f54afca62c5facbaddebe21012acd43386 (diff) | |
| parent | 059e690e896e37c16774047bd1fd0c9e608545b8 (diff) | |
Merge tag 'elfutils-0.187' into mjw/RH-DTSupstream/mjw/RH-DTS
elfutils 0.187 release
Diffstat (limited to 'libcpu')
| -rw-r--r-- | libcpu/ChangeLog | 5 | ||||
| -rw-r--r-- | libcpu/Makefile.am | 10 |
2 files changed, 14 insertions, 1 deletions
diff --git a/libcpu/ChangeLog b/libcpu/ChangeLog index 7cca9419..48fbba19 100644 --- a/libcpu/ChangeLog +++ b/libcpu/ChangeLog @@ -1,3 +1,8 @@ +2021-12-04 Mark Wielaard <[email protected]> + + * Makefile.am (GENDIS_ENV): New variable, depends on + USE_ADDRESS_SANITIZER. + 2020-12-20 Dmitry V. Levin <[email protected]> * .gitignore: New file. diff --git a/libcpu/Makefile.am b/libcpu/Makefile.am index c8e94507..b1a3bce4 100644 --- a/libcpu/Makefile.am +++ b/libcpu/Makefile.am @@ -61,8 +61,16 @@ noinst_HEADERS += memory-access.h i386_parse.h i386_data.h noinst_PROGRAMS = i386_gendis$(EXEEXT) +# i386_gendis doesn't clean up, ignore leaks. +# It is just a build tool to generate source in maintainer mode. +if USE_ADDRESS_SANITIZER +GENDIS_ENV=env ASAN_OPTIONS=detect_leaks=0 +else +GENDIS_ENV= +endif + $(srcdir)/%_dis.h: %_defs i386_gendis$(EXEEXT) - $(AM_V_GEN)./i386_gendis$(EXEEXT) $< > $@T + $(AM_V_GEN) $(GENDIS_ENV) ./i386_gendis$(EXEEXT) $< > $@T $(AM_V_at)mv -f $@T $@ else |
