Commit b3d87e1
committed
Add get_umf_debug_info.sh to print saved strings
Add the `get_umf_debug_info.sh` script to print saved strings.
It can be used with any user binary:
$ scripts/get_umf_debug_info.sh ./build/test/umf_test-base
./build/test/umf_test-base does not contain magic strings of the UMF library.
$ scripts/get_umf_debug_info.sh ./build/test/umf_test-ipc
./build/test/umf_test-ipc is statically linked with the UMF library.
Strings in /mnt/wsl/files/repos/unified-memory-framework/build/test/umf_test-ipc:
@(#) Intel(R) UMF version: 0.10.0-git4.gbf701ee8
@(#) Intel(R) UMF CMake variables: "CMAKE_BUILD_TYPE:Debug, ..."
$ scripts/get_umf_debug_info.sh ./build/test/umf_test-c_api_disjoint_pool
./build/test/umf_test-c_api_disjoint_pool is dynamically linked with the UMF library \
(/mnt/wsl/files/repos/unified-memory-framework/build/lib/libumf.so.0.10.0).
Strings in /mnt/wsl/files/repos/unified-memory-framework/build/lib/libumf.so.0.10.0:
@(#) Intel(R) UMF version: 0.10.0-git4.gbf701ee8
@(#) Intel(R) UMF CMake variables: "CMAKE_BUILD_TYPE:Debug, ..."
$ scripts/get_umf_debug_info.sh ./build/lib/libumf.so
./build/lib/libumf.so is the UMF library (/mnt/wsl/files/repos/unified-memory-framework/build/lib/libumf.so.0.10.0).
Strings in /mnt/wsl/files/repos/unified-memory-framework/build/lib/libumf.so.0.10.0:
@(#) Intel(R) UMF version: 0.10.0-git4.g806ce00c
@(#) Intel(R) UMF CMake variables: "CMAKE_BUILD_TYPE:Debug, ..."
Signed-off-by: Lukasz Dorau <[email protected]>1 parent ac9094d commit b3d87e1
2 files changed
+63
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
242 | 261 | | |
243 | 262 | | |
244 | 263 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
0 commit comments