On Tue, Mar 07, 2017 at 10:13:13PM +0100, Jesper Dangaard Brouer wrote: > On Tue, 7 Mar 2017 21:54:42 +0100 > Jesper Dangaard Brouer <[email protected]> wrote: > > > > I also suggest to replace it with 'llvm-objdump -h file.o' > > > since it prints the same info as 'readelf -SW' > > > but less verbose. > > > > Good idea to instead describe use of: > > 'llvm-objdump -h file.o' > > Fixed: > https://github.com/netoptimizer/prototype-kernel/commit/c5cf59ff9a9b > > https://prototype-kernel.readthedocs.io/en/latest/bpf/troubleshooting.html#elf-binary
looks good. Thanks! > $ llvm-objdump -triple bpf -d xdp_ddos01_blacklist_kern.o > > xdp_ddos01_blacklist_kern.o: file format ELF64-unknown > > LLVM ERROR: error: no disassembler for target bpf > > What other options can I use for LLVM 3.8.1, that can produce something? hmm. I don't have 3.8 around anymore. I guess it was fixed in 3.9 or 4.0 _______________________________________________ iovisor-dev mailing list [email protected] https://lists.iovisor.org/mailman/listinfo/iovisor-dev
