]> granicus.if.org Git - clang/commit
[MachineOutliner] Make last of -moutline/-mno-outline win
authorJessica Paquette <jpaquette@apple.com>
Mon, 25 Jun 2018 17:27:51 +0000 (17:27 +0000)
committerJessica Paquette <jpaquette@apple.com>
Mon, 25 Jun 2018 17:27:51 +0000 (17:27 +0000)
commit9dee2b4694b92fbf366b5d322c48ad62c81d7b07
treec5a48989787b8ae0a016d4f08928f5122323e424
parent983e34e0d748161c2f8bb21dfedc62ae1ddefda7
[MachineOutliner] Make last of -moutline/-mno-outline win

The expected behaviour of command-line flags to clang is to have
the last of -m(whatever) and -mno-(whatever) win. The outliner
didn't do that. This fixes that and updates the test.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@335503 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains/Clang.cpp
test/Driver/aarch64-outliner.c