[llvm] [AArch64] Refactor @plt, @gotpcrel, and @AUTH to use parseDataExpr (PR #134202)

Devon Loehr via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 8 13:42:05 PDT 2025


DKLoehr wrote:

I'm not sure because I haven't been able to reproduce locally (cross-compiling), but I suspect this might be causing failures building chromium. Apologies if this is ends up being the wrong change. We get the following output ([example failed build](https://ci.chromium.org/ui/p/chromium/builders/ci/ToTMac%20(dbg)/36051/overview)).:
```
../../third_party/boringssl/src/gen/bcm/p256-armv8-asm-apple.S:1160:25: error: unexpected token in argument list
 adrp x23,Lone_mont at PAGE-64
                        ^
../../third_party/boringssl/src/gen/bcm/p256-armv8-asm-apple.S:1161:31: error: unexpected token in argument list
 add x23,x23,Lone_mont at PAGEOFF-64
                              ^
```

The source file in question can be viewed [here](https://source.chromium.org/chromium/chromium/src/+/main:third_party/boringssl/src/gen/bcm/p256-armv8-asm-apple.S;l=1160;drc=9bb8f779a7287dd11d02e25fe1a91e1d902d917e). I'm not familiar with this code, but it seems like it's complaining about the `-`. Is this supposed to be valid?

https://github.com/llvm/llvm-project/pull/134202


More information about the llvm-commits mailing list