forked from OSchip/llvm-project
96918bc406
diagnostic that includes location information. Currently if one has this assembly: .quad (0x1234 + (4 * SOME_VALUE)) where SOME_VALUE is undefined ones gets the less than useful error message with no location information: % clang -c x.s clang -cc1as: fatal error: error in backend: expected relocatable expression With this fix one now gets a more useful error message with location information: % clang -c x.s x.s:5:8: error: expected relocatable expression .quad (0x1234 + (4 * SOME_VALUE)) ^ To do this I plumbed the SMLoc through the MCObjectStreamer EmitValue() and EmitValueImpl() interfaces so it could be used when creating the MCFixup. rdar://12391022 llvm-svn: 206906 |
||
---|---|---|
.. | ||
ARMAddressingModes.h | ||
ARMArchName.def | ||
ARMArchName.h | ||
ARMAsmBackend.cpp | ||
ARMBaseInfo.h | ||
ARMELFObjectWriter.cpp | ||
ARMELFStreamer.cpp | ||
ARMFixupKinds.h | ||
ARMMCAsmInfo.cpp | ||
ARMMCAsmInfo.h | ||
ARMMCCodeEmitter.cpp | ||
ARMMCExpr.cpp | ||
ARMMCExpr.h | ||
ARMMCTargetDesc.cpp | ||
ARMMCTargetDesc.h | ||
ARMMachORelocationInfo.cpp | ||
ARMMachObjectWriter.cpp | ||
ARMTargetStreamer.cpp | ||
ARMUnwindOpAsm.cpp | ||
ARMUnwindOpAsm.h | ||
CMakeLists.txt | ||
LLVMBuild.txt | ||
Makefile |