From b14c67fd89e8393f77831d1e0e17ecff6dda8968 Mon Sep 17 00:00:00 2001 From: Emily Grace Seville Date: Mon, 14 Feb 2022 03:43:27 -0800 Subject: [PATCH] nm: update page (#7758) --- pages/common/nm.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pages/common/nm.md b/pages/common/nm.md index 60cf6137e..b723010f7 100644 --- a/pages/common/nm.md +++ b/pages/common/nm.md @@ -1,19 +1,20 @@ # nm > List symbol names in object files. +> More information: . - List global (extern) functions in a file (prefixed with T): -`nm -g {{file.o}}` +`nm -g {{path/to/file.o}}` - List only undefined symbols in a file: -`nm -u {{file.o}}` +`nm -u {{path/to/file.o}}` - List all symbols, even debugging symbols: -`nm -a {{file.o}}` +`nm -a {{path/to/file.o}}` - Demangle C++ symbols (make them readable): -`nm --demangle {{file.o}}` +`nm --demangle {{path/to/file.o}}`