Relocatable code generation is meaningless on MSP430, as the platform is too small to use shared libraries.
Details
Details
- Reviewers
asl - Commits
- rGa39eb26bd3f1: Disable PIC/PIE for MSP430 target
rC353877: Disable PIC/PIE for MSP430 target
rL353877: Disable PIC/PIE for MSP430 target
rG56bf7b56dcb2: Disable PIC/PIE for MSP430 target by default.
rL352181: Disable PIC/PIE for MSP430 target by default.
rC352181: Disable PIC/PIE for MSP430 target by default.
Diff Detail
Diff Detail
- Repository
- rC Clang
Event Timeline
Comment Actions
The patch was reverted – the test requires fully configured msp430 configuration and therefore was breaking the bots.
Comment Actions
What I noticed, this seems to introduce the first test case in test\CodeGen\MSP430 folder which uses clang. All the others use llc. Is it OK?
Comment Actions
Oh sorry, I looked in the wrong folder, my previous comment was not correct.
So, this patch adds a test to test\CodeGen when we have test\CodeGen\MSP430 folder.
And test\CodeGen does not have any tests now at all.
So I guess the correct way would probably be:
- To move the test to test\CodeGen\MSP430 folder.
- To make it use 'llc`.
Comment Actions
Ok, please ignore my comments above. I applied the patch and found it creates the test in llvm\tools\clang\test\CodeGen and not in llvm\test\CodeGen. Was confused by phab, sorry for the noise.