inglorion added a comment.

Checking for linux when really you want to check for ELF doesn't seem right. In 
this case, I think there is an better way to do it; instead of relying on 
llvm-objdump, could you emit an LLVM assembly file and check that for presence 
of the string you want? I think if you compile with clang -g -S -emit-llvm, it 
will give you LLVM assembly with metadata for the records you need and you 
won't need to generate an object file.


https://reviews.llvm.org/D30591



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to