1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/lib/DebugInfo/PDB
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
..
DIA [DebugInfoPDB] Add DIA implementations of findSymbolByRVA and findSymbolByAddr 2018-04-10 17:33:18 +00:00
Native [codeview] Use push_macro to avoid conflicts instead of a prefix 2018-08-16 17:34:31 +00:00
CMakeLists.txt Minor no-op cmake file style fix. 2018-04-04 00:50:22 +00:00
GenericError.cpp [NFC] fix trivial typos in comments and error message 2018-04-09 04:37:53 +00:00
IPDBSourceFile.cpp
LLVMBuild.txt
PDB.cpp Don't #include MemoryBuffer.h from Host.h. 2017-11-17 01:00:35 +00:00
PDBContext.cpp
PDBExtras.cpp [DebugInfoPDB] Add a few missing definitions to PDBTypes.h 2018-04-03 19:41:27 +00:00
PDBInterfaceAnchors.cpp [DIA] Add IPDBSectionContrib interfaces and DIA implementation 2018-03-22 04:08:15 +00:00
PDBSymbol.cpp
PDBSymbolAnnotation.cpp
PDBSymbolBlock.cpp
PDBSymbolCompiland.cpp [PDB] Remove dead code and run clang format; NFC 2018-04-10 15:25:04 +00:00
PDBSymbolCompilandDetails.cpp
PDBSymbolCompilandEnv.cpp
PDBSymbolCustom.cpp
PDBSymbolData.cpp [DebugInfoPDB] Add methods to get the compiland and line numbers with PDBSymbolData 2018-03-26 22:17:12 +00:00
PDBSymbolExe.cpp
PDBSymbolFunc.cpp [PDB] Add exclusive methods to derived symbol class 2018-03-19 21:18:39 +00:00
PDBSymbolFuncDebugEnd.cpp
PDBSymbolFuncDebugStart.cpp
PDBSymbolLabel.cpp
PDBSymbolPublicSymbol.cpp
PDBSymbolThunk.cpp
PDBSymbolTypeArray.cpp Remove redundant includes from lib/DebugInfo. 2017-12-13 21:30:49 +00:00
PDBSymbolTypeBaseClass.cpp
PDBSymbolTypeBuiltin.cpp
PDBSymbolTypeCustom.cpp
PDBSymbolTypeDimension.cpp
PDBSymbolTypeEnum.cpp Remove redundant includes from lib/DebugInfo. 2017-12-13 21:30:49 +00:00
PDBSymbolTypeFriend.cpp
PDBSymbolTypeFunctionArg.cpp
PDBSymbolTypeFunctionSig.cpp Fix pretty printing the unspecified param of a variadic function 2018-01-17 01:22:03 +00:00
PDBSymbolTypeManaged.cpp
PDBSymbolTypePointer.cpp
PDBSymbolTypeTypedef.cpp
PDBSymbolTypeUDT.cpp Remove redundant includes from lib/DebugInfo. 2017-12-13 21:30:49 +00:00
PDBSymbolTypeVTable.cpp
PDBSymbolTypeVTableShape.cpp
PDBSymbolUnknown.cpp
PDBSymbolUsingNamespace.cpp
PDBSymDumper.cpp
UDTLayout.cpp