I've set a breakpoint in one of the .h files which has an implementation of a small method,
(gdb) break SmallVector.h:141
And here is what I got from gdb:
Breakpoint 5 at 0x416312: SmallVector.h:141. (38 locations)
Why is the breakpoint set in 38 locations instead of a single location?
I'm not new to debugging as well as C++ but unfortunately I've never worked with anything complex like I'm working now (compiler). So I've never encountered anything like this before.
Any help is appreciated.
inline
a method, it still can based on the analysis it has conducted. Am I correct? – flashburninline
keyword is merely a hint; It is rarely considered seriously by the compiler. – Iwillnotexist Idonotexist