1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 12:43:36 +01:00
llvm-mirror/unittests/DebugInfo/CodeView
Reid Kleckner 0923ab105c [codeview] Use push_macro to avoid conflicts instead of a prefix
Summary:
This prefix was added in r333421, and it changed our dumper output to
say things like "CVRegEAX" instead of just "EAX". That's a functional
change that I'd rather avoid.

I tested GCC, Clang, and MSVC, and all of them support #pragma
push_macro. They don't issue warnings whem the macro is not defined
either.

I don't have a Mac so I can't test the real termios.h header, but I
looked at the termios.h sources online and looked for other conflicts.
I saw only the CR* macros, so those are the ones we work around.

Reviewers: zturner, JDevlieghere

Subscribers: hiraditya, llvm-commits

Differential Revision: https://reviews.llvm.org/D50851

llvm-svn: 339907
2018-08-16 17:34:31 +00:00
..
CMakeLists.txt Inline a few CMake variables into their only uses. 2018-05-14 19:23:31 +00:00
RandomAccessVisitorTest.cpp Remove redundant includes from unittests. 2017-12-13 21:31:05 +00:00
TypeHashingTest.cpp [CodeView] Add support for content hashing CodeView type records. 2017-12-05 23:08:58 +00:00
TypeIndexDiscoveryTest.cpp [codeview] Use push_macro to avoid conflicts instead of a prefix 2018-08-16 17:34:31 +00:00