[PATCH] D30566: [ELF] - Do not try to create .eh_frame_hdr for relocatable output.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 6 08:27:44 PST 2017


ruiu added inline comments.


================
Comment at: ELF/Driver.cpp:230
+    if (Config->EhFrameHdr)
+      warn("--eh-frame-hdr is ignored when using -r");
+
----------------
Shouldn't we handle this as an error instead of a warning? All other incompatible combinations are handled as errors here.


https://reviews.llvm.org/D30566





More information about the llvm-commits mailing list