This is an archive of the discontinued LLVM Phabricator instance.

[compiler-rt] Change the CMake build to generate full debugging info when COMPILER_RT_DEBUG=ON
ClosedPublic

Authored by kubamracek on Dec 22 2014, 3:37 PM.

Details

Reviewers
samsonov
Summary

The compiler-rt CMake build currently uses -gline-tables-only for all builds. While this makes the debugger correctly map source files, debugging of the runtime libraries in general is pretty tough, because you don't see any local variables, parameters, etc. Let's allow emitting full debugging info by setting COMPILER_RT_DEBUG=ON.

Diff Detail

Event Timeline

kubamracek updated this revision to Diff 17575.Dec 22 2014, 3:37 PM
kubamracek retitled this revision from to [compiler-rt] Change the CMake build to generate full debugging info when COMPILER_RT_DEBUG=ON.
kubamracek updated this object.
kubamracek edited the test plan for this revision. (Show Details)
kubamracek added subscribers: Unknown Object (MLST), samsonov, kcc, glider.
samsonov accepted this revision.Dec 22 2014, 5:30 PM
samsonov added a reviewer: samsonov.

LGTM

This revision is now accepted and ready to land.Dec 22 2014, 5:30 PM
kubamracek closed this revision.Dec 22 2014, 5:54 PM

Landed in r224749.