OSDN Git Service

Fix "static initialization order fiasco" for the XCore Target.
authorMehdi Amini <mehdi.amini@apple.com>
Tue, 11 Oct 2016 18:22:41 +0000 (18:22 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Tue, 11 Oct 2016 18:22:41 +0000 (18:22 +0000)
commitd7177be746f97bde5e6cb91a0bd24dca4a44fd20
tree3b35110bd52b02cf8e353b0aa5475baab97cec1d
parentbe78316854c8dcbf3ea623266d74b90bf510110b
Fix "static initialization order fiasco" for the XCore Target.

I fixed all the other Targets in r283702, and interestingly the
sanitizers are only now "sometimes" catching this bug on the only
one I missed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@283914 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/XCore/Disassembler/XCoreDisassembler.cpp
lib/Target/XCore/MCTargetDesc/XCoreMCTargetDesc.cpp
lib/Target/XCore/MCTargetDesc/XCoreMCTargetDesc.h
lib/Target/XCore/TargetInfo/XCoreTargetInfo.cpp
lib/Target/XCore/XCoreAsmPrinter.cpp
lib/Target/XCore/XCoreTargetMachine.cpp