[BPF] Replace fstream and sstream with line_iterator
authorFangrui Song <maskray@google.com>
Tue, 2 Apr 2019 16:15:46 +0000 (16:15 +0000)
committerFangrui Song <maskray@google.com>
Tue, 2 Apr 2019 16:15:46 +0000 (16:15 +0000)
commit83db88717bcaade1dc966205ffeb6aadae11ca76
tree45511bc2075e0031f3ae233c6e67853e94fa5d0d
parentc2b831fe1b551b78ec1c392f0a3d15a3351c1b8e
[BPF] Replace fstream and sstream with line_iterator

Summary: This makes libLLVMBPFCodeGen.so 1128 bytes smaller for my build.

Reviewers: yonghong-song

Reviewed By: yonghong-song

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D60117

llvm-svn: 357489
llvm/lib/Target/BPF/BTFDebug.cpp