Hello, I notice that the program compiled by llvm-trunk compiler can't run correctly on hexagon-sim. The problem may caused by unimplemented backend applyFixup function. void applyFixup(MCFixup const & /*Fixup*/, char * /*Data*/, unsigned /*DataSize*/, uint64_t /*Value*/, bool /*IsPCRel*/) const override { return; } Best regards, Mingjie
On 4/13/2016 3:24 AM, Mingjie Xing via llvm-dev wrote:> > I notice that the program compiled by llvm-trunk compiler can't run > correctly on hexagon-sim. The problem may caused by unimplemented > backend applyFixup function.That function is implemented. See lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp -Krzysztof -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
Indeed. The patch is submitted on 3/22/2016. I just forget to update svn these days. Sorry. 2016-04-13 22:02 GMT+08:00 Krzysztof Parzyszek via llvm-dev <llvm-dev at lists.llvm.org>:> On 4/13/2016 3:24 AM, Mingjie Xing via llvm-dev wrote: >> >> >> I notice that the program compiled by llvm-trunk compiler can't run >> correctly on hexagon-sim. The problem may caused by unimplemented >> backend applyFixup function. > > > That function is implemented. See > lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp > > -Krzysztof > > -- > Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by > The Linux Foundation > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev