[llvm-commits] [llvm] r146692 - in /llvm/trunk/lib/Target/Hexagon: CMakeLists.txt Hexagon.h HexagonInstrInfo.cpp HexagonMCAsmInfo.cpp HexagonMCAsmInfo.h HexagonRegisterInfo.cpp HexagonSubtarget.cpp HexagonTargetMachine.cpp LLVMBuild.txt MCTargetDesc/ MCTargetDesc/CMakeLists.txt MCTargetDesc/HexagonMCAsmInfo.cpp MCTargetDesc/HexagonMCAsmInfo.h MCTargetDesc/HexagonMCTargetDesc.cpp MCTargetDesc/HexagonMCTargetDesc.h MCTargetDesc/LLVMBuild.txt MCTargetDesc/Makefile Makefile
Jakob Stoklund Olesen
stoklund at 2pi.dk
Thu Dec 15 15:39:34 PST 2011
On Dec 15, 2011, at 2:29 PM, Tony Linthicum wrote:
> Author: tlinth
> Date: Thu Dec 15 16:29:08 2011
> New Revision: 146692
>
> URL: http://llvm.org/viewvc/llvm-project?rev=146692&view=rev
> Log:
> Add MCTargetDesc library to Hexagon target
Hi Tony,
I am still seeing segfaults when trying to use the Hexagon target on OS X:
$ Release+Asserts/bin/llc -march=hexagon -mcpu=hexagonv4 < /d/g/llvm/test/CodeGen/Hexagon/combine.ll
0 llc 0x0000000105702e52 _ZL15PrintStackTracePv + 34
1 llc 0x0000000105703369 _ZL13SignalHandleri + 697
2 libsystem_c.dylib 0x00007fff91d2dcfa _sigtramp + 26
3 libsystem_c.dylib 0x0000000105d57258 _sigtramp + 18446603342462489976
4 llc 0x0000000104e4e745 llvm::HexagonTargetMachine::HexagonTargetMachine(llvm::Target const&, llvm::StringRef, llvm::StringRef, llvm::StringRef, llvm::TargetOptions, llvm::Reloc::Model, llvm::CodeModel::Model, llvm::CodeGenOpt::Level) + 325
5 llc 0x0000000104e4eb94 llvm::RegisterTargetMachine<llvm::HexagonTargetMachine>::Allocator(llvm::Target const&, llvm::StringRef, llvm::StringRef, llvm::StringRef, llvm::TargetOptions const&, llvm::Reloc::Model, llvm::CodeModel::Model, llvm::CodeGenOpt::Level) + 196
6 llc 0x0000000104de7724 main + 3044
7 llc 0x0000000104de6b34 start + 52
Stack dump:
0. Program arguments: Release+Asserts/bin/llc -march=hexagon -mcpu=hexagonv4
Segmentation fault: 11
If you don't have a Mac available, I would suggest that you try to figure out what the Hexagon target is doing different compared to the other targets when initializing the TargetMachine instance.
/jakob
More information about the llvm-commits
mailing list