Skip to content

Commit

Permalink
Fix VS2019 warnings in drcachesim (#2474)
Browse files Browse the repository at this point in the history
Updates DR to 1f40176ae to fix VS2019 warnings.
Sets AUTOMATED_TESTING to enable settings in the DR build.

Issue: DynamoRIO/dynamorio#5767
  • Loading branch information
derekbruening authored Dec 1, 2022
1 parent e3a787a commit d4b9a40
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dynamorio
Submodule dynamorio updated 52 files
+8 −1 CMakeLists.txt
+11 −3 clients/drcachesim/CMakeLists.txt
+1 −1 clients/drcachesim/common/gzip_istream.h
+2 −1 clients/drcachesim/common/gzip_ostream.h
+60 −0 clients/drcachesim/common/memtrace_stream.h
+2 −1 clients/drcachesim/common/trace_entry.cpp
+6 −0 clients/drcachesim/common/trace_entry.h
+1 −1 clients/drcachesim/common/zipfile_istream.h
+2 −1 clients/drcachesim/common/zipfile_ostream.h
+3 −2 clients/drcachesim/common/zlib_istream.h
+8 −7 clients/drcachesim/reader/compressed_file_reader.cpp
+4 −3 clients/drcachesim/reader/file_reader.cpp
+14 −5 clients/drcachesim/reader/reader.cpp
+6 −0 clients/drcachesim/reader/reader.h
+6 −6 clients/drcachesim/reader/record_file_reader.cpp
+14 −2 clients/drcachesim/reader/record_file_reader.h
+3 −2 clients/drcachesim/reader/snappy_file_reader.cpp
+3 −2 clients/drcachesim/reader/zipfile_file_reader.cpp
+2 −2 clients/drcachesim/simulator/cache_stats.h
+2 −0 clients/drcachesim/simulator/simulator.cpp
+ clients/drcachesim/tests/drmemtrace.simple_app.trace.zip
+43 −0 clients/drcachesim/tests/offline-cpu.templatex
+243 −20 clients/drcachesim/tests/record_filter_unit_tests.cpp
+1 −31 clients/drcachesim/tests/view_test.cpp
+108 −0 clients/drcachesim/tools/filter/cache_filter.cpp
+69 −0 clients/drcachesim/tools/filter/cache_filter.h
+1 −1 clients/drcachesim/tools/filter/null_filter.h
+94 −24 clients/drcachesim/tools/filter/record_filter.cpp
+34 −8 clients/drcachesim/tools/filter/record_filter.h
+111 −0 clients/drcachesim/tools/filter/type_filter.h
+73 −9 clients/drcachesim/tools/record_filter_launcher.cpp
+9 −8 clients/drcachesim/tracer/output.cpp
+3 −2 clients/drcachesim/tracer/raw2trace.cpp
+5 −3 clients/drcachesim/tracer/raw2trace.h
+3 −1 core/arch/aarch64/proc.c
+4 −3 core/arch/proc_api.h
+217 −32 core/ir/aarch64/codec.c
+74 −4 core/ir/aarch64/codec_sve.txt
+3 −0 core/ir/aarch64/codec_v83.txt
+1,067 −0 core/ir/aarch64/instr_create_api.h
+13 −2 core/ir/aarch64/opnd_defs.txt
+1 −1 ext/drwrap/drwrap.c
+1 −1 suite/runsuite.cmake
+16 −8 suite/tests/CMakeLists.txt
+3,932 −0 suite/tests/api/dis-a64-sve.txt
+128 −0 suite/tests/api/dis-a64.txt
+35 −0 suite/tests/api/ir_aarch64.c
+5 −0 suite/tests/api/ir_aarch64.expect
+26 −7 suite/tests/api/ir_aarch64.h
+3,412 −936 suite/tests/api/ir_aarch64_sve.c
+17 −61 suite/tests/api/ir_aarch64_v81.c
+139 −720 suite/tests/api/ir_aarch64_v82.c
3 changes: 2 additions & 1 deletion package.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# **********************************************************
# Copyright (c) 2010-2021 Google, Inc. All rights reserved.
# Copyright (c) 2010-2022 Google, Inc. All rights reserved.
# Copyright (c) 2009-2010 VMware, Inc. All rights reserved.
# **********************************************************

Expand Down Expand Up @@ -136,6 +136,7 @@ set(base_cache "
UNIQUE_BUILD_NUMBER:STRING=${arg_ubuild}
BUILD_TOOL_TESTS:BOOL=OFF
BUILDING_PACKAGE:BOOL=ON
AUTOMATED_TESTING:BOOL=ON
${sub_entry}
${arg_cacheappend}
${base_cache}
Expand Down
5 changes: 3 additions & 2 deletions tests/runsuite.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# **********************************************************
# Copyright (c) 2010-2020 Google, Inc. All rights reserved.
# Copyright (c) 2010-2022 Google, Inc. All rights reserved.
# Copyright (c) 2009-2010 VMware, Inc. All rights reserved.
# **********************************************************

Expand Down Expand Up @@ -213,7 +213,8 @@ endforeach ()


# i#1099: avoid absolute path complaint on package build step
set(base_cache "BUILDING_PACKAGE:BOOL=ON")
set(base_cache "BUILDING_PACKAGE:BOOL=ON
AUTOMATED_TESTING:BOOL=ON")

if (arg_travis AND WIN32)
# XXX i#1938: AppVeyor's MinGW g++ crashes for as-yet-unknown reasons.
Expand Down

0 comments on commit d4b9a40

Please sign in to comment.