Eric Söderström
2014-Jul-05 19:25 UTC
[LLVMdev] producing .native.dbg files from test-suite
I see the test-suite makefiles include build rules for .native.dbg files. (which seem to be simply executables with debug info included). However, when running make in the test-suite directory no .native.dbg files are actually created. Everything else seems to be compiling just fine. Any idea what I need to do in order to get the executables with debug info to actually compile in the test-suite project? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140705/1c8e0bf6/attachment.html>
Eric, When I want debugging information in the test-suite executables, I normally just add -g to my OPTFLAGS variable. So I'll run something like: make -j6 ENABLE_OPTIMIZED=1 TEST=simple OPTFLAGS="-O3 -g" USE_REFERENCE_OUTPUT=1 ENABLE_HASHED_PROGRAM_OUTPUT=1 -Hal ----- Original Message -----> From: "Eric Söderström" <ericsoderstrom at gmail.com> > To: llvmdev at cs.uiuc.edu > Sent: Saturday, July 5, 2014 2:25:16 PM > Subject: [LLVMdev] producing .native.dbg files from test-suite > > > > I see the test-suite makefiles include build rules for .native.dbg > files. (which seem to be simply executables with debug info > included). However, when running make in the test-suite directory no > .native.dbg files are actually created. Everything else seems to be > compiling just fine. Any idea what I need to do in order to get the > executables with debug info to actually compile in the test-suite > project? > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >-- Hal Finkel Assistant Computational Scientist Leadership Computing Facility Argonne National Laboratory