[PATCH] D42712: [utils] Add utils/update_cc_test_checks.py

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 2 09:39:03 PST 2018


MaskRay marked 2 inline comments as done.
MaskRay added inline comments.


================
Comment at: utils/update_cc_test_checks.py:60
+    # Note -test-print-mangle does not print file names so if #include is used,
+    # the line number may come from an included file.
+    ret[int(line)-1] = (spell, mangled)
----------------
arichardson wrote:
> If I add the following lines here the script works on MacOS:
> ```
>     if mangled == "_" + spell:
>       # HACK for MacOS (where the mangled name includes an _ for C but the IR won't):
>       mangled = spell
> ```
Thanks! Applied the hack


Repository:
  rL LLVM

https://reviews.llvm.org/D42712





More information about the llvm-commits mailing list