<div dir="ltr"><a href="http://llvm-reviews.chandlerc.com/D960" target="_blank">http://llvm-reviews.chandlerc.com/D960</a><br><div><br></div><div>This patch creates a unified section list in the module which contains sections from the object file and possibly sections from the symbol vendor. GetSymtab() and other routines have been modified to (potentially) operate off that unified section list. Host/linux/Symbols.cpp will search in the various Linux-y spots for the split symbol files.</div>


<div><br></div><div>Using this patch I was able to debug a simple hello world app, set a breakpoint in vfprintf, and have it step through the glibc source. Had to do this to get my actual source file loaded as well:</div>


<div>    settings set target.source-map "/build/buildd/" "/home/mikesart/data/src/"<br></div><div><br></div><div>Only oddity right now is "target modules dump sections" is listing some of the modules twice, so I need to debug that before committing. I also haven't tested this on any platforms other than Linux, and I need to run through the unit tests. But I thought I'd throw this out for some high level review while doing all that.</div>


<div><br></div><div>Thanks to Greg for the help in getting this all worked out...</div><div> -Mike</div></div>