[PATCH] D74784: [driver][darwin] Don't use -platform_version flag by default

dmajor via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 25 10:00:36 PST 2020


dmajor added a comment.

@steven_wu, ping, could you clarify about the tests please?

>> You should definitely add test for this change. The fact that you change all `-mlinker-version=400` to `-mlinker-version=0` but not change any CHECK lines means the change is definitely not tested :)
> 
> Can you elaborate on what you would like to see tested? I thought I _was_ updating the tests to match the code. The `-mlinker-version=0` lines check that we now use the old behavior by default, and the existing `-mlinker-version=520` lines in e.g. `darwin-ld-platform-version-macos.c` test that we still use the new behavior when requested.




Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74784/new/

https://reviews.llvm.org/D74784





More information about the cfe-commits mailing list