This is an archive of the discontinued LLVM Phabricator instance.

driver: enable -use-dwarf-debug-flags
Needs ReviewPublic

Authored by compnerd on Mar 24 2014, 9:46 PM.

Details

Reviewers
echristo
Summary

This changes the default to embed the -cc1 flags into the emitted object files.

Diff Detail

Event Timeline

Test case?
Impact assessment? (how much does this grow LLVM's debug info by, for example?)

Not expecting it to be much, but hopefully you don't mean -cc1 options but rather "options passed to the compiler"?

What's going on with this? I'm not against the idea, but it needs testing and an answer to my question :)

Wow, I completely forgot about this patch. Yes, I mean the options passed to the compiler. Ill certainly add a test case.

compnerd updated this revision to Diff 16532.Nov 22 2014, 9:12 PM
compnerd edited edge metadata.

As for the question on the size difference:

@dblakie, the overall build is nearly 1M larger (I forgot to measure the size of the binary itself, if thats what you were interested in).