https://bugs.llvm.org/show_bug.cgi?id=44198

            Bug ID: 44198
           Summary: Report invalid -z flags as errors
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: ELF
          Assignee: unassignedb...@nondot.org
          Reporter: pho...@chromium.org
                CC: llvm-bugs@lists.llvm.org, peter.sm...@linaro.org

We've noticed that lld currently ignores invalid -z flags: one of our
developers accidentally used -Wl,-z,stack_size=0x1000 instead of
-Wl,-z,stack-size=0x1000 and it took us a while to figure out why the flag
isn't taking effect.

This makes us concerned that there may be other -Wl,-z flags that _appear_ to
be set, but are not actually spelled correctly. It'd be useful to detect
invalid -z flags as errors to catch these cases.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to