ATTACHING:
--attach-name <name> Tells the debugger to attach to a process with the given name.
-n <value> Alias for --attach-name
--attach-pid <pid> Tells the debugger to attach to a process with the given pid.
-p <value> Alias for --attach-pid
--wait-for Tells the debugger to wait for a process with the given pid or name to launch before attaching.
-w Alias for --wait-for
--local-lldbinit Allow the debugger to parse the .lldbinit files in the current working directory, unless --no-lldbinit is passed.
COMMANDS:
--source-before-file <file> Tells the debugger to read in and execute the lldb commands in the given file, before any file has been loaded.
--source <file> Tells the debugger to read in and execute the lldb commands in the given file, after any file has been loaded.
--source-quietly Tells the debugger not to echo commands while sourcing files or one-line commands provided on the command line.
OPTIONS:
--file <filename> Tells the debugger to use the file <filename> as the program to be debugged.
-f <value> Alias for --file
clang
-gdwarf-2 Generate source-level debug information with dwarf version 2
-gdwarf-3 Generate source-level debug information with dwarf version 3
-gdwarf-4 Generate source-level debug information with dwarf version 4
-gdwarf-5 Generate source-level debug information with dwarf version 5
-gdwarf32 Enables DWARF32 format for ELF binaries, if debug information emission is enabled.
-gdwarf64 Enables DWARF64 format for ELF binaries, if debug information emission is enabled.
-gdwarf Generate source-level debug information with the default dwarf version
-gembed-source Embed source text in DWARF debug sections
-gline-directives-only Emit debug line info directives only
-gline-tables-only Emit debug line number tables only
-gmodules Generate debug info with external references to clang modules or precompiled headers
-gno-embed-source Restore the default behavior of not embedding source text in DWARF debug sections
-gno-inline-line-tables Don't emit inline line tables.
-gsplit-dwarf=<value> Set DWARF fission mode to either 'split' or 'single'
-gz=<value> DWARF debug sections compression type
-G <size> Put objects of at most <size> bytes into small data section (MIPS / Hexagon)
-g Generate source-level debug information
标签:information,debugger,--,args,clang,source,lldb,file,debug
From: https://www.cnblogs.com/Searchor/p/17319274.html