Sergey Kolesnik
Sergey Kolesnik

Reputation: 3630

LLDB analog for GDB "info sym"

Is there an analog command in LLDB to show current binary file where the symbol is located? In GDB it can be done with info sym command, like shown in this answer.

This is crucial for ODR violation checking.

Upvotes: 0

Views: 128

Answers (1)

Sergey Kolesnik
Sergey Kolesnik

Reputation: 3630

https://lldb.llvm.org/use/symbolication.html#id3 has a command just for that:
image lookup --address 0x100123aa3 --verbose The info about a file is shown even without --verbose option.

Upvotes: 1

Related Questions