fix undefined behavior triggered by fn inline test

LLVM destroys the string that we use to test if LLVM deleted the
inlined function.

Also fixed forgetting to initialize a buffer in std lib path detection.
1999f0daadAndrew Kelley committed on 4/13/2018, 3:10:17 PMparent0f652b4
2 files changedLine totals unavailable