Throw error if --generate-clang-profile is given without --no-pgo

Bug: http://b/37574207

Test: python toolchain/llvm/android/test_compiler.py
--generate-clang-profile --no-clean-built-target --build-only ./

Change-Id: Ia8563dd7ead0ab07dca49ce96319eae8889bbce7
diff --git a/test_compiler.py b/test_compiler.py
index 737efa7..35f34a5 100755
--- a/test_compiler.py
+++ b/test_compiler.py
@@ -136,7 +136,12 @@
         default=False,
         help='Do not use PGO profile to build stage2 Clang (defaults to False)')
 
-    return parser.parse_args()
+    args = parser.parse_args()
+    if args.profile and not args.no_pgo:
+        parser.error(
+            '--no-pgo must be specified along with --generate-clang-profile')
+
+    return args
 
 
 def link_clang(android_base, clang_path):