This is useful to omit the debug compilation dir when compiling assembly
files through the clang driver.
See https://bugs.llvm.org/show_bug.cgi?id=38050 for more details.
Differential D48988
Debug prefix map for machine code emission starsid on Jul 5 2018, 12:14 PM. Authored by
Details This is useful to omit the debug compilation dir when compiling assembly See https://bugs.llvm.org/show_bug.cgi?id=38050 for more details.
Diff Detail
Event Timeline
Comment Actions Simplify code.
In-place editing ensures we did not miss a place, and simplifies lifecycle The option is available only through llvm-mc and cc1as. All regression tests pass. [100%] Running the LLVM regression tests Testing Time: 171.72s Expected Passes : 25615 Expected Failures : 149 Unsupported Tests : 667 Comment Actions Some minor things. clang-format-diff is your friend. :-)
Comment Actions LGTM. If you have the interest and knowledge to automate clang-format-diff with arcanist, I'm sure there are many people who would be very happy to see a patch. I don't use arcanist but I know others do. Comment Actions Thank you. I do not have write permissions for the repo, so will you please commit this for me. For the linter, I have sent D49116 to you. |
This looks longer than 80 columns. clang-format-diff will fix this kind of thing for you.
Or use a typedef for the map.